Upload the image to MAAS (via maas admin boot-resources create)
Verify your custom image (via maas admin machines read)
It seems to me that import and deployment steps for a custom image are missed in this instruction. Where should I look for them? For me the image keeps being in “Uploaded” state (others are in “Synced” state). Is it ok?
Alexander, I’ve googled “synced” “uploaded” site:maas.io to get some explanation of statuses and got only some group messages. Where should I look?
I also was guessing filetype field for values (ddxz, ddgz).
I’ve noticed you’ve updated packer-maas for rocky9. What is correct filetype for rocky9.tar.gz ? I guessed tgz - is it correct?
I passed through maas $PROFILE boot-resources create command successfully. There was a problem that maas reported in my scripts is not a valid architecture, and the solution was to add another retry (maybe it means “to wait a bit”)
Now I get to a deployment stage and received a message Marking node failed - Missing boot image custom/amd64/ga-20.04/rocky9. What could be a reason for this?
The command was exactly like in your readme. maas "{{ maas_user }}" boot-resources create name="custom/rocky9" title='Rocky 9 Custom' architecture=amd64/generic base_image="rhel/9" filetype="tgz" content@="x1/rocky9.tar.gz"
AFAIU the problem happened when MAAS was not fully initialized. Tt gave the error about architecture.
When I waited a bit, the same command worked properly.
I still get some strange Marking node failed - Missing boot image custom/amd64/ga-20.04/rocky9 problem during deploy stage
This is how the problem looks like on machine which is being deployed; I wonder if ubuntu in URL is correct if I install rocky.
Still boot-resources create occasionally fail. I wonder boot-resources import should be completed before boot-resources create can be successful (eg boot-resources is-importing becomes false)
Upd. I’ve tried this several times; seem to be the solution for intermittent boot-resources create failures; could be that importing populates a list of supported architectures. I will start another thread about a separate topic