-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When deploying custom-ubuntu.tar.gz, the machine stays with "Deploying" even after "Installation complete" #232
Comments
can you run the following commands in the deployed machine?
Also get the content of |
Thank you, @alexsander-souza Here're the snippets of the outputs you asked, all of which indicate that the machine is unable to communicate with the MAAS.
Please note that the host '172.16.40.251' is actually reachable because I added the following lines in
Here's the ping result.
This problem doesn't happen with the official Ubuntu image on MAAS, so there are some differences between the official and custom images (e.g. missing required apt packages, etc.)? Thank you! |
By the way, I've also created and registered the custom rocky8 and 9 tar.gz images in the same way, which get deployed without a problem. So Rocky is fine. This problem seems unique to the custom ubuntu (and maybe debian as well). |
This issue is stale because it has been open for 30 days with no activity. |
this was probably fixed by #242, please try again |
@alexsander-souza I just tried it again, and it looks like the problem is resolved. Thank you so much! |
When I make and then deploy a custom-ubuntu.tar.gz to a baremetal machine on our MAAS, the machine somehow stays "Deploying" even after "Installation complete - Node disabled netboot" is logged in the Event log. The machine doesn't respond to ping. And 30 minutes later, the machine will be marked as "Failed deployment."
I checked the machine's status via a remote console; the OS was up; I could log in. However, the /etc/netplan/50-cloud-init.yaml doesn't exist, which is supposed to be generated during the deployment. So, there seems to be an issue on finalizing the deployment process after the installed OS is booted.
Here's the snippet of the Event log around the end of deployment.
Mon, 20 May. 2024 22:36:56 | Node changed status - From 'Deploying' to 'Failed deployment'
Mon, 20 May. 2024 22:36:56 | Marking node failed - Node operation 'Deploying' timed out after 30 minutes.
Mon, 20 May. 2024 22:06:12 | Script result - /tmp/install.log changed status from 'Running' to 'Passed'
Mon, 20 May. 2024 22:06:12 | Rebooting
Mon, 20 May. 2024 22:06:12 | Node installation - 'cloudinit' running config-power_state_change with frequency once-per-instance
Mon, 20 May. 2024 22:06:12 | Node installation - 'cloudinit' running config-final_message with frequency always
Mon, 20 May. 2024 22:06:12 | Node installation - 'cloudinit' running config-ssh_authkey_fingerprints with frequency once-per-instance
Mon, 20 May. 2024 22:06:12 | Node installation - 'cloudinit' running config-install_hotplug with frequency once-per-instance
Mon, 20 May. 2024 22:06:12 | Node installation - 'cloudinit' running config-keys_to_console with frequency once-per-instance
Mon, 20 May. 2024 22:06:10 | Installation complete - Node disabled netboot
Here's the bottom lines in the Installation output. Curtin seems to have finished installation without an issue.
Here's the versions of related apps.
Here's how I have registered the ubuntu-custom image.
Thank you for your attention. I will appreciate any comments.
The text was updated successfully, but these errors were encountered: