curtin fails to deploy centos 8 on nvme with multipath from ubuntu 20.04
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 | ||
curtin |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
https:/
centos 8 does not support multipath nvme.
ubuntu 20.04 supports multipath nvme.
efibootmgr in a centos chroot, when booted into ubuntu 20.04 kernel fails to create efibootmgr entry for the multipath nvme drive.
efibootmgr on ubuntu 20.04 can create correct entry for the mulipath nvme drive, and the entry is universal one (based on gpt uuids, rather than anything nvme specific). Thus it does not matter which efibootmgr is used to create it.
But since the centos one is buggy, we should be installing efiboogmgr in the ephemeral environment and using that one; instead of the buggy one inside the centos chroot.
as a workarounds one can
* choose non-nvme drive as the boot device
* use ubuntu 18.04 or older as the ephemeral provisioning enviornment
* in maas set to boot ephemeral environment with kernel argument
"nvme-
* ask RHEL to fix their stuff
Related branches
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 317 lines (+131/-12)6 files modifiedsrc/maasserver/rpc/boot.py (+26/-4)
src/maasserver/rpc/tests/test_boot.py (+83/-8)
src/maasserver/rpc/tests/test_regionservice_calls.py (+1/-0)
src/provisioningserver/kernel_opts.py (+3/-0)
src/provisioningserver/rpc/region.py (+1/-0)
src/provisioningserver/tests/test_kernel_opts.py (+17/-0)
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 340 lines (+129/-10)6 files modifiedsrc/maasserver/rpc/boot.py (+26/-4)
src/maasserver/rpc/tests/test_boot.py (+81/-6)
src/maasserver/rpc/tests/test_regionservice_calls.py (+1/-0)
src/provisioningserver/kernel_opts.py (+3/-0)
src/provisioningserver/rpc/region.py (+1/-0)
src/provisioningserver/tests/test_kernel_opts.py (+17/-0)
- Christian Grabowski: Approve
- MAAS Lander: Approve
-
Diff: 340 lines (+129/-10)6 files modifiedsrc/maasserver/rpc/boot.py (+26/-4)
src/maasserver/rpc/tests/test_boot.py (+81/-6)
src/maasserver/rpc/tests/test_regionservice_calls.py (+1/-0)
src/provisioningserver/kernel_opts.py (+3/-0)
src/provisioningserver/rpc/region.py (+1/-0)
src/provisioningserver/tests/test_kernel_opts.py (+17/-0)
description: | updated |
description: | updated |
Changed in maas: | |
status: | Incomplete → New |
tags: | added: bug-council |
tags: | removed: bug-council |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.x → 3.5.0 |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
status: | Fix Committed → Fix Released |
Thanks for the help Dimitri, I also ran into this problem today while trying to deploy centos8 via maas on a machine with a nvme drive. I was able to workaround this by appending "nvme-core. multipath= 0" in the kernel boot arguments.