==== VALIDATION ==== All images used below were built with snapshots from 20240306T030400Z and 20240510T030400Z for cloud-init and ubuntu-pro-client respectively.
=== FOCAL FOSSA === kajiya@little-HAL:~$ cat startup.sh #!/bin/bash cp /etc/apt/sources.list /tmp/startup-sources.list touch /home/ubuntu/hello.txt -- kajiya@little-HAL:~$ gcloud compute instances create focal-startup- bug-2057965 --image testing-ubuntu-guest-2004-focal-v20240823 --image- project ubuntu-kajiya --metadata-from-file=startup-script=startup.sh kajiya@little-HAL:~$ ssh [email protected] -- ubuntu@focal-startup-bug-2057965:~$ pro --version 31.2.3~20.04 ubuntu@focal-startup-bug-2057965:~$ cloud-init --version /usr/bin/cloud-init 23.4.4-0ubuntu0~20.04.1 ubuntu@focal-startup-bug-2057965:~$ ls hello.txt ubuntu@focal-startup-bug-2057965:~$ diff /tmp/startup-sources.list /etc/apt/sources.list ubuntu@focal-startup-bug-2057965:~$ === JAMMY JELLYFISH === kajiya@little-HAL:~$ cat startup.sh #!/bin/bash cp /etc/apt/sources.list /tmp/startup-sources.list touch /home/ubuntu/hello.txt -- kajiya@little-HAL:~$ gcloud compute instances create jammy-startup- bug-2057965 --image testing-ubuntu-guest-2204-jammy-v20240823 --image- project ubuntu-kajiya --metadata-from-file=startup-script=startup.sh kajiya@little-HAL:~$ ssh [email protected] -- ubuntu@jammy-startup-bug-2057965:~$ pro --version 31.2.3~22.04 ubuntu@jammy-startup-bug-2057965:~$ cloud-init --version /usr/bin/cloud-init 23.4.4-0ubuntu0~22.04.1 ubuntu@jammy-startup-bug-2057965:~$ ls hello.txt ubuntu@jammy-startup-bug-2057965:~$ diff /tmp/startup-sources.list /etc/apt/sources.list ubuntu@jammy-startup-bug-2057965:~$ === NOBLE NUMBAT === kajiya@little-HAL:~$ cat startup.sh #!/bin/bash cp /etc/apt/sources.list /tmp/startup-sources.list touch /home/ubuntu/hello.txt -- kajiya@little-HAL:~$ gcloud compute instances create noble-startup- bug-2057965 --image testing-ubuntu-guest-2404-noble-amd64-v20240823 --image-project ubuntu-kajiya --metadata-from-file=startup- script=startup.sh kajiya@little-HAL:~$ ssh [email protected] -- ubuntu@noble-startup-bug-2057965:~$ ls hello.txt ubuntu@noble-startup-bug-2057965:~$ pro --version 31.2.3 ubuntu@noble-startup-bug-2057965:~$ cloud-init --version /usr/bin/cloud-init 24.1-0ubuntu1 ubuntu@noble-startup-bug-2057965:~$ diff /tmp/startup-sources.list /etc/apt/sources.list ubuntu@noble-startup-bug-2057965:~$ ubuntu@noble-startup-bug-2057965:~$ systemd-analyze critical-chain The time when unit became active or started is printed after the "@" character. The time the unit took to start is printed after the "+" character. graphical.target @23.527s └─multi-user.target @23.527s └─getty.target @23.527s └─[email protected] @23.527s └─system-getty.slice @23.522s └─setvtrgb.service @23.462s +57ms └─plymouth-quit-wait.service @23.435s +11ms └─systemd-user-sessions.service @23.394s +34ms └─cloud-config.service @22.305s +1.080s <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< └─basic.target @11.709s └─sockets.target @11.700s └─snapd.socket @11.628s +59ms └─sysinit.target @11.517s └─cloud-init.service @8.942s +2.206s └─systemd-networkd-wait-online.service @8.893s +31ms └─systemd-networkd.service @8.692s +175ms └─network-pre.target @8.677s └─cloud-init-local.service @4.842s +3.822s └─systemd-remount-fs.service @2.192s +117ms └─systemd-fsck-root.service @1.917s +243ms └─systemd-journald.socket @1.643s └─-.mount @1.520s └─-.slice @1.520s ** Tags removed: verification-needed verification-needed-focal verification-needed-jammy verification-needed-noble ** Tags added: verification-done verification-done-focal verification-done-jammy verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057965 Title: google-startup-scripts runs before cloud-init finished network setup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/google-guest-agent/+bug/2057965/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
