Merge ~raharper/curtin:fix/dasd-disk-vtoc-preserve into curtin:master
Proposed by
Ryan Harper
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ryan Harper | ||||
Approved revision: | c623f08bfa742f196d901082b57442f2faec5819 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~raharper/curtin:fix/dasd-disk-vtoc-preserve | ||||
Merge into: | curtin:master | ||||
Diff against target: |
206 lines (+109/-9) 5 files modified
curtin/block/__init__.py (+13/-1) curtin/block/schemas.py (+3/-2) curtin/commands/block_meta.py (+9/-6) tests/unittests/test_block.py (+11/-0) tests/unittests/test_commands_block_meta.py (+73/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+381785@code.launchpad.net |
Commit message
block-meta: handle preserve with vtoc ptable
DASD devices have a 'vtoc' partition table type. When we're handling
a disk config with 'preserve': True we raised a ValueError expecting
either 'gpt' or 'msdos'. Fix this by refactoring the code to check
the expected ptable value and adding a check_vtoc_
LP: #1871158
To post a comment you must log in.
FAILED: Continuous integration, rev:2dc55f0e337 ba1034bb54cf869 a763e366577518 /jenkins. ubuntu. com/server/ job/curtin- ci/15/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 15/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 15/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 15/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 15/
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/15// rebuild
https:/