Getting error while deploying RHEL 9.4 converted image through canonical-maas.
Error as follows,
“Failed to start execute cloud user final script”
are you able to deploy ubuntu machines? Does this happen only with your custom image?
Yes I am getting this error only when I am trying to deploy custom rhel or oracle linux image on a machine.
Created custom images based on packer script which is available in your git repository.
Need a solution for this.
Any update regarding this issue?
Not by heart. That error usually is related to
- multiple dhcp servers on the network
- DNS issues
- Other network issues
I’d suggest to double check these points and as last resort provide a full reproducer in a bug report
I have already investigated this issue, and check all the above mentioned points,
1.No issues related to multiple DHCP servers on the network, as it contains only one dhcp which is from canonical maas
2. There is no dns configured, only default one is present
I am facing this issue only with RHEL and OLE custom images which are created by packer while esxi custom images are working as expected.
Need a solution for this RHEL and OLE OS.
Can you share the script and files you used to build the custom image? Also, if you could upload it somewhere somebody might double check
I have used the package which is in git repository,
And also used rhel 9.4 iso downloaded from rhel website and same for OLE 8.9.
Do I need to download ISO image from any canonical-maas specific location ?
Please provide that link, so that I can download it from that ink and create the custom image with packer.
I just built a rhel 9.4 image and successfully deployed it in my test env. I’d suggest to double check once again your logs and ideally try in a simple test environment with some virtual machines
You have to download the official “offline install” rhel image https://access.redhat.com/downloads/content/rhel
Thanks for the update, can you please share what is the file extension of Rhel custom image after conversion?
Sure, It’s a .tar.gz
Thanks a lot, I am able to deploy rhel 9.4 custom image through canonical maas.
I have one query, after successful installation of rhel, what is the default credential for login ?
No password is automatically set. The ssh keys of the MAAS user that deployed the machine will be automatically added (I.e. just ssh cloud-user@ip -i private_key)