build openeuler maas image and deploy as VM of KVM pod
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
New
|
Undecided
|
Unassigned |
Bug Description
Reproduce like:
1. Using packer to build a OpenEuler MAAS image with pattern of centos7
2. Upload into maas as:
$ maas root boot-resources create name=openeuler20.03 title="openeuler 20.03 LTS" base_image=
3. Deploy this image, it will report below error just after finished download image.
Running curtin builtin curthooks
finish: cmd-install/
Traceback (most recent call last):
File "/curtin/
variant = name_to_
File "/curtin/
return DISTROS[
ValueError: tuple.index(x): x not in tuple
no longer affects: | curtin (Ubuntu) |
summary: |
- custom image deploy get failed in cmd-curthooks of - DISTROS[DISTROS.index(distname)] + build openeuler maas image and deploy as VM of KVM pod |
I guess MAAS expect specific distname, but I didn't find a way to trace or debug as it will shutdown machine immediately. Try to inject comand to the preseeds/ curtin_ userdata_ custom file, but get snapfuse readonly.