Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 870137

Summary: error: rpmdb open failed
Product: Red Hat Enterprise Linux 7 Reporter: George Beshers <gbeshers>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:edb30f20ffa33074d3d6f0220a901a6469321104d68a25a651d1735a3b4059ab
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-11 17:35:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: release
none
File: anaconda.log
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: product
none
File: syslog
none
File: install.log
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: anaconda-tb
none
File: program.log none

Description George Beshers 2012-10-25 15:54:48 UTC
Description of problem:

Failed after trying to do a customized disk partitioning.

Disk partitioning GUI doesn't indicate which partitions are getting mkfs
and which are being preserved.

This is nightly 10/22.


Version-Release number of selected component:
anaconda-18.19

Additional info:
libreport version: 2.0.16
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.0-0.28.el7.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.19 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 58, in dbMatch
:    mi = self.ts.dbMatch(*args, **kwds)
:  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1212, in _get_packages
:    mi = ts.dbMatch(*args, **kwds)
:  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1258, in _search
:    for hdr, idx in mi:
:  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1193, in searchNames
:    returnList.extend(self._search(name=name))
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4480, in install
:    ipkgs = self.rpmdb.searchNames([po.name])
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3597, in selectGroup
:    pkg_warning_level='debug2')
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 957, in _selectYumGroup
:    self._yum.selectGroup(groupid, group_package_types=pkg_types)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1064, in _applyYumSelections
:    self._selectYumGroup("core")
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1112, in checkSoftwareSelection
:    self._applyYumSelections()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1191, in preInstall
:    self.checkSoftwareSelection()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 117, in doInstall
:    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:error: rpmdb open failed

Comment 1 George Beshers 2012-10-25 15:54:50 UTC
Created attachment 633436 [details]
File: release

Comment 2 George Beshers 2012-10-25 15:54:52 UTC
Created attachment 633437 [details]
File: anaconda.log

Comment 3 George Beshers 2012-10-25 15:54:54 UTC
Created attachment 633438 [details]
File: type

Comment 4 George Beshers 2012-10-25 15:54:57 UTC
Created attachment 633439 [details]
File: ifcfg.log

Comment 5 George Beshers 2012-10-25 15:54:59 UTC
Created attachment 633440 [details]
File: storage.log

Comment 6 George Beshers 2012-10-25 15:55:01 UTC
Created attachment 633441 [details]
File: version

Comment 7 George Beshers 2012-10-25 15:55:09 UTC
Created attachment 633442 [details]
File: environ

Comment 8 George Beshers 2012-10-25 15:55:11 UTC
Created attachment 633443 [details]
File: product

Comment 9 George Beshers 2012-10-25 15:55:13 UTC
Created attachment 633444 [details]
File: syslog

Comment 10 George Beshers 2012-10-25 15:55:15 UTC
Created attachment 633445 [details]
File: install.log

Comment 11 George Beshers 2012-10-25 15:55:16 UTC
Created attachment 633446 [details]
File: hashmarkername

Comment 12 George Beshers 2012-10-25 15:55:18 UTC
Created attachment 633447 [details]
File: packaging.log

Comment 13 George Beshers 2012-10-25 15:55:20 UTC
Created attachment 633448 [details]
File: cmdline_file

Comment 14 George Beshers 2012-10-25 15:55:22 UTC
Created attachment 633449 [details]
File: anaconda-tb

Comment 15 George Beshers 2012-10-25 15:55:24 UTC
Created attachment 633450 [details]
File: program.log

Comment 16 Chris Lumens 2012-11-20 15:13:08 UTC
Are you still seeing this with more recent trees?

Comment 18 Dave Cantrell 2013-12-11 17:35:24 UTC
Please retest under RHEL 7.0 beta or later.  If the problem is still happening, feel free to reopen the bug.  If you do reopen the bug, be sure to include steps to reproduce the problem.

Comment 19 George Beshers 2015-06-29 15:37:24 UTC
This has not been a problem since RHEL-7.0ga.