Bug 1037566 - LVMError: lvactivate failed for root: running lvm lvchange -a y fedora/root failed
Summary: LVMError: lvactivate failed for root: running lvm lvchange -a y fedora/root f...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-03 11:41 UTC by Kamil Páral
Modified: 2015-04-27 11:18 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-23 09:52:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-tb (794.99 KB, text/plain)
2013-12-03 11:41 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1036705 0 unspecified CLOSED BootLoaderError: bootloader install failed when /boot on RAID 10(?) 2021-02-22 00:41:40 UTC

Internal Links: 1036705

Description Kamil Páral 2013-12-03 11:41:33 UTC
Description of problem:
I was trying to reproduce bug 1036705. I removed all previous disk contents (I think it was LVM on mdraid 10). Then I created a new layout LVM on mdraid 10. I kept only a single / partition and downsized it (from the default size). It crashed on installation start.

anaconda 20.25.11-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 437, in lvactivate
    raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2682, in _setup
    lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 716, in setup
    self._setup(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 534, in execute
    self.device.setup(orig=True)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 234, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 308, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 167, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 142, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  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 192, in run
    threading.Thread.run(self, *args, **kwargs)
LVMError: lvactivate failed for root: running lvm lvchange -a y fedora/root failed


Version-Release number of selected component (if applicable):
anaconda 20.25.11-1 

How reproducible:
unknown

Comment 1 Kamil Páral 2013-12-03 11:41:59 UTC
Created attachment 832006 [details]
anaconda-tb

Comment 2 Kamil Páral 2013-12-03 12:18:44 UTC
I could reproduce it as long as I deleted all contents and tried to create yet another LVM on mdraid 10. Once I tried to create default LVM (without mdraid) setup, installation worked ok.

I'm unclear why anaconda tries to activate the older VG, when I chose to remove it and create a fresh new one. Maybe because the name of the old one and the name of the new one is the same? Is is possible that it tries to reuse it instead of re-creating it?

Comment 3 David Shea 2015-04-14 18:57:37 UTC
Is this reproducible in F21 or F22?

Comment 4 Lukas Brabec 2015-04-23 09:52:26 UTC
I tried to reproduce this bug with F22 Beta RC3, installation worked as expected, no bug encountered.


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