Closed ancorgs closed 1 year ago
:heavy_check_mark: Public Jenkins job #446 successfully finished :heavy_check_mark: Created OBS submit request #1035071
:heavy_check_mark: Internal Jenkins job #1132 successfully finished :heavy_check_mark: Created IBS submit request #284313
Problem
To implement the storage management we envision for the D-Installer we need the ability to run the
GuidedProposal
with a couple of customizations:desired
andmin
in D-Installer because it can be confusing).Solution
Implemented a new subclass
MinGuidedProposal
that tries only once using themin_size
as starting point and ignoring thedesired_size
. Surely inheritance is not the nicest mechanism but it works perfectly here and is the mechanism that was chosen to customize the GuidedProposal (eg.InitialGuidedProposal
).Added two new flags to
VolumeSpecification
to ignore the automatic size adjustments.Added the possibility to store a failed proposal in the
StorageManager
. That makes no sense in the context of YaST but is used in D-Installer (since the proposal is the only mechanism there to produce an staging devicegraph).Testing
Added unit tests for the new functionality