Bug 1399473

Summary: gi.overrides.BlockDev.LVMError: Process reported exit code 1280: WARNING: Device for PV JZukN5-kw3I-zct2-d0k0-PKTb-6fLj-qnqtxA not found or rejected by a filter.
Product: [Fedora] Fedora Reporter: Jens Tingleff <jensting>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a3aa663a411e25c4e43cd6938daab3f20517a69c55a51b884f1ad06112ff2d59;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-29 17:54:54 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: environ
none
File: journalctl
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Jens Tingleff 2016-11-29 06:34:47 UTC
Description of problem:
Installer crashes after start of installation with target disk including Intel firmware RAID disk with LVs inside LVMs

I have an SSD and an Intel imsm device and I have already installed Fedora 25 beta on this system.

I manually partition (taking care not to include the LUKS encrypted LV as this triggers a crash sooner, bug 1399051).

Version-Release number of selected component:
anaconda-core-25.20.8-1.fc25.x86_64

The following was filed automatically by anaconda:
anaconda 25.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/BlockDev.py", line 441, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 1928, in _setup
    blockdev.lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 1801, in decorated
    return meth(self, *args, **kwargs)  # pylint: disable=not-callable
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 372, in setup
    self._setup(orig=orig)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 1898, in setup
    return DMDevice.setup(self, orig)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 1801, in decorated
    return meth(self, *args, **kwargs)  # pylint: disable=not-callable
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 695, in execute
    self.device.setup(orig=True)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 325, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 163, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1112, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 204, in doInstall
    turn_on_filesystems(storage, mount_only=flags.flags.dirInstall, callbacks=callbacks_reg)
  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 251, in run
    threading.Thread.run(self, *args, **kwargs)
gi.overrides.BlockDev.LVMError: Process reported exit code 1280:   WARNING: Device for PV JZukN5-kw3I-zct2-d0k0-PKTb-6fLj-qnqtxA not found or rejected by a filter.
  Refusing activation of partial LV vg_desk/swap00.  Use '--activationmode partial' to override.


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-25-1-3 rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
other involved packages: python3-blivet-2.1.6-4.fc25.noarch, python3-blockdev-1.9-8.fc25.x86_64, system-python-libs-3.5.2-4.fc25.x86_64
product:        Fedora
release:        Fedora release 25 (Twenty Five)
type:           anaconda
version:        25

Comment 1 Jens Tingleff 2016-11-29 06:35:01 UTC
Created attachment 1225620 [details]
File: anaconda-tb

Comment 2 Jens Tingleff 2016-11-29 06:35:03 UTC
Created attachment 1225621 [details]
File: anaconda.log

Comment 3 Jens Tingleff 2016-11-29 06:35:05 UTC
Created attachment 1225622 [details]
File: environ

Comment 4 Jens Tingleff 2016-11-29 06:35:08 UTC
Created attachment 1225623 [details]
File: journalctl

Comment 5 Jens Tingleff 2016-11-29 06:35:10 UTC
Created attachment 1225624 [details]
File: lsblk_output

Comment 6 Jens Tingleff 2016-11-29 06:35:15 UTC
Created attachment 1225625 [details]
File: lvm.log

Comment 7 Jens Tingleff 2016-11-29 06:35:16 UTC
Created attachment 1225626 [details]
File: nmcli_dev_list

Comment 8 Jens Tingleff 2016-11-29 06:35:17 UTC
Created attachment 1225627 [details]
File: os_info

Comment 9 Jens Tingleff 2016-11-29 06:35:19 UTC
Created attachment 1225628 [details]
File: program.log

Comment 10 Jens Tingleff 2016-11-29 06:35:23 UTC
Created attachment 1225629 [details]
File: storage.log

Comment 11 Jens Tingleff 2016-11-29 06:35:25 UTC
Created attachment 1225630 [details]
File: ifcfg.log

Comment 12 Jens Tingleff 2016-11-29 07:44:40 UTC
Note that the first part of the install, the reformat pf the /boot partition on the non-imsm partition appears to have been entirely successful. This meant that the computer dumped me into a GRUB emergency shell. Not nice.

I prefer the earlier failure I encountered when I tried mounting a LUKS encrypted LV..

(An install using only the SSD as a target put me back to being able to boot, now I just need to know how to add the IMSM disk after the installation...)

Comment 13 Jens Tingleff 2016-11-29 17:54:54 UTC
See 1399051 for workaround

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