Merge ~mwhudson/curtin:fix-multipath-reuse into curtin:master
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | c3ed71475cca693aa8f11fadbbab19bb7b88b630 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~mwhudson/curtin:fix-multipath-reuse |
Merge into: | curtin:master |
Diff against target: |
26 lines (+3/-1) 2 files modified
curtin/commands/block_meta.py (+1/-1) tests/unittests/test_commands_block_meta.py (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Bungert | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+415928@code.launchpad.net |
Commit message
block_meta: call realpath on partition node returned by sfdisk
sfdisk --json on a device mapper block device will "helpfully" return
paths like /device/
This doesn't work so well when you then assume that the basename of the
returned path is the kernel name for the device.
This fixes reusing a partition on a multipath disk.
Description of the change
This time for sure (tm)
To post a comment you must log in.
PASSED: Continuous integration, rev:c3ed71475cc a693aa8f11fadbb ab19bb7b88b630 /jenkins. ubuntu. com/server/ job/curtin- ci/256/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 256/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 256/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 256/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 256/
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/256/ /rebuild
https:/