Merge ~raharper/curtin:fix/clear-holders-bcache-partitions-lp1811117-v2 into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | 0723e0da24e859d78b893dd14b8f4e96efa78915 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/clear-holders-bcache-partitions-lp1811117-v2 |
Merge into: | curtin:master |
Diff against target: |
16 lines (+4/-1) 1 file modified
curtin/block/clear_holders.py (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+362352@code.launchpad.net |
Commit message
bcache: ensure partitions on bcache devices are detected as partition
In some cases, when curtin is discovering existing storage devices, a
bcache device with partitions created on top of it, may be recognized
as a bcache device, rather than a partition. If curtin treats a
bcache partition as a bcache device, it will attempt to write to
non-existent files on /sys which results in a failure after timing
out. Resolve this issue by detecting if the target device is a
partition inside the bcache identity function.
To post a comment you must log in.
PASSED: Continuous integration, rev:0723e0da24e 859d78b893dd14b 8f4e96efa78915 /jenkins. ubuntu. com/server/ job/curtin- ci/1168/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 1168 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 1168 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 1168 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 1168
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/1168/ rebuild
https:/