===== jammy verification complete ==== csmith@midtown:~$ lxc launch ubuntu-daily:jammy test-jammy Creating test-jammy Starting test-jammy csmith@midtown:~$ lxc file push myfile.yaml test-jammy/ csmith@midtown:~$ lxc file push setup_proposed.sh test-jammy/ csmith@midtown:~$ lxc exec test-jammy bash root@test-jammy:~# hostname # confirm test-jammy from standard meta-data test-jammy root@test-jammy:~# cloud-init clean # allow running init stage again root@test-jammy:~# # confirm usage failure root@test-jammy:~# cloud-init -f /myfile.yaml init usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force] {init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema} ... /usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' (choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 'devel', 'collect-logs', 'clean', 'status', 'schema') root@test-jammy:~# # upgrade cloud-init to confirm --file support root@test-jammy:~# sh /setup_proposed.sh deb http://archive.ubuntu.com/ubuntu jammy-proposed main Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1394 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB] Get:9 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [243 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB] Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [848 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1612 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [304 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [311 kB] Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [163 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1072 kB] Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16.8 kB] Get:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.2 kB] Get:22 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7588 B] Get:23 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B] Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [245 kB] Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22.1 kB] Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [42.7 kB] Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [10.4 kB] Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B] Get:29 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.1 kB] Get:30 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [11.0 kB] Get:31 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B] Get:32 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B] Get:33 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB] Get:34 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.2 kB] Get:35 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B] Get:36 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B] Get:37 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages [262 kB] Get:38 http://archive.ubuntu.com/ubuntu jammy-proposed/main Translation-en [55.7 kB] Get:39 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 c-n-f Metadata [2740 B] Fetched 27.7 MB in 3s (8312 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: cloud-init 1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded. Need to get 560 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 cloud-init all 24.1.3-0ubuntu1~22.04.3 [560 kB] Fetched 560 kB in 0s (1469 kB/s) Preconfiguring packages ... (Reading database ... 33924 files and directories currently installed.) Preparing to unpack .../cloud-init_24.1.3-0ubuntu1~22.04.3_all.deb ... Unpacking cloud-init (24.1.3-0ubuntu1~22.04.3) over (24.1.3-0ubuntu1~22.04.1) ... Setting up cloud-init (24.1.3-0ubuntu1~22.04.3) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@test-jammy:~# cloud-init --version /usr/bin/cloud-init 24.1.3-0ubuntu1~22.04.3 root@test-jammy:~# exit csmith@midtown:~$ # Assert cloud-init -f csmith@midtown:~$ lxc exec test-jammy -- cloud-init -f /myfile.yaml init Cloud-init v. 24.1.3-0ubuntu1~22.04.3 running 'init' at Sat, 04 May 2024 02:51:48 +0000. Up 1038.87 seconds. ci-info: +++++++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++++++ ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: | eth0 | True | 10.125.221.194 | 255.255.255.0 | global | 00:16:3e:52:a6:85 | ci-info: | eth0 | True | fd42:e810:4b9b:718:216:3eff:fe52:a685/64 | . | global | 00:16:3e:52:a6:85 | ci-info: | eth0 | True | fe80::216:3eff:fe52:a685/64 | . | link | 00:16:3e:52:a6:85 | ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | ci-info: | lo | True | ::1/128 | . | host | . | ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.125.221.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.125.221.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 2 | 10.125.221.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH | ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: +++++++++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++++++++ ci-info: +-------+-------------------------+--------------------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Interface | Flags | ci-info: +-------+-------------------------+--------------------------+-----------+-------+ ci-info: | 0 | fd42:e810:4b9b:718::/64 | :: | eth0 | U | ci-info: | 1 | fe80::/64 | :: | eth0 | U | ci-info: | 2 | ::/0 | fe80::216:3eff:fe42:b1a6 | eth0 | UGe | ci-info: | 4 | local | :: | eth0 | U | ci-info: | 5 | local | :: | eth0 | U | ci-info: | 6 | multicast | :: | eth0 | U | ci-info: +-------+-------------------------+--------------------------+-----------+-------+ 2024-05-04 02:51:48,379 - activators.py[WARNING]: Running ['netplan', 'apply'] resulted in stderr output: WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running. Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub The key fingerprint is: SHA256:adnojBnzq8VkNBJ8TUABxZbvB/RWChZoOWPvdq444Qc root@worked The key's randomart image is: +---[RSA 3072]----+ | .o==Oo. | | ..% = . | | .=oB o o | | o *+ + | | o So.o | | &E + o | | o.*+ + | | .oo. . | | ..oo.. | +----[SHA256]-----+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub The key fingerprint is: SHA256:P0sz+UTJL39OI5scmqgGzaTuYRbBX9wMXmZbTEXPs1E root@worked The key's randomart image is: +---[ECDSA 256]---+ | . +ooooE| | . o B o. .o| | o + + oo| | o.. . . +| | .=.S + . | | o.o . o . | | .+. B oo...| | o... ..B+o=.o| | .......o.+.o.| +----[SHA256]-----+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub The key fingerprint is: SHA256:EUJGWyhnBKNAD4Q+qHaUDBVa177bdsbfqxxHKgSGOo4 root@worked The key's randomart image is: +--[ED25519 256]--+ |=+.++*B.o | |.o=.oo+=.. | |o.+..+o..o | |.o + ..... | |. o o S . . | |.. .o .. . o | |. .E . o .. o . | | . o +o + | | . o .+.o.| +----[SHA256]-----+ csmith@midtown:~$ lxc exec test-jammy -- hostname # expect 'worked' worked (reverse-i-search)`rese': git ^Cset HEAD~1 csmith@midtown:~$ lxc exec test-jammy -- hostname test-jammy # reset hostname csmith@midtown:~$ lxc exec test-jammy -- cloud-init clean # reset cloud-init csmith@midtown:~$ # Assert cloud-init -f csmith@midtown:~$ lxc exec test-jammy -- cloud-init init -f /myfile.yaml Cloud-init v. 24.1.3-0ubuntu1~22.04.3 running 'init' at Sat, 04 May 2024 02:52:44 +0000. Up 1095.58 seconds. ci-info: +++++++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++++++ ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: | eth0 | True | 10.125.221.194 | 255.255.255.0 | global | 00:16:3e:52:a6:85 | ci-info: | eth0 | True | fd42:e810:4b9b:718:216:3eff:fe52:a685/64 | . | global | 00:16:3e:52:a6:85 | ci-info: | eth0 | True | fe80::216:3eff:fe52:a685/64 | . | link | 00:16:3e:52:a6:85 | ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | ci-info: | lo | True | ::1/128 | . | host | . | ci-info: +--------+------+------------------------------------------+---------------+--------+-------------------+ ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.125.221.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.125.221.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 2 | 10.125.221.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH | ci-info: +-------+--------------+--------------+-----------------+-----------+-------+ ci-info: +++++++++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++++++++ ci-info: +-------+-------------------------+--------------------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Interface | Flags | ci-info: +-------+-------------------------+--------------------------+-----------+-------+ ci-info: | 0 | fd42:e810:4b9b:718::/64 | :: | eth0 | U | ci-info: | 1 | fe80::/64 | :: | eth0 | U | ci-info: | 2 | ::/0 | fe80::216:3eff:fe42:b1a6 | eth0 | UGe | ci-info: | 4 | local | :: | eth0 | U | ci-info: | 5 | local | :: | eth0 | U | ci-info: | 6 | multicast | :: | eth0 | U | ci-info: +-------+-------------------------+--------------------------+-----------+-------+ 2024-05-04 02:52:45,071 - activators.py[WARNING]: Running ['netplan', 'apply'] resulted in stderr output: WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running. Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub The key fingerprint is: SHA256:IJtRVvZGYTcdT2uwAmg5sDke8DS8+KjNC8dAldEWQIs root@worked The key's randomart image is: +---[RSA 3072]----+ | .**==.=.+.oo...| | o.=*+* +.. .+o.| | E .=*+ . o. . o.| |. ..*o. . . . | | . =. S | | o. . | | .+o | | .oo | | .. | +----[SHA256]-----+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub The key fingerprint is: SHA256:czK2ghHB6gXmGJM7pqlVdNFfNZab/B06r3VhtywXJZs root@worked The key's randomart image is: +---[ECDSA 256]---+ | . .. .o .+. | |+ o o.. . .... | | B +.. . . ..o.| |+.o o. . +=.| |o+ o. S . E=+| |o o o . * oo B| |.. . . . .o=.| |. . +..| | .. | +----[SHA256]-----+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub The key fingerprint is: SHA256:zMvOdid4bZJIcgM+mSJwi4vddAWs3kFxtjHuOh53sXI root@worked The key's randomart image is: +--[ED25519 256]--+ | ...= | | ++ + | | o .o | |. . . o+. | | + o o *S . | |. o + Oo+. o | |.o + o+==+Eo | |o . .. *++* + | | ..oo = | +----[SHA256]-----+ csmith@midtown:~$ lxc exec test-jammy -- hostname # expect 'worked' worked csmith@midtown:~$ # Assert all default systemd unit behavior is unaffected by this changeset csmith@midtown:~$ lxc exec test-jammy -- cloud-init clean --logs ---reboot usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--file MAIN_FILES] [--force] {init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema} csmith@midtown:~$ lxc exec test-jammy -- cloud-init clean --logs --reboot csmith@midtown:~$ # Assert no errors or warnings logged from default boot stages csmith@midtown:~$ lxc exec test-jammy -- cloud-init status --wait --format=yaml --- _schema_version: '1' boot_status_code: enabled-by-generator datasource: lxd detail: DataSourceLXD errors: [] extended_status: done init: errors: [] finished: 1714791199.0856757 recoverable_errors: {} start: 1714791198.6318102 init-local: errors: [] finished: 1714791197.7976918 recoverable_errors: {} start: 1714791197.6019137 last_update: Sat, 04 May 2024 02:53:21 +0000 modules-config: errors: [] finished: 1714791201.3390307 recoverable_errors: {} start: 1714791201.1780207 modules-final: errors: [] finished: 1714791201.5950468 recoverable_errors: {} start: 1714791201.525036 recoverable_errors: {} schemas: '1': boot_status_code: enabled-by-generator datasource: lxd detail: DataSourceLXD errors: [] extended_status: done init: errors: [] finished: 1714791199.0856757 recoverable_errors: {} start: 1714791198.6318102 init-local: errors: [] finished: 1714791197.7976918 recoverable_errors: {} start: 1714791197.6019137 last_update: Sat, 04 May 2024 02:53:21 +0000 modules-config: errors: [] finished: 1714791201.3390307 recoverable_errors: {} start: 1714791201.1780207 modules-final: errors: [] finished: 1714791201.5950468 recoverable_errors: {} start: 1714791201.525036 recoverable_errors: {} stage: null status: done stage: null status: done ...