Project

General

Profile

Actions

Bug #8788

closed

Rhel 7 ceph=deploy v1.5.7 for firefly fails to retrieve correct package - install fails

Added by steve Anderson almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 &lt;node list redacted&gt;
[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 &lt;node list redacted&gt;
[ceph_deploy.install][DEBUG ] Installing testing on cluster ceph hosts &lt;node list redacted&gt;
[ceph_deploy.install][DEBUG ] Detecting platform for host &lt;node&gt; ...
root@&lt;node&gt; password:
[vsmcont1][DEBUG ] connected to host: &lt;node&gt;
[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

Actions #1

Updated by steve Anderson almost 10 years ago

After a yum-update -y this morning a new version of ceph-deploy was installed. this is version 1.5.8
this version works correctly with the repo and uses the correct el7 version from this repo. Installations of ceph across admin and ceph nodes are now completing without issues

This issue is now resolved and can be closed

Actions #2

Updated by Sage Weil almost 10 years ago

  • Project changed from Ceph to devops
Actions #3

Updated by Alfredo Deza almost 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF