Bug #8788
closedRhel 7 ceph=deploy v1.5.7 for firefly fails to retrieve correct package - install fails
0%
Description
OS: RHEL7 all packages update to latest
Ceph deploy version 1.5.7
issue:
Incorrect package download attempted when install is called via ceph-deploy for a new cluster buildout
repeatability : 100% - 'ceph install <node>'causes the issue below
criticality : cannot install Firefly release on RHEl 7 using ceph-deploy due to RPM missing, installer halts on error
[vsmcont1][DEBUG ] Retrieving http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm
[vsmcont1][WARNIN] curl: (22) The requested URL returned error: 404 Not Found
[vsmcont1][WARNIN] error: skipping http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm - transfer failed
the rpm ceph-release-1-0.el6.noarch.rpm is requested by ceph-deploy but isn't present in the location specified, however the package ceph-release-1-0.el7.noarch.rpm is present and i assume this is the correct version to be used for RHEL 7 - is there a workaround for this or a BKM on how to resolve ? I assume that ceph-deploy should have retrieved the el7 version of the rpm instead
this is same case for both production and --testing
See full log below
ceph-deploy install --testing <node list redacted>
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.7): /usr/bin/ceph-deploy install --testing <node list redacted>
[ceph_deploy.install][DEBUG ] Installing testing on cluster ceph hosts <node list redacted>
[ceph_deploy.install][DEBUG ] Detecting platform for host <node> ...
root@<node> password:
[vsmcont1][DEBUG ] connected to host: <node>
[vsmcont1][DEBUG ] detect platform information from remote host
[vsmcont1][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Red Hat Enterprise Linux Server 7.0 Maipo
[vsmcont1][INFO ] installing ceph on vsmcont1
[vsmcont1][INFO ] Running command: yum clean all
[vsmcont1][DEBUG ] Loaded plugins: product-id, subscription-manager
[vsmcont1][DEBUG ] Cleaning repos: ceph ceph-noarch rhel-7-server-openstack-5.0-debug-rpms
[vsmcont1][DEBUG ] : rhel-7-server-openstack-5.0-rpms
[vsmcont1][DEBUG ] : rhel-7-server-openstack-5.0-source-rpms
[vsmcont1][DEBUG ] : rhel-7-server-openstack-beta-debug-rpms
[vsmcont1][DEBUG ] : rhel-7-server-openstack-beta-rpms
[vsmcont1][DEBUG ] : rhel-7-server-openstack-beta-source-rpms
[vsmcont1][DEBUG ] : rhel-7-server-rh-common-rpms rhel-7-server-rpms
[vsmcont1][DEBUG ] : rhel-ha-for-rhel-7-server-rpms
[vsmcont1][DEBUG ] Cleaning up everything
[vsmcont1][INFO ] Running command: yum -y install wget
[vsmcont1][DEBUG ] Loaded plugins: product-id, subscription-manager
[vsmcont1][DEBUG ] Package wget-1.14-10.el7.x86_64 already installed and latest version
[vsmcont1][DEBUG ] Nothing to do
[vsmcont1][INFO ] Running command: rpm --import https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[vsmcont1][INFO ] Running command: rpm -Uvh --replacepkgs http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm
[vsmcont1][DEBUG ] Retrieving http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm
[vsmcont1][WARNIN] curl: (22) The requested URL returned error: 404 Not Found
[vsmcont1][WARNIN] error: skipping http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm - transfer failed
[vsmcont1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm -Uvh --replacepkgs http://ceph.com/rpm-testing/rhel7/noarch/ceph-release-1-0.el6.noarch.rpm
please let me know if you would like any further information regarding this bug
regards
Steve Anderson