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.
Cause:
Anaconda and Blivet didn't properly revert actions scheduled on disks when disk selection changed.
Consequence:
Various issues caused by incompletely reverted actions scheduled on disks when disk selection changed.
Fix:
Anaconda now creates a snapshotof the early/original storage configuration and reverts to it when disk selection changes effectively completely reverting all actions scheduled for disks.
Result:
No issues caused by incompletely reverted actions scheduled on disks when disk selection changes.
Description of problem:
specs:
local virtual machine created with virt-manager
NIC: 2x e1000 => teamed connection team0
Disks: 1x 6GB vda; 1x 0.34MB vdb(only for .json file);3x iSCSI disks connected through team0
Rel: RHEL-7.1-20150129.0
/ installed on iSCSI disks
/boot and swap on /dev/vda
Steps to reproduce:
1. prepare iSCSI target
2. start anaconda installer
3. create team NIC using .json in attachment -> start teamed NIC e.g. team0
4. attach iSCSI target with 3 disks
5. set partitioning according to specs above
6. start installation
How reproducible:
never before
Version-Release number of selected component:
anaconda-19.31.122-1
The following was filed automatically by anaconda:
anaconda 19.31.122-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 520, in lvactivate
raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg))
File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 3160, in _setup
lvm.lvactivate(self.vg.name, self._name)
File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 877, in setup
self._setup(orig=orig)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 653, in execute
self.device.setup(orig=True)
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 360, in processActions
action.execute(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 368, in doIt
self.devicetree.processActions(callbacks)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 219, in turnOnFilesystems
storage.doIt(callbacks)
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 185, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
threading.Thread.run(self, *args, **kwargs)
LVMError: lvactivate failed for root: running lvm lvchange -a y rhel/root --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/sdd1$|","r|/sdd$|","r|/sde1$|","r|/sde$|","r|/sdf$|","r|/vdb$|"] } failed
Additional info:
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.1\x20Server.x86_64 BOOT_IMAGE=vmlinuz
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.10.0-227.el7.x86_64
product: Red Hat Enterprise Linux 7"
release: Red Hat Enterprise Linux Workstation release 7.1 Beta (Maipo)
release_type: pre-release
type: anaconda
version: Red Hat Enterprise Linux Workstation"
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-2284.html
Description of problem: specs: local virtual machine created with virt-manager NIC: 2x e1000 => teamed connection team0 Disks: 1x 6GB vda; 1x 0.34MB vdb(only for .json file);3x iSCSI disks connected through team0 Rel: RHEL-7.1-20150129.0 / installed on iSCSI disks /boot and swap on /dev/vda Steps to reproduce: 1. prepare iSCSI target 2. start anaconda installer 3. create team NIC using .json in attachment -> start teamed NIC e.g. team0 4. attach iSCSI target with 3 disks 5. set partitioning according to specs above 6. start installation How reproducible: never before Version-Release number of selected component: anaconda-19.31.122-1 The following was filed automatically by anaconda: anaconda 19.31.122-1 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 520, in lvactivate raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg)) File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 3160, in _setup lvm.lvactivate(self.vg.name, self._name) File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 877, in setup self._setup(orig=orig) File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 653, in execute self.device.setup(orig=True) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 360, in processActions action.execute(callbacks) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 368, in doIt self.devicetree.processActions(callbacks) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 219, in turnOnFilesystems storage.doIt(callbacks) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 185, in doInstall turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg) File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run threading.Thread.run(self, *args, **kwargs) LVMError: lvactivate failed for root: running lvm lvchange -a y rhel/root --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/sdd1$|","r|/sdd$|","r|/sde1$|","r|/sde$|","r|/sdf$|","r|/vdb$|"] } failed Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.1\x20Server.x86_64 BOOT_IMAGE=vmlinuz executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.10.0-227.el7.x86_64 product: Red Hat Enterprise Linux 7" release: Red Hat Enterprise Linux Workstation release 7.1 Beta (Maipo) release_type: pre-release type: anaconda version: Red Hat Enterprise Linux Workstation"