Bug 1403035

Summary: gi.overrides.BlockDev.LVMError: Failed to call the 'Activate' method on the '/com/redhat/lvmdbus1/Lv/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Lv', 'Exit code 5, stderr = Device /dev/sda3 ...
Product: [Fedora] Fedora Reporter: Jim Swain <jim.swain>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:4db01394844092d972c5c8e3c68d878d5c9f67e3102bf3f17f1e8708b08cfb98;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-10 20:13:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: environ
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description Jim Swain 2016-12-09 00:04:48 UTC
Description of problem:
Attempted to install f24 using netinstall.iso image onto a previous f23 disk. Install reported error almost immediately after selecting language and keyboard.

Note this was after attempting rescue under troubleshooting main menu

Version-Release number of selected component:
anaconda-24.13.7-1

The following was filed automatically by anaconda:
anaconda 24.13.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/BlockDev.py", line 420, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 768, in _setup
    blockdev.lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 386, in setup
    self._setup(orig=orig)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1015, in addLV
    lv_device.setup()
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1062, in handleVgLvs
    new_lv = addLV(lv)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1142, in handleUdevLVMPVFormat
    self.handleVgLvs(vg_device)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1489, in handleUdevDeviceFormat
    self.handleUdevLVMPVFormat(info, device)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 773, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1701, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python3.5/site-packages/blivet/populator.py", line 1638, in populate
    self._populate()
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 555, in populate
    self._populator.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 279, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1157, in storageInitialize
    storage.reset()
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
gi.overrides.BlockDev.LVMError: Failed to call the 'Activate' method on the '/com/redhat/lvmdbus1/Lv/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Lv', 'Exit code 5, stderr =   Device /dev/sda3 has size of 10125312 sectors which is smaller than corresponding PV size of 102406144 sectors. Was device resized?\n  One or more devices used as PVs in VG fedora01 have changed sizes.\n  device-mapper: resume ioctl on (253:5) failed: Invalid argument\n  Unable to resume fedora01-nos (253:5)\n')

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-24 quiet
dnf.rpm.log:    Dec 08 23:48:32 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.5-300.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
reproducible:   Not sure how to reproduce the problem
type:           anaconda
version:        24

Potential duplicate: bug 1371048

Comment 1 Jim Swain 2016-12-09 00:04:57 UTC
Created attachment 1229692 [details]
File: anaconda-tb

Comment 2 Jim Swain 2016-12-09 00:04:59 UTC
Created attachment 1229693 [details]
File: anaconda.log

Comment 3 Jim Swain 2016-12-09 00:05:00 UTC
Created attachment 1229694 [details]
File: dnf.log

Comment 4 Jim Swain 2016-12-09 00:05:01 UTC
Created attachment 1229695 [details]
File: environ

Comment 5 Jim Swain 2016-12-09 00:05:03 UTC
Created attachment 1229696 [details]
File: lsblk_output

Comment 6 Jim Swain 2016-12-09 00:05:04 UTC
Created attachment 1229697 [details]
File: lvm.log

Comment 7 Jim Swain 2016-12-09 00:05:06 UTC
Created attachment 1229698 [details]
File: nmcli_dev_list

Comment 8 Jim Swain 2016-12-09 00:05:07 UTC
Created attachment 1229699 [details]
File: os_info

Comment 9 Jim Swain 2016-12-09 00:05:09 UTC
Created attachment 1229700 [details]
File: storage.log

Comment 10 Jim Swain 2016-12-09 00:05:12 UTC
Created attachment 1229701 [details]
File: syslog

Comment 11 Jim Swain 2016-12-09 00:05:13 UTC
Created attachment 1229702 [details]
File: ifcfg.log

Comment 12 Jim Swain 2016-12-09 00:05:15 UTC
Created attachment 1229703 [details]
File: packaging.log

Comment 13 Jim Swain 2016-12-09 00:05:17 UTC
Created attachment 1229704 [details]
File: program.log

Comment 14 Jim Swain 2016-12-10 20:13:41 UTC
Fudged a fix by using gparted from f22 Security Lab on USB drive to create a dummy / partition that had been corrupted during a rescue session attempt. Without this fudge, the f24 net install process got confused and failed repeatedly as reported above.

Re-ran with f24 net install dvd on 2016.12.10 selecting automatic partitioning and reclaiming space while preserving /home partition.