Bug #10591
closedMissing packages in upgrade:dumpling-dumpling-distro-basic-magna run
0%
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'
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" ?
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.
Updated by Zack Cerza over 9 years ago
Please link commits instead of just mentioning a hash:
https://github.com/ceph/ceph-qa-chef/commit/758a7c7b374633404babf1d1020d7ccd94e114de