Bug 1180222

Summary: YaST storage proposal: reusing the UUID of deleted swaps does not always work
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ancor Gonzalez Sosa <ancor>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/4WKUCbn3
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ancor Gonzalez Sosa 2020-12-18 14:43:48 UTC
There is a mechanism in the YaST storage proposal to re-use the UUID of the swap devices, in an attempt to not break the configuration of other linux systems installed in the same computer.

But that mechanism is failing when linux_delete_mode is set to :all, the swap partitions forcely deleted at the beginning of the process are not known by the component that sets the new UUIDs, which means the UUIDs are finally not reused.

Everything works fine for swap devices that are deleted as a result of linux_delete_mode = :ondemand