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.
Description of problem:
hit this issue when finishing the automatical partition
Version-Release number of selected component:
anaconda-18.22
Additional info:
libreport version: 2.0.17
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.22 exception report
:Traceback (most recent call first):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 297, in vgreduce
: raise LVMError("vgreduce failed for %s: %s" % (vg_name, msg))
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2158, in _destroy
: lvm.vgreduce(self.name, [], rm=True)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 816, in destroy
: self._destroy()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 286, in execute
: self.device.destroy()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions
: action.execute()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 293, in doIt
: self.devicetree.processActions()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 131, in turnOnFilesystems
: storage.doIt()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 113, in doInstall
: turnOnFilesystems(storage)
: 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)
:LVMError: vgreduce failed for VolGroup00: running lvm vgreduce --config devices { filter=["r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|","r|/VolGroup00$|","r|/sda2$|"] } --removemissing --force VolGroup00 failed
The root cause is that the VolGroup00 contains 3 PVs, but only 1 PV is discovered. The previous anaconda ( in RHEL6.3 ) support to re-initialize the LVM layout to work around this.
This new anaconda should also support to handle this.
From the attachment in Comment 16 it seems obvious the reason for failure is:
ERR program: Volume group "VolGroup00" not found
Do you believe there exists this Volume group in the system when this operation is executed?
We would need to see further output of commands like pvs/vgs/lvs
but for now it rather looks like Anaconda bug and more diagnostic operations are needed for this case.
Are you able to modify anaconda scripts to insert more commands before vgreduce ?
Perhaps someone who understands the anaconda logs could explain which devices form part of VolGroup00 and which were meant to be removed by the vgreduce command. (I can't spot this information myself.)
And rerun the vgreduce command with -vvvv (or logging to file enabled in lvm.conf) so you can see what the vgreduce command actually saw, to compare against what you expected it to see.
Description of problem: hit this issue when finishing the automatical partition Version-Release number of selected component: anaconda-18.22 Additional info: libreport version: 2.0.17 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.22 exception report :Traceback (most recent call first): : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 297, in vgreduce : raise LVMError("vgreduce failed for %s: %s" % (vg_name, msg)) : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2158, in _destroy : lvm.vgreduce(self.name, [], rm=True) : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 816, in destroy : self._destroy() : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 286, in execute : self.device.destroy() : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions : action.execute() : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 293, in doIt : self.devicetree.processActions() : File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 131, in turnOnFilesystems : storage.doIt() : File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 113, in doInstall : turnOnFilesystems(storage) : 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) :LVMError: vgreduce failed for VolGroup00: running lvm vgreduce --config devices { filter=["r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|","r|/VolGroup00$|","r|/sda2$|"] } --removemissing --force VolGroup00 failed