Project

General

Profile

Bug #15105

smithi004's rpm database is broken

Added by Kefu Chai about 8 years ago. Updated about 8 years ago.

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

0%

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

Description

2016-03-10T23:33:06.859 INFO:teuthology.orchestra.run.smithi004.stderr:Error: Package tuple ('python-cephfs', 'x86_64', '1', '10.0.4', '1840.g796331d.el7') could not be found in rpmdb

this problem repeated itsef on smithi004

actually, most of failed run in http://pulpito.ceph.com/joao-2016-03-11_01:39:17-rados:thrash-wip-joao-testing---basic-multi/ happened on smithi004, the same applies to http://pulpito.ceph.com/teuthology-2016-03-10_22:00:01-rados-jewel-distro-basic-smithi/ .

so we need to

$ cd /var/lib/rpm
$ rm -rf /var/lib/rpm/__db*
$ rpm --rebuilddb

History

#1 Updated by Kefu Chai about 8 years ago

just logon to smithi004 and rebuild the rpmdb.

then

# wget http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/sha1/740c52d65687a49b7956b17e9e88f513da4e68c2/noarch/ceph-release-1-0.el7.noarch.rpm
# yum -y localinstall ceph-release-1-0.el7.noarch.rpm
# yum install python-cephfs # didn't proceed
# yum install ceph-radosgw # didn't proceed
# rm /etc/yum.repos.d/ceph.repo
# yum erase ceph-release-1-0.el7.noarch -y

all works fine.

Also available in: Atom PDF