Created attachment 1589769 [details] storage Description of problem: I'm getting an error when trying to install fedora from live cd when it's booted from the logical volume that is on the same volume group as install root Version-Release number of selected component (if applicable): Any release after fedora 29, verified with: anaconda 30.25.6 anaconda 31.18 How reproducible: Steps to Reproduce: 1. copy live image to installed machine partition vg/live 2. Setup grub custom.cfg (can also set root using path vg/live instead of partition label): menuentry 'Start {{live_fs_label}} Fedora' --class fedora --class gnu-linux --class gnu --class os { load_video set gfx_payload=text insmod gzio search --no-floppy --set=root -l '{{live_fs_label}}' linux ($root)/isolinux/vmlinuz0 root=live:LABEL={{live_fs_label}} ro rd.live.image console=ttyS0 initrd ($root)/isolinux/initrd0.img } 3. Reboot and start from the local live image 4. Run installation using storage defined in ks (see ks-storage-exist.cfg attached) Actual results: Installation fails with: Traceback (most recent call first): File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/osinstall.py", line 274, in _mark_protected_devices dev.protected = True File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/osinstall.py", line 237, in reset self._mark_protected_devices() File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/initialization.py", line 223, in _reset_storage storage.reset() File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/initialization.py", line 149, in reset_storage _reset_storage(storage) File "/usr/lib64/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 280, in run threading.Thread.run(self) AttributeError: can't set attribute Expected results: Installation to complete successfully as in fedora 29 Additional info: It appears anaconda tries to have access to all partitions, even those that are not defined in kickstrt or set not to auto mount (--mountoptions="defaults,noauto,users). This is not how it worked on fedora 29
Created attachment 1589770 [details] installation kickstart
Created attachment 1589774 [details] f29 storage log for reference attaching storage log from install using same kickstart, but live image based on f29 with anaconda 29.24.7-2.fc29
Please, attach all logs from the installation. You can find them during the installation in /tmp/*log.
Created attachment 1589884 [details] hawkey.log
Created attachment 1589885 [details] dbus.log
Created attachment 1589886 [details] proram.log
Created attachment 1589887 [details] packaging.log
Created attachment 1589888 [details] lvm.log
Created attachment 1589889 [details] anaconda.log
Created attachment 1589890 [details] storage.log
Created attachment 1589891 [details] installation kickstart
It is not possible to set the property 'protected' of LVMVolumeGroupDevice. I couldn't figure out why not. Reassigning to blivet.
Hmm, apparently it does not inherit the setter from the superclass.
upstream PR: https://github.com/storaged-project/blivet/pull/795
I'm using anaconda 30.25.6 and getting a traceback: An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details =============================================================================== An unknown error has occurred =============================================================================== anaconda 30.25.6 exception report Traceback (most recent call first): File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/osinstall.py", line 273, in _mark_protected_devices dev.protected = True File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/osinstall.py", line 238, in reset self._mark_protected_devices() File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/initialization.py", line 223, in _reset_storage storage.reset() File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/initialization.py", line 150, in reset_storage _reset_storage(storage) File "/usr/lib64/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 280, in run threading.Thread.run(self) AttributeError: can't set attribute Please see /tmp/anaconda-tb-wbj_n_fq attached
Created attachment 1603313 [details] /tmp/anaconda-tb-wbj_n_fq
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
Confirming installation works as expected using anaconda 32.1-1.fc32 and python3-blivet-1:3.1.5-1.fc32.noarch, many thanks for fixing this!