/srv/irclogs.ubuntu.com/2021/12/10/#cloud-init.txt

=== janitha9 is now known as janitha
MrGeneralHey there guys. I'm running Proxmox, Cloning a VM with cloud-init, Debian 10 or Debian 11, both throw a kernel panic in the first boot. I then reboot it and it reboots absolutely fine. Any idea?10:59
afarahHi. We're facing an issue where cloud-init 21.4 apparently hangs during boot on an Azure VM running Ubuntu LTS (both 18.04 and 20.04), apparently due to a network issue. This instance was outdated, the issue only occurs after upgrading cloud-init (via Ubuntu's package manager). I was wondering if anyone has experienced a similar issue before and14:22
afarahcould suggest a course of action.14:22
afarahThis is the full error message: 14:22
afarah[10.210319] cloud-init [878]: Cloud-init v. 21.4-0ubuntu1~20.04.1 running 'init-local' at Thu, 09 Dec 2021 22:13:52 +0000. Up 10.00 seconds.14:22
afarah[10.215062] cloud-init [878]: 2021-12-09 22:13:52,920- azure-py[WARNING]: Ignoring IMDS instance metadata. Get metadata from IMDS failed: HTTPConnectionPool (host='169.254.169.254", port=80): Max retries exceeded with url: /metadata/inatance?api-version=2021-08-01&extended=true (Caused by NewConnectionError ("<urllib3.connection.HTTPConnection14:22
afarahobject at Ox7fca9d420640>: Failed to establish a new connection: [Errno 1011] Network is unreachable'))14:22
afarah[10.241996] cloud-init [878]: 2021-12-09 22:13:52,953 azure.py[ERROR]: Could not crawl Azure metadata: No OVF or IMDS available14:22
falcojrMrGeneral: I commented on the launchpad bug14:46
falcojrafarah: that's not ringing any bells. Probably best to file a bug at https://bugs.launchpad.net/cloud-init and attach the tarball generated with "cloud-init collect-logs -u" (remove the -u if you have any sensitive userdata)14:52
afarahI'm not sure if I can obtain such logs, since the VM won't boot. Any suggestions? We restored the VM to a working snapshot, but that's before the issue so I guess it wouldn't contain any logs of the issue. 14:58
falcojrwhere did the error you pasted come from?15:03
afarahAzure serial console15:04
falcojrcjp256: any ideas for debugging ^ ?15:04
cjp256afarah: I can help debug, I'll PM you :)15:27
afarahThanks.15:28
holmanbMrGeneral: when it reboots is it using a crash kernel?16:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!