For whether or not the issue affects Groovy. I've been creating Groovy VMs on a loop to confirm if I could reproduce it there and (after ~50 tries) I still haven't seen it happen. I think we can safely assume that this issue does not affect Groovy.
Also I was able to reproduce the issue with gen1 hyper-v (before I was only using gen2).
To continue the system log investigation, I can add the following:
GOOD
Apr 19 08:53:43 hirsute-man-2 systemd[1]: Finished Wait for Network to be Configured.
Apr 19 08:53:43 hirsute-man-2 systemd-networkd[660]: eth0: Gained carrier
Apr 19 08:53:43 hirsute-man-2 systemd-networkd[660]: eth0: DHCPv4 address 10.0.0.4/24 via 10.0.0.1
Apr 19 08:53:44 hirsute-man-2 cloud-init[667]: Cloud-init v. 21.1-19-gbad84ad4-0ubuntu2 running 'init' at Mon, 19 Apr 2021 08:53:44 +0000. Up 84.81 seconds.
Apr 19 08:53:48 hirsute-man-2 systemd-networkd[660]: enP6454s1: Link UP
Apr 19 08:53:48 hirsute-man-2 systemd-networkd[660]: enP6454s1: Gained carrier
BAD
Apr 19 08:33:48 groovy-acc-UWP5F systemd[1]: Finished Wait for Network to be Configured.
Apr 19 08:33:48 groovy-acc-UWP5F systemd-networkd[616]: eth0: Gained carrier
Apr 19 08:33:48 groovy-acc-UWP5F cloud-init[626]: Cloud-init v. 21.1-19-gbad84ad4-0ubuntu2 running 'init' at Mon, 19 Apr 2021 08:33:48 +0000. Up 7.34 seconds.
Apr 19 08:33:48 groovy-acc-UWP5F systemd-networkd[616]: enP30932s1np0: Gained carrier
Apr 19 08:33:51 groovy-acc-UWP5F systemd-networkd[616]: eth0: DHCPv4 address 10.0.0.4/24 via 10.0.0.1
On GOOD, DHCP is configured before Cloud-init runs, on BAD it's done after. This is "obvious" considering the error raised by cloud-init but I just wanted to underline it.
Hi there,
For whether or not the issue affects Groovy. I've been creating Groovy VMs on a loop to confirm if I could reproduce it there and (after ~50 tries) I still haven't seen it happen. I think we can safely assume that this issue does not affect Groovy.
Also I was able to reproduce the issue with gen1 hyper-v (before I was only using gen2).
To continue the system log investigation, I can add the following:
GOOD networkd[ 660]: eth0: Gained carrier networkd[ 660]: eth0: DHCPv4 address 10.0.0.4/24 via 10.0.0.1 gbad84ad4- 0ubuntu2 running 'init' at Mon, 19 Apr 2021 08:53:44 +0000. Up 84.81 seconds. networkd[ 660]: enP6454s1: Link UP networkd[ 660]: enP6454s1: Gained carrier
Apr 19 08:53:43 hirsute-man-2 systemd[1]: Finished Wait for Network to be Configured.
Apr 19 08:53:43 hirsute-man-2 systemd-
Apr 19 08:53:43 hirsute-man-2 systemd-
Apr 19 08:53:44 hirsute-man-2 cloud-init[667]: Cloud-init v. 21.1-19-
Apr 19 08:53:48 hirsute-man-2 systemd-
Apr 19 08:53:48 hirsute-man-2 systemd-
BAD networkd[ 616]: eth0: Gained carrier gbad84ad4- 0ubuntu2 running 'init' at Mon, 19 Apr 2021 08:33:48 +0000. Up 7.34 seconds. networkd[ 616]: enP30932s1np0: Gained carrier networkd[ 616]: eth0: DHCPv4 address 10.0.0.4/24 via 10.0.0.1
Apr 19 08:33:48 groovy-acc-UWP5F systemd[1]: Finished Wait for Network to be Configured.
Apr 19 08:33:48 groovy-acc-UWP5F systemd-
Apr 19 08:33:48 groovy-acc-UWP5F cloud-init[626]: Cloud-init v. 21.1-19-
Apr 19 08:33:48 groovy-acc-UWP5F systemd-
Apr 19 08:33:51 groovy-acc-UWP5F systemd-
On GOOD, DHCP is configured before Cloud-init runs, on BAD it's done after. This is "obvious" considering the error raised by cloud-init but I just wanted to underline it.