Bug 1025911

Summary: LVMError: lvresize failed for home: running lvm lvresize --force -L 2000000m fedora/home failed
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, bugzilla, g.kaviyarasu, jonathan, kparal, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:87dc9bcbcf582be09c08ea01f82d42618b0c8a1cc176178816241d61e8ccc852
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 14:39:37 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:
Bug Depends On:    
Bug Blocks: 980656    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Chris Murphy 2013-11-01 23:11:41 UTC
Description of problem:
vda=empty; vdb=F19 guided path install, default LVM + encryption. Intent is to use vda for F20, delete the fedora-swap and fedora-root on vdb and grow /home to take up the extra space on both disks. In Custom partitioning the installer allows me to set home to ever increasing amounts, beyond one disk's space, then to the 2nd, and then total fiction. I had it on 2TB, even though the two disks combined are 1.6TB. Crash occurs after Begin Installation so I suspect there may be big problems with the existing (previously working) installation.

Version-Release number of selected component:
anaconda-20.25.4-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.25.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 428, in lvresize
    raise LVMError("lvresize failed for %s: %s" % (lv_name, msg))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2745, in resize
    lvm.lvresize(self.vg.name, self._name, self.size)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 403, in execute
    self.device.resize()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 310, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, 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 168, in run
    threading.Thread.run(self, *args, **kwargs)
LVMError: lvresize failed for home: running lvm lvresize --force -L 2000000m fedora/home failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Desktop-x86_64-20-Be rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.6-301.fc20.x86_64
other involved packages: python-libs-2.7.5-8.fc20.x86_64, python-blivet-0.23.2-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 Chris Murphy 2013-11-01 23:11:47 UTC
Created attachment 818492 [details]
File: anaconda-tb

Comment 2 Chris Murphy 2013-11-01 23:11:50 UTC
Created attachment 818493 [details]
File: anaconda.log

Comment 3 Chris Murphy 2013-11-01 23:11:53 UTC
Created attachment 818494 [details]
File: environ

Comment 4 Chris Murphy 2013-11-01 23:11:56 UTC
Created attachment 818495 [details]
File: journalctl

Comment 5 Chris Murphy 2013-11-01 23:12:00 UTC
Created attachment 818496 [details]
File: lsblk_output

Comment 6 Chris Murphy 2013-11-01 23:12:03 UTC
Created attachment 818497 [details]
File: nmcli_dev_list

Comment 7 Chris Murphy 2013-11-01 23:12:05 UTC
Created attachment 818498 [details]
File: os_info

Comment 8 Chris Murphy 2013-11-01 23:12:08 UTC
Created attachment 818499 [details]
File: program.log

Comment 9 Chris Murphy 2013-11-01 23:12:12 UTC
Created attachment 818500 [details]
File: storage.log

Comment 10 Chris Murphy 2013-11-01 23:12:15 UTC
Created attachment 818501 [details]
File: ifcfg.log

Comment 11 Fedora Blocker Bugs Application 2013-11-01 23:14:55 UTC
Proposed as a Blocker for 20-final by Fedora user chrismurphy using the blocker tracking app because:

 Not proposed as a beta blocker because the failure occurs in the course of lvresize and we don't have a resize criteria for beta.

"Any installer mechanism for resizing storage volumes must correctly attempt the requested operation."

Comment 12 Kamil Páral 2013-11-06 12:23:11 UTC
I configured disk in manual partitioning. I tried to reuse previous Fedora installation, I just deleted /home and enlarged /. Reused swap and /boot. No rocket science.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   inst.stage2=http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/20-Beta-RC4/Fedora/i386/os/ inst.repo=http://download.eng.brq.redhat.com/pub/fedora/linux/development/20/i386/os/ initrd=F20/Beta-RC4/i386/initrd.img BOOT_IMAGE=F20/Beta-RC4/i386/vmlinuz 
hashmarkername: anaconda
kernel:         3.11.6-301.fc20.i686
package:        anaconda-20.25.6-1
product:        Fedora
reason:         LVMError: lvresize failed for root: running lvm lvresize --force -L 49556m fedora_dhcp-29-193/root failed
release:        Cannot get release name.
version:        20-Beta

Comment 13 David Lehman 2013-11-06 14:28:50 UTC
(In reply to Kamil Páral from comment #12)
> I configured disk in manual partitioning. I tried to reuse previous Fedora
> installation, I just deleted /home and enlarged /. Reused swap and /boot. No
> rocket science.

Please attach your logs. If you have an anaconda-tb-* file that is all you need to attach.

Comment 14 David Lehman 2013-11-06 14:39:37 UTC

*** This bug has been marked as a duplicate of bug 1026466 ***

Comment 15 Kamil Páral 2013-11-06 17:32:59 UTC
(In reply to David Lehman from comment #13)
> Please attach your logs. If you have an anaconda-tb-* file that is all you
> need to attach.

Sorry, ABRT does not do that automatically when putting me to CC, and I assumed the logs were already sufficient from the initial reporter.

Since you already closed this as a duplicate, I guess you no longer need them?