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 1187644

Summary: 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
Product: Red Hat Enterprise Linux 7 Reporter: Marek Hruscak <mhruscak>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:402fec84f3c73861261419db5c1da8f02316c9a64549b091bc9ca08eca246b37
Fixed In Version: anaconda-21.48.22.12-1 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 09:53:10 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: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Marek Hruscak 2015-01-30 14:48:13 UTC
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"

Comment 1 Marek Hruscak 2015-01-30 14:48:19 UTC
Created attachment 986012 [details]
File: anaconda-tb

Comment 2 Marek Hruscak 2015-01-30 14:48:21 UTC
Created attachment 986013 [details]
File: anaconda.log

Comment 3 Marek Hruscak 2015-01-30 14:48:22 UTC
Created attachment 986014 [details]
File: environ

Comment 4 Marek Hruscak 2015-01-30 14:48:24 UTC
Created attachment 986015 [details]
File: lsblk_output

Comment 5 Marek Hruscak 2015-01-30 14:48:25 UTC
Created attachment 986016 [details]
File: nmcli_dev_list

Comment 6 Marek Hruscak 2015-01-30 14:48:26 UTC
Created attachment 986017 [details]
File: os_info

Comment 7 Marek Hruscak 2015-01-30 14:48:28 UTC
Created attachment 986018 [details]
File: program.log

Comment 8 Marek Hruscak 2015-01-30 14:48:32 UTC
Created attachment 986019 [details]
File: storage.log

Comment 9 Marek Hruscak 2015-01-30 14:48:34 UTC
Created attachment 986020 [details]
File: syslog

Comment 10 Marek Hruscak 2015-01-30 14:48:35 UTC
Created attachment 986021 [details]
File: ifcfg.log

Comment 11 Marek Hruscak 2015-01-30 14:48:38 UTC
Created attachment 986022 [details]
File: packaging.log

Comment 19 errata-xmlrpc 2015-11-19 09:53:10 UTC
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