Align the ceph repo key file name in CI scripts
[cta@jaro-dev-cc7 vmBootstrap (main)]$ ./bootstrapCTA.sh
[...]
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-ceph"
[cta@jaro-dev-cc7 vmBootstrap (main)]$ ll /etc/pki/rpm-gpg/
total 52
-rw-r--r--. 1 root root 1645 Oct 15 2015 RPM-ASC-KEY-ceph
-rw-r--r--. 1 root root 968 Nov 5 2020 RPM-GPG-KEY-ai
-rw-r--r--. 1 root root 1690 Nov 5 2020 RPM-GPG-KEY-CentOS-7
-rw-r--r--. 1 root root 1004 Nov 5 2020 RPM-GPG-KEY-CentOS-Debug-7
-rw-r--r--. 1 root root 1057 Aug 22 2016 RPM-GPG-KEY-CentOS-SIG-SCLo
-rw-r--r--. 1 root root 1690 Nov 5 2020 RPM-GPG-KEY-CentOS-Testing-7
-rw-r--r--. 1 root root 1564 Nov 5 2020 RPM-GPG-KEY-cern
-rw-r--r--. 1 root root 1722 May 21 2014 RPM-GPG-KEY-elrepo.org
-rw-r--r--. 1 root root 1662 Jul 12 2021 RPM-GPG-KEY-EPEL-7
-rw-r--r--. 1 root root 889 Nov 5 2020 RPM-GPG-KEY-EUGridPMA-RPM-3
-rw-r--r--. 1 root root 1784 Nov 5 2020 RPM-GPG-KEY-koji
-rw-r--r--. 1 root root 1406 Nov 5 2020 RPM-GPG-KEY-kojiv2
-rw-r--r--. 1 root root 1011 Jul 22 2014 RPM-GPG-KEY-oracle
In bootstrapCTA.sh
:
we may need to replace:
sudo wget https://download.ceph.com/keys/release.asc -O /etc/pki/rpm-gpg/RPM-ASC-KEY-ceph
with
sudo wget https://download.ceph.com/keys/release.asc -O /etc/pki/rpm-gpg/RPM-GPG-KEY-ceph
To stay consistent with the usage in the repo:
~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d-public/cta-ceph.repo
where we require:
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ceph