Merge ~raharper/curtin:fix/lvm-over-bcache into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | c5897529e377c9afca83aea0256a1901832e8536 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/lvm-over-bcache |
Merge into: | curtin:master |
Diff against target: |
158 lines (+131/-1) 3 files modified
curtin/block/clear_holders.py (+1/-1) examples/tests/bcache-ceph-nvme-simple.yaml (+107/-0) tests/vmtests/test_bcache_ceph.py (+23/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+372939@code.launchpad.net |
Commit message
clear-holders: increase the level for devices with holders by one
In the case where clear-holders looks at a dependent device, if the
parent is already in the registry, we want to take the max level
and then increment this by one to ensure the dependent device is
shutdown first. This resolves the case where we have an LVM over
top a bcache device and we need to remove the LVM device before
any of the bcache devices can be removed as they may share a
cacheset in which case all bcache devices must be stopped before
the cacheset can be removed.
LP: #1844543
To post a comment you must log in.
FAILED: Continuous integration, rev:36611045636 4767cf8048a6637 095d8863734ca6 /jenkins. ubuntu. com/server/ job/curtin- ci/3725/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 3725/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 3725/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 3725/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 3725/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/3725/ /rebuild
https:/