Project

General

Profile

Actions

Bug #4768

closed

teuthology ": install task fails to install ceph on centos machines

Added by Tamilarasi muthamizhan about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
-
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

pasting the logs below,

test setup used: burnupi20, burnupi21

INFO:teuthology.run_tasks:Running task install...
INFO:teuthology.task.install:extra packages: []
DEBUG:teuthology.orchestra.run:Running [10.214.134.10]: 'sudo lsb_release -is'
DEBUG:teuthology.task.install:System to be installed: CentOS
DEBUG:teuthology.orchestra.run:Running [10.214.134.12]: 'sudo lsb_release -is'
DEBUG:teuthology.orchestra.run:Running [10.214.134.10]: 'lsb_release -sc'
DEBUG:teuthology.orchestra.run:Running [10.214.134.10]: 'arch'
DEBUG:teuthology.task.install:System to be installed: CentOS
DEBUG:teuthology.orchestra.run:Running [10.214.134.12]: 'lsb_release -sc'
INFO:teuthology.task.install:config is {'sha1': None, 'extra_packages': [], 'branch': 'next', 'flavor': 'basic', 'tag': None, 'wait_for_package': False, 'extras': None}
INFO:teuthology.task.install:Installing packages: ceph-debug, ceph-radosgw, ceph-test, ceph-devel, ceph, ceph-fuse, rest-bench, libcephfs_jni1, libcephfs1, python-ceph, librbd1, librados2 on remote rpm x86_64
DEBUG:teuthology.orchestra.run:Running [10.214.134.10]: 'lsb_release -rs'
DEBUG:teuthology.orchestra.run:Running [10.214.134.12]: 'arch'
INFO:teuthology.task.install:config is {'sha1': None, 'extra_packages': [], 'branch': 'next', 'flavor': 'basic', 'tag': None, 'wait_for_package': False, 'extras': None}
INFO:teuthology.task.install:Installing packages: ceph-debug, ceph-radosgw, ceph-test, ceph-devel, ceph, ceph-fuse, rest-bench, libcephfs_jni1, libcephfs1, python-ceph, librbd1, librados2 on remote rpm x86_64
DEBUG:teuthology.orchestra.run:Running [10.214.134.12]: 'lsb_release -rs'
DEBUG:teuthology.orchestra.run:Running [10.214.134.10]: 'sudo yum install http://gitbuilder.ceph.com/ceph-rpm-centos6-x86_64-basic/ref/next/noarch/ceph-release-1-0.el6.noarch.rpm -y'
DEBUG:teuthology.orchestra.run:Running [10.214.134.12]: 'sudo yum install http://gitbuilder.ceph.com/ceph-rpm-centos6-x86_64-basic/ref/next/noarch/ceph-release-1-0.el6.noarch.rpm -y'
INFO:teuthology.orchestra.run.err:
INFO:teuthology.orchestra.run.err:
INFO:teuthology.orchestra.run.err:Rpmdb checksum is invalid: pkg checksums: ceph-release-0:1-0.el6.noarch
ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/tamil/test_teuth_latest/teuthology/teuthology/contextutil.py", line 25, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/tamil/test_teuth_latest/teuthology/teuthology/task/install.py", line 390, in install
    install_packages(ctx, install_info, config)
  File "/home/tamil/test_teuth_latest/teuthology/teuthology/task/install.py", line 204, in install_packages
    ctx, remote, pkgs[system_type], config)
  File "/home/tamil/test_teuth_latest/teuthology/teuthology/parallel.py", line 88, in __exit__
    raise
CommandFailedError: Command failed on 10.214.134.10 with status 1: 'sudo yum install http://gitbuilder.ceph.com/ceph-rpm-centos6-x86_64-basic/ref/next/noarch/ceph-release-1-0.el6.noarch.rpm -y'

Actions #1

Updated by Ian Colle about 11 years ago

  • Priority changed from High to Urgent
Actions #2

Updated by Ian Colle almost 11 years ago

  • Priority changed from Urgent to High
Actions #3

Updated by Sage Weil almost 11 years ago

  • Priority changed from High to Urgent
Actions #4

Updated by Anonymous almost 11 years ago

  • Priority changed from Urgent to Immediate
Actions #5

Updated by Anonymous almost 11 years ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Sage Weil almost 11 years ago

[copied from #4890]

Warren, sounds like we should do 'yum clean all' in three places:

- right after we install the yum source rpm (in install.py)
- right before we remove it (in install.py cleanup)
- right before we remove extraneous src packages in nuke.py

If we have to do something manually on the machine we have failed. Any kick in the pants we might deliver should be done by nuke, and (if possible) done preemptively in the install or cleanup to avoid nuke in the first place... we should only need nuke if a job was interrupted at an inopportune time (like a machine reboot)

Actions #7

Updated by Anonymous almost 11 years ago

A version of this for final checkin is ready for review.

Actions #8

Updated by Anonymous almost 11 years ago

  • Assignee changed from Anonymous to Sage Weil
Actions #9

Updated by Sage Weil almost 11 years ago

  • Assignee changed from Sage Weil to Josh Durgin
Actions #10

Updated by Ian Colle almost 11 years ago

  • Status changed from Fix Under Review to In Progress
  • Assignee changed from Josh Durgin to Anonymous
Actions #11

Updated by Anonymous almost 11 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF