Issue
Description of problem:
The following change to physical partition location in an automatically created partitioning in Anaconda failed on me: I used a machine with 1 GiB disk (vda) and 10 GiB disk (vdb), selected manual partitioning and clicked on the 'link' to create the partitioning automatically. Then I chose /boot partition and modified its physical location to only use vda. When I wanted to do a subsequent step, i. e. shrink / partition and modify the related LV to only reside on the other disk (vdb), the whole partitioning disappeared and the error message bar on the bottom of the screen appeared, with its details stating 'Unable to allocate requested partition scheme'
Version-Release number of selected component (if applicable):
python3-blivet-3.6.0-4.el8, anaconda-33.16.8.8-1.el8 (RHEL-8.8.0-20230228.22)
How reproducible:
100%
Steps to Reproduce:
1. Prepare a VM with two disks, #1 - 1 GiB, #2 - 10 GiB
2. Start system installation, advance to partitioning spoke and select manual partitioning.
3. On the manual partitioning screen, click on 'Click here to create them automatically'.
4. Select /boot partition and modify it to be located only on disk #1.
5. Click on / partition.
Actual results:
The existing partitioning gets removed and error bar appears on the bottom of the screen, saying 'Unable to allocate requested partition scheme' when you click on it to see details.
Expected results:
It's possible to do further steps after step 4., i. e. shrink / partition and change the related LV to be only located on disk #2 (and likely also shrink /boot a bit as it wouldn't fit a 1024 MiB disk). The error is only displayed when user tries to exit the spoke with an invalid partitioning.
Additional info:
The same issue also happens when I just tried to shrink the /boot partition, without touching where it should be located physically. I wasn't able to finish the partitioning by modifying the automatically created one. The only way that worked for me with this particular two-disk configuration was to use a manual partitioning and create /boot first, change its physical location, and the create swap and /.