Description of problem: In the custom partitioning spoke in Anaconda, it is not possible to toggle the container encryption. Version-Release number of selected component (if applicable): anaconda 33.11-1.fc33 How reproducible: always Steps to Reproduce: 1. Start an interactive installation. 2. Go to the custom partitioning spoke. 3. Choose the LVM partitioning scheme 4. Create partitions automatically. 5. Select the / mount point. 6. Click on the Modify button of the Volume Group section. 7. Select the Encrypt checkbox. 8. Click on the Save button. 9. Click on the Modify button of the Volume Group section. 10. Unselect the Encrypt checkbox. 11. Click on the Save button. Actual results: Device reconfiguration fails. Expected results: Device is reconfigured.
Created attachment 1681151 [details] anaconda.log
Created attachment 1681152 [details] storage.log
Created attachment 1681153 [details] journalctl
Created attachment 1681154 [details] program.log
Created attachment 1681155 [details] lvm.log
From storage.log: ERROR:blivet:failed to configure device factory: Cannot remove non-leaf device 'luks-vda2' ERROR:anaconda.modules.storage.partitioning.interactive.change_device:Failed to change a device: Cannot remove non-leaf device 'luks-vda2' WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Modules.Storage.DeviceTree.Scheduler.ChangeDevice has failed with an exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/blivet/devicefactory.py", line 906, in configure self._configure() File "/usr/lib/python3.8/site-packages/blivet/devicefactory.py", line 1501, in _configure super(LVMFactory, self)._configure() File "/usr/lib/python3.8/site-packages/blivet/devicefactory.py", line 930, in _configure self.child_factory.configure() File "/usr/lib/python3.8/site-packages/blivet/devicefactory.py", line 1151, in configure self.storage.destroy_device(member) File "/usr/lib/python3.8/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.8/site-packages/blivet/blivet.py", line 791, in destroy_device self.devicetree.actions.add(action) File "/usr/lib/python3.8/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.8/site-packages/blivet/actionlist.py", line 73, in add self._add_func(action) File "/usr/lib/python3.8/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.8/site-packages/blivet/devicetree.py", line 317, in _register_action self._remove_device(action.device) File "/usr/lib/python3.8/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.8/site-packages/blivet/devicetree.py", line 212, in _remove_device raise ValueError("Cannot remove non-leaf device '%s'" % dev.name) ValueError: Cannot remove non-leaf device 'luks-vda2' It seems to be an issue in the storage configuration library. Reassigning to blivet.
Created attachment 1681157 [details] screenshot
*** Bug 1714110 has been marked as a duplicate of this bug. ***
upstream PR: https://github.com/storaged-project/blivet/pull/844 updates image: https://vtrefny.fedorapeople.org/img/rhbz1827254.img