multipathd bcache disks do not get picked up by multipath-tools during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alexsander de Souza | ||
3.3 |
Fix Released
|
High
|
Alexsander de Souza | ||
3.4 |
Fix Released
|
High
|
Alexsander de Souza | ||
bcache-tools |
New
|
Undecided
|
Unassigned | ||
bcache-tools (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Jammy |
New
|
Undecided
|
Unassigned | ||
Noble |
Triaged
|
Undecided
|
Unassigned | ||
Oracular |
Triaged
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
When using multipathd disks as bcache, multipath-tools does not pick the disks up at boot time.
This is due to an interaction between bcache-tools and multipath-tools. The udev rules for bcache-tools, specifically /lib/udev/
[ Test Case ]
1) get an image
$ wget https:/
2) Create bcache disk
$ fallocate -l 20G image.img
$ make-bcache -C image.img
3) Boot into iso with multipathed bcache disk
$ kvm -m 2048 -boot d -cdrom ./noble-
Select "Try or install Ubuntu" wait for the OS to load. Press F2 to escape to a shell to check multipathed devices.
Related branches
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 251 lines (+182/-35)2 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+48/-35)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+134/-0)
- MAAS Lander: Approve
- Alexsander de Souza: Approve
-
Diff: 251 lines (+182/-35)2 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+48/-35)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+134/-0)
- Jack Lloyd-Walters: Approve
- MAAS Lander: Approve
-
Diff: 251 lines (+182/-35)2 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+48/-35)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+134/-0)
- MAAS Lander: Needs Fixing
- Adam Collard (community): Approve
-
Diff: 159 lines (+101/-7)2 files modifiedsrc/provisioningserver/drivers/power/hmcz.py (+17/-5)
src/provisioningserver/drivers/power/tests/test_hmcz.py (+84/-2)
- MAAS Lander: Pending (unittests) requested
- MAAS Maintainers: Pending requested
-
Diff: 207 lines (+101/-12)4 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+0/-1)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+0/-4)
src/provisioningserver/drivers/power/hmcz.py (+17/-5)
src/provisioningserver/drivers/power/tests/test_hmcz.py (+84/-2)
- Björn Tillenius: Approve
- MAAS Lander: Needs Fixing
-
Diff: 247 lines (+197/-3)2 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+58/-3)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+139/-0)
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
milestone: | none → 2.10.0 |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.0.0 → 3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas: | |
importance: | Wishlist → Medium |
milestone: | none → 3.4.0 |
Changed in maas: | |
status: | Incomplete → Triaged |
tags: | added: bug-council canonical-bootstack |
Changed in maas: | |
importance: | Medium → High |
tags: | removed: bug-council |
Changed in maas: | |
assignee: | nobody → Alexsander de Souza (alexsander-souza) |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Changed in bcache-tools (Ubuntu): | |
status: | Incomplete → New |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.4.x → 3.5.0 |
no longer affects: | maas/3.2 |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
status: | Fix Committed → Fix Released |
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
summary: |
- Multipath JBOD storage devices are not shown via /dev/mapper but each - path as a single device. + multipathd bcache disks do not get picked up by multipath-tools during + boot |
description: | updated |
description: | updated |
Changed in bcache-tools (Ubuntu Oracular): | |
status: | New → Triaged |
Changed in bcache-tools (Ubuntu Noble): | |
status: | New → Triaged |
Changed in bcache-tools (Ubuntu Jammy): | |
status: | New → Triaged |
MAAS does not currently support multipath devices. Curtin, the tool MAAS uses to perform installations, does. We'd have to add support for gathering information on multipath devices during commissioning, a way to properly configure multipath storage, and a way to test multipath devices.