Bugzilla – Bug 1130227
storage proposal weirdness
Last modified: 2019-03-25 07:23:44 UTC
While reviewing some test scripts for bug 1094927 I came across this one
It passes but the proposed layout is wrong.
With the fix for bug 1094927 it passes and the layout is correct so this looks
like a non-issue - BUT the way it failed originally is interesting and might
point to a weakness in the proposal process.
I'll attach the singled-out test case and the y2log it originally produces.
Created attachment 800967 [details]
Created attachment 800968 [details]
Created attachment 800969 [details]
As you see in the log the problem is that (as root is on gpt) it needs a
bios_boot partition. But due to circumstances it tries to create it on some
other disk which happens to be msdos partitioned.
This fails, which is ok - but this also leaves a good-for-nothing half-finished
/dev/sdc1 partition in the proposal. Which is imho not ok.
It will not happen again in this particular case with the fix for the above
mentioned bug but I think maybe we are not correctly backing out of errors
Just noted a minor incorrectness: with the new code it also does not pass but
for another reason - the layout is correct, however.