Merge ~raharper/curtin:fix/clear-holders-bcache-partitions-lp1811117 into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | f451985cf2c56c58a7a20b0198f541763f27d578 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/clear-holders-bcache-partitions-lp1811117 |
Merge into: | curtin:master |
Diff against target: |
303 lines (+160/-17) 9 files modified
curtin/block/__init__.py (+1/-1) curtin/block/clear_holders.py (+6/-2) curtin/commands/block_meta.py (+5/-4) curtin/commands/unmount.py (+1/-6) curtin/util.py (+5/-0) examples/tests/bcache-partitions.yaml (+97/-0) tests/unittests/test_commands_block_meta.py (+5/-3) tests/vmtests/test_bcache_basic.py (+5/-1) tests/vmtests/test_bcache_partitions.py (+35/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Review via email: mp+361795@code.launchpad.net |
Commit message
clear-holders: handle FileNotFound when probing for bcache device slaves
In some cases, when detecting if a bcache has any slave devices which
need removal the path to the sysfs directory may not be found; this is
non-fatal; it indicates that the existing device has been removed by the
kernel. Allow clear-holders to tolerate this failure.
Updated curtin.
have 'p' in the value. This is needed for the vmtest to recreate bcache
partitions.
LP: #1811117
To post a comment you must log in.
PASSED: Continuous integration, rev:67d63a18c89 bfea8c24da6644c dc94aac6be6788 /jenkins. ubuntu. com/server/ job/curtin- ci/1152/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 1152 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 1152 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 1152 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 1152
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/1152/ rebuild
https:/