Merge ~mwhudson/curtin:reformat-vs-preserve into curtin:master
Proposed by
Michael Hudson-Doyle
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Hudson-Doyle | ||||
Approved revision: | 54a06a6260ac8186db5a02dbedf3db9f6e995965 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~mwhudson/curtin:reformat-vs-preserve | ||||
Merge into: | curtin:master | ||||
Diff against target: |
235 lines (+170/-3) 5 files modified
curtin/block/schemas.py (+1/-0) curtin/commands/block_meta.py (+14/-3) doc/topics/storage.rst (+5/-0) examples/tests/partition-existing-raid.yaml (+115/-0) tests/vmtests/test_preserve_raid.py (+35/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Dan Bungert | Approve | ||
Review via email: mp+404623@code.launchpad.net |
Commit message
disk_handler: check wipe field when deciding whether to reformat raids
Currently preserve=true for raid means "preserve the RAID array"
and ALSO "preserve the partition table". So change the
interpretation of preserve to be solely about preserving the
array and instead check the wipe field to decide if the array
should get a new partition table or not.
LP: #1932976
To post a comment you must log in.
PASSED: Continuous integration, rev:55afc25cc47 0c5406ebbbf211f c07a83ad8cdc14 /jenkins. ubuntu. com/server/ job/curtin- ci/128/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 128/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 128/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 128/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 128/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/128/ /rebuild
https:/