]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: use release/autobuild .asc instead of .gpg for repo_gpgkey 70154/head
authorRedouane Kachach <rkachach@ibm.com>
Mon, 13 Jul 2026 09:43:11 +0000 (11:43 +0200)
committerRedouane Kachach <rkachach@ibm.com>
Mon, 13 Jul 2026 17:30:04 +0000 (19:30 +0200)
commitad5f74166413bfc8a2f376901bbd520e1d6e8bf4
tree9f801ba454c15614b322440d9722bc8540861eb5
parent06a65d4a054a10832c453a1ed617c5bf935ded7d
cephadm: use release/autobuild .asc instead of .gpg for repo_gpgkey

release.gpg no longer exists at download.ceph.com/keys/ (moved to
/keys/old/, last updated 2020-08-21). Only release.asc is current and
maintained. autobuild.gpg still resolves but is inconsistent with this
and could rot the same way.

repo_gpgkey() now returns the .asc URLs for both release and autobuild
keys. rpm --import and apt accept ASCII-armored keys directly, so no
other code changes are needed.

Fixes 404s seen in qa/workunits/cephadm/test_repos.sh and reported by
users running cephadm add-repo on current distros.

Fixes: https://tracker.ceph.com/issues/78179
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/cephadm/cephadmlib/packagers.py