pacific installation at ubuntu 20.04
Hi all, I'm a new ceph user and try to install my first cluster. I try to install pacific but as result I get octopus. What's wrong here? I've done: # curl --silent --remote-name --location https://github.com/ceph/ceph/raw/pacific/src/cephadm/cephadm # chmod +x cephadm # ./cephadm add-repo --release pacific # ./cephadm install # cephadm install ceph-common # ceph -v ceph version 15.2.11 (e3523634d9c2227df9af89a4eac33d16738c49cb) octopus (stable) # cat /etc/apt/sources.list.d/ceph.list deb https://download.ceph.com/debian-pacific/ focal main ?? Kind regards, Jana
I think, I found the reason. the cephadm-script uses the ubuntu repo instead the ceph repo. so I get the older version 15 ... root@node1:~# ./cephadm -v add-repo --release pacific Could not locate podman: podman not found Installing repo GPG key from https://download.ceph.com/keys/release.asc... Installing repo file at /etc/apt/sources.list.d/ceph.list... root@node1:~# ./cephadm -v install Could not locate podman: podman not found Installing packages ['cephadm']... Running command: apt-get install -y cephadm apt-get: Reading package lists... apt-get: Building dependency tree... apt-get: Reading state information... apt-get: Recommended packages: apt-get: docker.io apt-get: The following NEW packages will be installed: apt-get: cephadm apt-get: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. apt-get: Need to get 57.8 kB of archives. apt-get: After this operation, 303 kB of additional disk space will be used. apt-get: Get:1 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 cephadm amd64 15.2.11-0ubuntu0.20.04.2 [57.8 kB] apt-get: Fetched 57.8 kB in 0s (282 kB/s) apt-get: Selecting previously unselected package cephadm. (Reading database ... 71696 files and directories currently installed.) apt-get: (Reading database ... apt-get: Preparing to unpack .../cephadm_15.2.11-0ubuntu0.20.04.2_amd64.deb ... apt-get: Unpacking cephadm (15.2.11-0ubuntu0.20.04.2) ... apt-get: Setting up cephadm (15.2.11-0ubuntu0.20.04.2) ... apt-get: Adding system user cephadm....done any idea how to fix that? Am 2021-06-23 16:50, schrieb Jana Markwort:
Hi all, I'm a new ceph user and try to install my first cluster. I try to install pacific but as result I get octopus. What's wrong here?
I've done: # curl --silent --remote-name --location https://github.com/ceph/ceph/raw/pacific/src/cephadm/cephadm # chmod +x cephadm # ./cephadm add-repo --release pacific # ./cephadm install # cephadm install ceph-common # ceph -v ceph version 15.2.11 (e3523634d9c2227df9af89a4eac33d16738c49cb) octopus (stable)
# cat /etc/apt/sources.list.d/ceph.list deb https://download.ceph.com/debian-pacific/ focal main
??
Kind regards, Jana _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi, On 24.06.21 09:34, Jana Markwort wrote:
I think, I found the reason. the cephadm-script uses the ubuntu repo instead the ceph repo. so I get the older version 15 ...
root@node1:~# ./cephadm -v add-repo --release pacific Could not locate podman: podman not found Installing repo GPG key from https://download.ceph.com/keys/release.asc... Installing repo file at /etc/apt/sources.list.d/ceph.list...
root@node1:~# ./cephadm -v install Could not locate podman: podman not found
I think there is an "apt update" missing between these two steps. The first creates /etc/apt/sources.list.d/ceph.list and the second installs packages, but the repo list was never updated. Regards -- Robert Sander Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin https://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19 Amtsgericht Berlin-Charlottenburg - HRB 93818 B Geschäftsführer: Peer Heinlein - Sitz: Berlin
ok, the problem is the GPG key: root@node1:~# ./cephadm -v add-repo --release pacific Could not locate podman: podman not found Installing repo GPG key from https://download.ceph.com/keys/release.asc... Installing repo file at /etc/apt/sources.list.d/ceph.list... ... W: https://download.ceph.com/debian-pacific/dists/focal/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ceph.release.gpg are ignored as the file has an unsupported filetype. workaround: # rm /etc/apt/trusted.gpg.d/ceph.release.gpg # wget https://download.ceph.com/keys/release.asc # apt-key add release.asc # apt update after that, cephadm installs from https://download.ceph.com/debian-pacific root@node1:~# ceph -v ceph version 16.2.4 (3cbe25cde3cfa028984618ad32de9edc4c1eaed0) pacific (stable) Am 2021-06-24 13:08, schrieb Robert Sander:
Hi,
On 24.06.21 09:34, Jana Markwort wrote:
I think, I found the reason. the cephadm-script uses the ubuntu repo instead the ceph repo. so I get the older version 15 ...
root@node1:~# ./cephadm -v add-repo --release pacific Could not locate podman: podman not found Installing repo GPG key from https://download.ceph.com/keys/release.asc... Installing repo file at /etc/apt/sources.list.d/ceph.list...
root@node1:~# ./cephadm -v install Could not locate podman: podman not found
I think there is an "apt update" missing between these two steps.
The first creates /etc/apt/sources.list.d/ceph.list and the second installs packages, but the repo list was never updated.
Regards _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Jana Markwort
-
Robert Sander