Discussion:
[ceph-users] Luminous or Mimic client on Debian Testing (Buster)
Hervé Ballans
2018-11-13 15:42:13 UTC
Permalink
Hi,

On my CephFS production cluster (Luminous 12.2.8), I would like to add a
CephFS client from a server installed with Debian Buster (Testing release).

But, the default proposed Ceph packages in this release are still Jewel :

# cat /etc/debian_version
buster/sid

# apt search ceph-common
Sorting... Done
Full Text Search... Done
ceph-common/testing 10.2.5-7.2 amd64
  common utilities to mount and interact with a ceph storage cluster

So, I tried to add another Ceph repository :

# echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc)
main | tee /etc/apt/sources.list.d/ceph.list
# apt update
...
Err:75 https://download.ceph.com/debian-luminous buster Release
  404  Not Found [IP: 158.69.68.124 443]
Reading package lists... Done
E: The repository 'https://download.ceph.com/debian-luminous buster
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.

The same for Mimic repository...

Has anyone succesfully installed a recent version of Ceph client in a
Debian Testing ?

Regards,
rv
Martin Verges
2018-11-13 17:07:53 UTC
Permalink
Hello,

unfortunately there is no such deb package at the moment.

However you could extract the sbin/mount.ceph command from the desired
version and copy the file into your debian buster installation. After
that you should be able to use the CephFS Kernel client from debian
buster.

I tried it on a test system and it worked without a problem.

=========
wget https://download.ceph.com/debian-luminous/pool/main/c/ceph/ceph-common_12.2.9-1~bpo90%2B1_amd64.deb
dpkg -x ceph-common_12.2.9-1~bpo90+1_amd64.deb ceph-common
cp ceph-common/sbin/mount.ceph /sbin/mount.ceph
rm -r ceph-common
mount.ceph X.X.X.X:6789:/ /mnt/ -o name=admin,secret=XXXXXXXXXXXXXXXXXXX
=========

--
Martin Verges
Managing director

Mobile: +49 174 9335695
E-Mail: ***@croit.io
Chat: https://t.me/MartinVerges

croit GmbH, Freseniusstr. 31h, 81247 Munich
CEO: Martin Verges - VAT-ID: DE310638492
Com. register: Amtsgericht Munich HRB 231263

Web: https://croit.io
YouTube: https://goo.gl/PGE1Bx
Post by Hervé Ballans
Hi,
On my CephFS production cluster (Luminous 12.2.8), I would like to add a
CephFS client from a server installed with Debian Buster (Testing release).
# cat /etc/debian_version
buster/sid
# apt search ceph-common
Sorting... Done
Full Text Search... Done
ceph-common/testing 10.2.5-7.2 amd64
common utilities to mount and interact with a ceph storage cluster
# echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc)
main | tee /etc/apt/sources.list.d/ceph.list
# apt update
...
Err:75 https://download.ceph.com/debian-luminous buster Release
404 Not Found [IP: 158.69.68.124 443]
Reading package lists... Done
E: The repository 'https://download.ceph.com/debian-luminous buster Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
The same for Mimic repository...
Has anyone succesfully installed a recent version of Ceph client in a Debian
Testing ?
Regards,
rv
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Martin Verges
2018-11-13 17:15:36 UTC
Permalink
This post might be inappropriate. Click to display it.
Hervé Ballans
2018-11-13 21:57:59 UTC
Permalink
Hi Martin,

Thank you a lot, this solution works perfecly !

rv
Post by Martin Verges
Hello,
unfortunately there is no such deb package at the moment.
However you could extract the sbin/mount.ceph command from the desired
version and copy the file into your debian buster installation. After
that you should be able to use the CephFS Kernel client from debian
buster.
I tried it on a test system and it worked without a problem.
=========
wget https://download.ceph.com/debian-luminous/pool/main/c/ceph/ceph-common_12.2.9-1~bpo90%2B1_amd64.deb
dpkg -x ceph-common_12.2.9-1~bpo90+1_amd64.deb ceph-common
cp ceph-common/sbin/mount.ceph /sbin/mount.ceph
rm -r ceph-common
mount.ceph X.X.X.X:6789:/ /mnt/ -o name=admin,secret=XXXXXXXXXXXXXXXXXXX
=========
--
Martin Verges
Managing director
Mobile: +49 174 9335695
Chat: https://t.me/MartinVerges
croit GmbH, Freseniusstr. 31h, 81247 Munich
CEO: Martin Verges - VAT-ID: DE310638492
Com. register: Amtsgericht Munich HRB 231263
Web: https://croit.io
YouTube: https://goo.gl/PGE1Bx
Post by Hervé Ballans
Hi,
On my CephFS production cluster (Luminous 12.2.8), I would like to add a
CephFS client from a server installed with Debian Buster (Testing release).
# cat /etc/debian_version
buster/sid
# apt search ceph-common
Sorting... Done
Full Text Search... Done
ceph-common/testing 10.2.5-7.2 amd64
common utilities to mount and interact with a ceph storage cluster
# echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc)
main | tee /etc/apt/sources.list.d/ceph.list
# apt update
...
Err:75 https://download.ceph.com/debian-luminous buster Release
404 Not Found [IP: 158.69.68.124 443]
Reading package lists... Done
E: The repository 'https://download.ceph.com/debian-luminous buster Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
The same for Mimic repository...
Has anyone succesfully installed a recent version of Ceph client in a Debian
Testing ?
Regards,
rv
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
v***@yourcmc.ru
2018-11-13 17:30:29 UTC
Permalink
This post might be inappropriate. Click to display it.
Hervé Ballans
2018-11-13 22:05:09 UTC
Permalink
Hi,

OK I hadn't thought that the Ubuntu packages were very close to Debian
anymore ! The solution given by Martin works and my issue is solved, but
I keep this option as an alternative...

Thanks,
rv
Post by v***@yourcmc.ru
Use Ubuntu bionic repository, Mimic installs without problem from there.
You can also build it yourself, all you need is to install gcc-7 and
other build dependencies, git clone, checkout 13.2.2 and say
`dpkg-buildpackage -j4`.
It takes some time, but overall it builds without issues, except a
small one - btrfs-tools should be replaced with btrfs-progs in
debian/control.
Post by Hervé Ballans
Hi,
On my CephFS production cluster (Luminous 12.2.8), I would like to add
a CephFS client from a server installed with Debian Buster (Testing
release).
# cat /etc/debian_version
buster/sid
# apt search ceph-common
Sorting... Done
Full Text Search... Done
ceph-common/testing 10.2.5-7.2 amd64
  common utilities to mount and interact with a ceph storage cluster
# echo deb https://download.ceph.com/debian-luminous/ $(lsb_release
-sc) main | tee /etc/apt/sources.list.d/ceph.list
# apt update
...
Err:75 https://download.ceph.com/debian-luminous buster Release
  404  Not Found [IP: 158.69.68.124 443]
Reading package lists... Done
E: The repository 'https://download.ceph.com/debian-luminous buster
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
The same for Mimic repository...
Has anyone succesfully installed a recent version of Ceph client in a
Debian Testing ?
Regards,
rv
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Loading...