Actions
Subtask #5889
closedteuthology ceph-deploy task fails on Centos -- possible packaging issue?
Status:
Duplicate
Priority:
Urgent
Assignee:
-
Category:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Running on Centos 6.3. The ceph-deploy task on teuthology generates the
following:
INFO:teuthology.task.install:Purging /var/lib/ceph on ubuntu@vpm035.front.sepia.ceph.com <type 'exceptions.StopIteration'> INFO:teuthology.task.internal:Duration was 110.914501 seconds INFO:teuthology.orchestra.run.out:[10.214.138.103]: kernel.core_pattern = core INFO:teuthology.orchestra.run.out:[10.214.138.108]: kernel.core_pattern = core INFO:teuthology.task.internal:Removing archive directory... INFO:teuthology.task.internal:Tidying up after the test... INFO:teuthology.run:Summary data: {duration: 110.91450095176697, failure_reason: 'ceph-deploy: Failed to install ceph', flavor: basic, owner: wusui@aardvark, success: false} INFO:teuthology.run:FAIL
Running ceph-deploy manually generates:
[vpm036.front.sepia.ceph.com][ERROR ] CalledProcessError: Command '['yum', '-y', '-q', 'install', 'ceph']' returned non-zero exit status 1 [vpm036.front.sepia.ceph.com][INFO ] You could try using --skip-broken to work around the problem [vpm036.front.sepia.ceph.com][INFO ] You could try running: rpm -Va --nofiles --nodigest [vpm036.front.sepia.ceph.com][ERROR ] Error: Package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 (centos6-qemu-local) [vpm036.front.sepia.ceph.com][ERROR ] Requires: libcephfs1 = 0.61.7-33.g7a1d6d3.el6 [vpm036.front.sepia.ceph.com][ERROR ] Installed: libcephfs1-0.67-rc3.109.g2e9c25f.el6.x86_64 (@Ceph) [vpm036.front.sepia.ceph.com][ERROR ] libcephfs1 = 0.67-rc3.109.g2e9c25f.el6 [vpm036.front.sepia.ceph.com][ERROR ] Available: libcephfs1-0.61.7-33.g7a1d6d3.el6.x86_64 (centos6-qemu-local) [vpm036.front.sepia.ceph.com][ERROR ] libcephfs1 = 0.61.7-33.g7a1d6d3.el6 [vpm036.front.sepia.ceph.com][INFO ] Running command: ceph --version [vpm036.front.sepia.ceph.com][ERROR ] Traceback (most recent call last): [vpm036.front.sepia.ceph.com][ERROR ] File "/home/wusui/src/ceph-deploy/ceph_deploy/hosts/common.py", line 12, in ceph_version [vpm036.front.sepia.ceph.com][ERROR ] File "/home/wusui/src/ceph-deploy/ceph_deploy/util/decorators.py", line 10, in inner [vpm036.front.sepia.ceph.com][ERROR ] File "/home/wusui/src/ceph-deploy/ceph_deploy/util/wrappers.py", line 6, in remote_call [vpm036.front.sepia.ceph.com][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 500, in check_call [vpm036.front.sepia.ceph.com][ERROR ] retcode = call(*popenargs, **kwargs) [vpm036.front.sepia.ceph.com][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 478, in call [vpm036.front.sepia.ceph.com][ERROR ] p = Popen(*popenargs, **kwargs) [vpm036.front.sepia.ceph.com][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__ [vpm036.front.sepia.ceph.com][ERROR ] errread, errwrite) [vpm036.front.sepia.ceph.com][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child [vpm036.front.sepia.ceph.com][ERROR ] raise child_exception [vpm036.front.sepia.ceph.com][ERROR ] OSError: [Errno 2] No such file or directory
Running the yum install manually generates:
--> Running transaction check ---> Package ceph.x86_64 0:0.61.7-33.g7a1d6d3.el6 will be installed --> Processing Dependency: librbd1 = 0.61.7-33.g7a1d6d3.el6 for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Processing Dependency: librados2 = 0.61.7-33.g7a1d6d3.el6 for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Processing Dependency: libcephfs1 = 0.61.7-33.g7a1d6d3.el6 for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Processing Dependency: python-lockfile for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Processing Dependency: librbd.so.1()(64bit) for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Processing Dependency: librados.so.2()(64bit) for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 --> Running transaction check ---> Package ceph.x86_64 0:0.61.7-33.g7a1d6d3.el6 will be installed --> Processing Dependency: libcephfs1 = 0.61.7-33.g7a1d6d3.el6 for package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 ---> Package librados2.x86_64 0:0.61.7-33.g7a1d6d3.el6 will be installed ---> Package librbd1.x86_64 0:0.61.7-33.g7a1d6d3.el6 will be installed ---> Package python-lockfile.noarch 0:0.8-3.el6 will be installed --> Finished Dependency Resolution Error: Package: ceph-0.61.7-33.g7a1d6d3.el6.x86_64 (centos6-qemu-local) Requires: libcephfs1 = 0.61.7-33.g7a1d6d3.el6 Installed: libcephfs1-0.67-rc3.109.g2e9c25f.el6.x86_64 (@Ceph) libcephfs1 = 0.67-rc3.109.g2e9c25f.el6 Available: libcephfs1-0.61.7-33.g7a1d6d3.el6.x86_64 (centos6-qemu-local) libcephfs1 = 0.61.7-33.g7a1d6d3.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
So I ran the following:
sudo yum downgrade libcephfs1 sudo yum install ceph
and ceph was happily installed.
Updated by Ian Colle over 10 years ago
- Assignee set to Anonymous
- Priority changed from Normal to Urgent
Gary, can you please take a look at this?
Updated by Tamilarasi muthamizhan over 10 years ago
Warren, this is expected of ceph-deploy. we need to make sure, we run install on a clean system, as ceph-deploy install doesn't try to downgrade.
we already have a feature bug #5769 for this.
Updated by Tamilarasi muthamizhan over 10 years ago
- Status changed from New to Duplicate
- Parent task set to #5769
Updated by Anonymous over 10 years ago
- Assignee changed from Anonymous to Anonymous
- Translation missing: en.field_remaining_hours set to 0.00
Updated by Anonymous over 10 years ago
- Assignee changed from Anonymous to Anonymous
- Estimated time set to 0:00 h
Actions