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 1405005 - yum Traceback 'lvm.listVgNames' when remove/install package
Summary: yum Traceback 'lvm.listVgNames' when remove/install package
Keywords:
Status: CLOSED DUPLICATE of bug 1335250
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 7.2
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-15 11:15 UTC by Xiaofeng
Modified: 2017-07-10 15:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-10 15:18:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xiaofeng 2016-12-15 11:15:28 UTC
Description of problem:

# yum remove zlib-debuginfo
Loaded plugins: auto-update-debuginfo, changelog, fastestmirror, langpacks, priorities, remove-with-leaves, verify, versionlock
Resolving Dependencies
--> Running transaction check
---> Package zlib-debuginfo.x86_64 0:1.2.7-15.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================
 Package                                       Arch                                  Version                                        Repository                                    Size
=======================================================================================================================================================================================
Removing:
 zlib-debuginfo                                x86_64                                1.2.7-15.el7                                   @sl-debuginfo                                970 k

Transaction Summary
=======================================================================================================================================================================================
Remove  1 Package

Installed size: 970 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 365, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 271, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 773, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1736, in runTransaction
    if self.fssnap.available and ((self.conf.fssnap_automatic_pre or
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1126, in <lambda>
    fssnap = property(fget=lambda self: self._getFSsnap(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1062, in _getFSsnap
    devices=devices)
  File "/usr/lib/python2.7/site-packages/yum/fssnapshots.py", line 158, in __init__
    self._vgnames = _list_vg_names() if self.available else []
  File "/usr/lib/python2.7/site-packages/yum/fssnapshots.py", line 56, in _list_vg_names
    names = lvm.listVgNames()
lvm.LibLVMError: (0, '')


versions:

# rpm -qi yum
Name        : yum
Version     : 3.4.3
Release     : 132.sl7.1

# rpm -qi lvm2
Name        : lvm2
Epoch       : 7
Version     : 2.02.166
Release     : 1.el7

Comment 2 Karel Srot 2017-01-03 13:51:56 UTC
I believe this is a duplicate of bug 1335250 which has been fixed in RHEL-7.3. Please update.

Comment 3 Valentina Mukhamedzhanova 2017-07-10 15:18:46 UTC

*** This bug has been marked as a duplicate of bug 1335250 ***


Note You need to log in before you can comment on or make changes to this bug.