Hi, I’m running into an issue where deploying a machine with the “Register as MAAS KVM Host” option enabled. When doing this the final rebooting phase hangs until it times out. The machine is actually deployed and running but something prevents MAAS from detecting this. I’ve tried using 22.04 and 20.04 as deployment targets. The installation log doesn’t show anything failing.
I saw this reported as a bug earlier but it’s marked as fixed in 3.3-beta. Is this still a but or am I doing something wrong. Any ideas?
May you check the rsyslog messages of those installations, looking for which version of cloud-init is used?
for example: 2022-12-12T19:31:15+00:00 [...]: Cloud-init v. 22.4.2-0ubuntu0~20.04.1 running 'init-local' at Mon, 12 Dec 2022 19:31:11 +0000. Up 30.33 seconds.
Same behavior here, this is definitely a bug. Opened a support case for this one on canonical side, could be reproduced yet no solution available.
As a workaround you can add the KVM host manually after rebooting the host. From the UI entering the KVM host ip and executing the suggested command to accept the key. This will then make the deployment successful and one can start to deploy KVM machines.
Tried again on 3.3.0~rc2-13143-g.398fe9a46 and still saw the same behavior, Cloud-init v. 22.4.2-0ubuntu0~22.04.1 according to the logs (is there a newer version?).
AFAIK that is the most up-to-date version of Cloud-init. Could you file a bug report and attach any relevant logs from attempting deploy up to the timeout?
I messed around with some of firewall settings today and now it actually is working for me on RC2, sorry about that.
I may try to downgrade to RC1 tomorrow and see if I was still having an issue there are not.