-
Notifications
You must be signed in to change notification settings - Fork 161
Description
I am running 1_1_6 and have noticed that set_hostname and hostname are constantly setting the hostname and rebooting the machine during deployment. Eventually the loop gets broken by something and it continues but it is adding 3-10 mins to my VMs launching.
I have also noticed this is some kind of race condition. Sometimes it will go right through but others it will reboot 30 times.
here is the snippet from the log which is repeated many times. Disabling the reboot functionality of cloud init works but some of these options like hostname change requires a reboot to actually work.
2025-08-25 20:58:06.805 5412 INFO cloudbaseinit.utils.hostname [-] Setting hostname: jump-lax
2025-08-25 20:58:07.061 5412 INFO cloudbaseinit.init [-] Rebooting
2025-08-25 20:58:07.162 4984 INFO cloudbaseinit.init [-] Process execution ended with exit code: 0