curtin fails to create MD devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
==== Begin SRU Template ========
[Impact]
On some machines with existing MDADM RAID metadata on one or
more disks, curtin can fails to remove this existing metadata when
instructed to do so and fails to install on such machines.
Improvement in curtin's ability to release holders on a disk
and clear it mean that installation succeeds.
[Test Case]
Run curtin vmtest on tests/unittests
./tools/
[Regression Potential]
Installation failures would be the most likely regression, and
then most likely with multipath, raid or both.
[Other Info]
==== End SRU Template ========
* On some machines which have existing MDADM RAID metadata on one or
more disks, curtin fails to remove this existing metadata when
instructed to do so and fails to install on such machines.
On xenial we used curtin: 0.1.0~bzr425-
and for trusty deployment curtin_
please see the attached full installation log.
Related branches
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 607 lines (+335/-27)9 files modifiedcurtin/block/__init__.py (+61/-6)
curtin/block/clear_holders.py (+4/-3)
curtin/block/mdadm.py (+22/-3)
curtin/commands/block_meta.py (+14/-0)
curtin/util.py (+13/-0)
tests/unittests/test_block.py (+72/-0)
tests/unittests/test_block_mdadm.py (+26/-11)
tests/unittests/test_clear_holders.py (+5/-4)
tests/unittests/test_commands_block_meta.py (+118/-0)
Changed in curtin: | |
status: | Confirmed → Incomplete |
Changed in curtin: | |
status: | Incomplete → Confirmed |
Changed in curtin: | |
status: | In Progress → Fix Committed |
Changed in curtin (Ubuntu): | |
status: | New → Fix Released |
Changed in curtin (Ubuntu Xenial): | |
status: | New → Confirmed |
description: | updated |
Changed in curtin (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in curtin (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu): | |
importance: | Undecided → Medium |
Can you attach the curtin config as well?
maas <session> machine get-curtin-config <system-id>