Project

General

Profile

Actions

Bug #10591

closed

Missing packages in upgrade:dumpling-dumpling-distro-basic-magna run

Added by Yuri Weinstein over 9 years ago. Updated over 9 years ago.

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

0%

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

Description

Run http://pulpito.ceph.redhat.com/teuthology-2015-01-19_21:13:46-upgrade:dumpling-dumpling-distro-basic-magna/
Jobs ['29038', '29047', '29050', '29051', '29052', '29056', '29061']

Logs for one http://magna002.ceph.redhat.com/teuthology-2015-01-19_21:13:46-upgrade:dumpling-dumpling-distro-basic-magna/29038/

2015-01-20T13:14:59.809 INFO:teuthology.orchestra.run.magna008.stdout:The following packages have unmet dependencies:
2015-01-20T13:14:59.826 INFO:teuthology.orchestra.run.magna063.stdout:2 upgraded, 19 newly installed, 0 to remove and 83 not upgraded.
2015-01-20T13:14:59.837 INFO:teuthology.orchestra.run.magna063.stdout:Need to get 549 MB of archives.
2015-01-20T13:14:59.855 INFO:teuthology.orchestra.run.magna063.stdout:After this operation, 2,268 MB of additional disk space will be used.
2015-01-20T13:14:59.869 INFO:teuthology.orchestra.run.magna063.stdout:Get:1 http://gitbuilder.ceph.redhat.com/ceph-deb-precise-x86_64-basic/ref/v0.67.10/ precise/main librbd1 amd64 0.67.10-1precise [262 kB]
2015-01-20T13:14:59.883 INFO:teuthology.orchestra.run.magna008.stdout: libcephfs-java : Depends: libcephfs-jni but it is not going to be installed
2015-01-20T13:14:59.889 INFO:teuthology.orchestra.run.magna008.stderr:E: Unable to correct problems, you have held broken packages.
2015-01-20T13:14:59.930 ERROR:teuthology.parallel:Exception in parallel execution
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 82, in __exit__
    for result in self:
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 101, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 19, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 387, in _update_deb_package_list_and_install
    """ 
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 128, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 368, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 106, in wait
    exitstatus=status, node=self.hostname)
CommandFailedError: Command failed on magna008 with status 100: 'sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=0.67.10-1trusty ceph-dbg=0.67.10-1trusty ceph-mds=0.67.10-1trusty ceph-mds-dbg=0.67.10-1trusty ceph-common=0.67.10-1trusty ceph-common-dbg=0.67.10-1trusty ceph-fuse=0.67.10-1trusty ceph-fuse-dbg=0.67.10-1trusty ceph-test=0.67.10-1trusty ceph-test-dbg=0.67.10-1trusty radosgw=0.67.10-1trusty radosgw-dbg=0.67.10-1trusty python-ceph=0.67.10-1trusty libcephfs1=0.67.10-1trusty libcephfs1-dbg=0.67.10-1trusty libcephfs-java=0.67.10-1trusty librados2=0.67.10-1trusty librbd1=0.67.10-1trusty librados2=0.67.10-1trusty librados2-dbg=0.67.10-1trusty librbd1=0.67.10-1trusty librbd1-dbg=0.67.10-1trusty'
2015-01-20T13:14:59.972 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/contextutil.py", line 28, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 820, in install
    ],
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 571, in install_packages
    run.Raw('|'),
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 89, in __exit__
    raise
CommandFailedError: Command failed on magna008 with status 100: 'sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=0.67.10-1trusty ceph-dbg=0.67.10-1trusty ceph-mds=0.67.10-1trusty ceph-mds-dbg=0.67.10-1trusty ceph-common=0.67.10-1trusty ceph-common-dbg=0.67.10-1trusty ceph-fuse=0.67.10-1trusty ceph-fuse-dbg=0.67.10-1trusty ceph-test=0.67.10-1trusty ceph-test-dbg=0.67.10-1trusty radosgw=0.67.10-1trusty radosgw-dbg=0.67.10-1trusty python-ceph=0.67.10-1trusty libcephfs1=0.67.10-1trusty libcephfs1-dbg=0.67.10-1trusty libcephfs-java=0.67.10-1trusty librados2=0.67.10-1trusty librbd1=0.67.10-1trusty librados2=0.67.10-1trusty librados2-dbg=0.67.10-1trusty librbd1=0.67.10-1trusty librbd1-dbg=0.67.10-1trusty'
2015-01-20T13:15:00.013 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 55, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 1291, in task
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/teuthology_master/teuthology/contextutil.py", line 28, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 820, in install
    ],
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 571, in install_packages
    run.Raw('|'),
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 89, in __exit__
    raise
CommandFailedError: Command failed on magna008 with status 100: 'sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=0.67.10-1trusty ceph-dbg=0.67.10-1trusty ceph-mds=0.67.10-1trusty ceph-mds-dbg=0.67.10-1trusty ceph-common=0.67.10-1trusty ceph-common-dbg=0.67.10-1trusty ceph-fuse=0.67.10-1trusty ceph-fuse-dbg=0.67.10-1trusty ceph-test=0.67.10-1trusty ceph-test-dbg=0.67.10-1trusty radosgw=0.67.10-1trusty radosgw-dbg=0.67.10-1trusty python-ceph=0.67.10-1trusty libcephfs1=0.67.10-1trusty libcephfs1-dbg=0.67.10-1trusty libcephfs-java=0.67.10-1trusty librados2=0.67.10-1trusty librbd1=0.67.10-1trusty librados2=0.67.10-1trusty librados2-dbg=0.67.10-1trusty librbd1=0.67.10-1trusty librbd1-dbg=0.67.10-1trusty'
Actions #1

Updated by Zack Cerza over 9 years ago

I looked into this a bit and am confused: why is libcephfs-jni "not going to be installed" ?

Actions #2

Updated by Sandon Van Ness over 9 years ago

  • Status changed from New to 7
  • Assignee changed from Sandon Van Ness to Yuri Weinstein

I did some manual investigation in this and found because there was a newer version of ceph available on the main repo it had to be explicitly given. Command would work if I added libcephfs-jni to the list. Then checking sepia runs which worked even on trusty I had a bit of a wtf moment...

Then I realized it worked on sepia because we have a /etc/apt/preferences.d/ceph.pref that makes sure our gitbuilder takes precedence... Of course it was gitbuilder.ceph.com and thus the mirror (well actually proxy in this case) wasn't getting the extra preference. Since we are setting that with ceph-qa-chef I went ahead and updated ceph-qa-chef to include our redhat URL as well in commit:

758a7c7

This should be fixed now. When testing with a machine the command worked as expected and pulled in libcephfs-jni

Passing this back to yuri to see if we still see failures on magna. Glad to say all the rhel7 ones passed except one that got that weird 500 error when hitting the proxy.

Actions #3

Updated by Zack Cerza over 9 years ago

Actions #4

Updated by Yuri Weinstein over 9 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF