Bug 921789

Summary: LVMError: lvactivate failed for root: running lvm lvchange -a y --config devices { filter=["r|/sdb1$|","r|/sdb2$|","r|/sdb3$|","r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|","r|/sdb$|"] } virt/root failed
Product: [Fedora] Fedora Reporter: Stefan Hellermann <bugzilla.redhat.com>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, bcl, dlehman, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d2d40edc244be3ea983b30943ad9dbad770da0fbc57ad4330ef87a17ee7d9f40
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 00:03:53 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: ifcfg.log
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description Stefan Hellermann 2013-03-14 23:05:05 UTC
Description of problem:
try to install to pre-existing LVM vg
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 401, in lvactivate
    raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2542, in _setup
    lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 714, in setup
    self._setup(orig=orig)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 492, in execute
    self.device.setup(orig=True)
  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 323, in doIt
    self.devicetree.processActions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 174, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 114, 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: lvactivate failed for root: running lvm lvchange -a y --config  devices { filter=["r|/sdb1$|","r|/sdb2$|","r|/sdb3$|","r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|","r|/sdb$|"] }  virt/root failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.11
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 Stefan Hellermann 2013-03-14 23:05:14 UTC
Created attachment 710288 [details]
File: anaconda-tb

Comment 2 Stefan Hellermann 2013-03-14 23:05:17 UTC
Created attachment 710289 [details]
File: anaconda.log

Comment 3 Stefan Hellermann 2013-03-14 23:05:19 UTC
Created attachment 710290 [details]
File: environ

Comment 4 Stefan Hellermann 2013-03-14 23:05:21 UTC
Created attachment 710291 [details]
File: ifcfg.log

Comment 5 Stefan Hellermann 2013-03-14 23:05:24 UTC
Created attachment 710292 [details]
File: packaging.log

Comment 6 Stefan Hellermann 2013-03-14 23:05:27 UTC
Created attachment 710293 [details]
File: program.log

Comment 7 Stefan Hellermann 2013-03-14 23:05:29 UTC
Created attachment 710294 [details]
File: storage.log

Comment 8 Stefan Hellermann 2013-03-14 23:05:32 UTC
Created attachment 710295 [details]
File: syslog

Comment 9 Stefan Hellermann 2013-03-15 00:03:53 UTC
I was trying to chase another bug, but this one is caused by me renaming a LVM lv from "root" to "Fedora18" behind the eyes of the installer. It's not a BUG, as the installer cannot act reasonable when the user renames the install-target