Merge ~raharper/curtin:fix/ptable-label-pmbr into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | ca77533c21d717e0167043a6ca552e1fa5a28892 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/ptable-label-pmbr |
Merge into: | curtin:master |
Diff against target: |
109 lines (+27/-6) 4 files modified
curtin/block/schemas.py (+3/-2) curtin/commands/block_meta.py (+3/-1) curtin/storage_config.py (+5/-1) tests/unittests/test_storage_config.py (+16/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Dan Watkins (community) | Approve | ||
Dimitri John Ledkov (community) | Needs Fixing | ||
Michael Hudson-Doyle | Pending | ||
Review via email: mp+374305@code.launchpad.net |
Commit message
schema: Add ptable value 'unsupported'
Probert output may include values of partition table 'label'
that curtin does not support. This triggers schema validation
errors for common values, like 'mac' or 'PMBR' and likely
other valid table names but are not something that curtin
can create. Instead of adding more values to the schema, mark
such table types as 'unsupported' allowing the existing table
and partitions to be re-used.
This branch also modifies block_meta disk_handler to not
attempt to validate a preserved partition table if it marked
as 'unsupported'.
LP: #1848535
To post a comment you must log in.
PASSED: Continuous integration, rev:ed103a7ff93 438d1db61182528 f299dfe807e490 /jenkins. ubuntu. com/server/ job/curtin- ci/3740/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 3740/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 3740/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 3740/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 3740/
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/3740/ /rebuild
https:/