# Manual OpenStack upgrade and clean install validation Xenial, Bionic, Cosmic SRU_SERIES="xenial bionic disco eoan" # local values LP_USER="chad.smith" ADMIN_NET_ID="" SSH_KEY="mykey" cat > sethostname.yaml << EOF ## template: jinja #cloud-config ssh_import_id : [$LP_USER] hostname: SRU-worked-{{v1.cloud_name}} EOF cat > setup_proposed.sh < images.json fi # create a floating ip, keep the IP and floating-ip UUID for cleanup FIP=( `openstack floating ip create ext_net -f json | jq -r '. | .floating_ip_address + " " + .id'` ) VM_IP=${FIP[0]}; FIP_ID=${FIP[1]} sshopts=( -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR ) for series in $SRU_SERIES; do echo "### BEGIN $series" if [ "$series" = "xenial" ]; then netcfg="/etc/network/interfaces.d/50-cloud-init.cfg" else netcfg="/etc/netplan/50-cloud-init.yaml" fi # Determine image, launch instance and attach IP address image=$(cat images.json | jq -r '.[]|select((.Name|contains("disk1.img")) and (.Name|contains("'$series'"))) | .ID' | tail -n 1) openstack server create --flavor m1.small --image $image --key-name $SSH_KEY --nic net-id=$ADMIN_NET_ID --user-data sethostname.yaml test-$series --wait openstack server add floating ip test-$series $VM_IP sleep 10 # Wait for the instance to boot while ! ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init status --wait --long; do sleep 5 done # Capture current state ssh "${sshopts[@]}" ubuntu@$VM_IP -- dpkg-query --show cloud-init ssh "${sshopts[@]}" ubuntu@$VM_IP -- sudo cat /run/cloud-init/result.json ssh "${sshopts[@]}" ubuntu@$VM_IP -- grep Trace /var/log/cloud-init.log ssh "${sshopts[@]}" ubuntu@$VM_IP -- systemd-analyze ssh "${sshopts[@]}" ubuntu@$VM_IP -- systemd-analyze blame ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init analyze show ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init analyze blame echo 'Networking config' ssh "${sshopts[@]}" ubuntu@$VM_IP -- cat $netcfg # Upgrade to -proposed cloud-init and reboot scp "${sshopts[@]}" setup_proposed.sh ubuntu@$VM_IP:. ssh "${sshopts[@]}" ubuntu@$VM_IP sudo bash ./setup_proposed.sh 2>&1 | egrep 'cloud-init' ssh "${sshopts[@]}" ubuntu@$VM_IP -- dpkg-query --show cloud-init ssh "${sshopts[@]}" ubuntu@$VM_IP -- sudo hostname SRU-didnt-work ssh "${sshopts[@]}" ubuntu@$VM_IP -- sudo rm -f $netcfg ssh "${sshopts[@]}" ubuntu@$VM_IP -- sudo cloud-init clean --logs --reboot ssh-keygen -f "/home/ubuntu/.ssh/known_hosts" -R $VM_IP sleep 10 # Wait for the instance to actually go down while ! ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init status --wait --long; do sleep 1 done ssh "${sshopts[@]}" ubuntu@$VM_IP -- hostname ssh "${sshopts[@]}" ubuntu@$VM_IP -- "grep Trace /var/log/cloud-init*" ssh "${sshopts[@]}" ubuntu@$VM_IP -- systemd-analyze ssh "${sshopts[@]}" ubuntu@$VM_IP -- systemd-analyze blame ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init analyze show ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init analyze blame echo 'After upgrade Networking config' ssh "${sshopts[@]}" ubuntu@$VM_IP -- cat $netcfg ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init query --format "'cloud-region: {{cloud_name}}-{{region}}'" echo "Get cloud-id" ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-id echo 'Validating whether metadata is being updated per boot LP:1819913' ssh "${sshopts[@]}" ubuntu@$VM_IP -- "grep 'Update datasource' /var/log/cloud-init.log" ssh "${sshopts[@]}" ubuntu@$VM_IP -- sudo reboot || true sleep 10 # Wait for the instance to actually go down while ! ssh "${sshopts[@]}" ubuntu@$VM_IP -- cloud-init status --wait --long; do sleep 1 done echo 'After reboot' ssh "${sshopts[@]}" ubuntu@$VM_IP -- "grep 'Update datasource' /var/log/cloud-init.log" done openstack floating ip delete $FIP_ID for series in $SRU_SERIES; do openstack server delete test-$series done ### BEGIN SRU Verification ### ### BEGIN xenial +-----------------------------+--------------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------------+--------------------------------------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2019-10-04T22:20:54.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | blackboxsw_admin_net=10.5.0.28 | | adminPass | CZh6xUwq2cjo | | config_drive | | | created | 2019-10-04T22:20:41Z | | flavor | m1.small (2) | | hostId | 2c09c7b48939af42ec51ec3453d34cad2e6eb793d4291e6a85a37458 | | id | 67dda8c6-d115-4b8b-9ffb-d77043b38729 | | image | auto-sync/ubuntu-xenial-daily-amd64-server-20191002.1-disk1.img (8518a5a8-5d5b-462d-976b-eb390e4aa8d6) | | key_name | mykey | | name | test-xenial | | progress | 0 | | project_id | 3354f8a4ec5e4fbd827a6999c311f5d1 | | properties | | | security_groups | name='default' | | status | ACTIVE | | updated | 2019-10-04T22:20:55Z | | user_id | cb723de24b094ed7959d73ce7a95d291 | | volumes_attached | | +-----------------------------+--------------------------------------------------------------------------------------------------------+ ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused status: done time: Fri, 04 Oct 2019 22:21:21 +0000 detail: DataSourceOpenStackLocal [net,ver=2] cloud-init 19.2-36-g059d049c-0ubuntu1~16.04.1 sudo: unable to resolve host SRU-worked-openstack { "v1": { "datasource": "DataSourceOpenStackLocal [net,ver=2]", "errors": [] } } Startup finished in 4.216s (kernel) + 21.894s (userspace) = 26.111s 14.238s cloud-init-local.service 3.399s console-setup.service 2.853s apparmor.service 2.354s cloud-config.service 2.045s dev-vda1.device 1.565s snapd.seeded.service 1.133s pollinate.service 1.105s cloud-init.service 626ms snapd.service 611ms cloud-final.service 540ms lvm2-monitor.service 415ms accounts-daemon.service 330ms grub-common.service 297ms systemd-logind.service 272ms ufw.service 268ms keyboard-setup.service 262ms iscsid.service 237ms resolvconf.service 235ms lxd-containers.service 232ms dev-hugepages.mount 220ms mdadm.service 206ms systemd-remount-fs.service 193ms sys-kernel-debug.mount 179ms networking.service 167ms systemd-modules-load.service 159ms rsyslog.service 145ms irqbalance.service 141ms apport.service 129ms ondemand.service 128ms rc-local.service 110ms systemd-udev-trigger.service 100ms polkitd.service 98ms systemd-journal-flush.service 83ms dev-mqueue.mount 81ms open-iscsi.service 75ms systemd-tmpfiles-setup-dev.service 73ms systemd-sysctl.service 71ms kmod-static-nodes.service 69ms lxd.socket 64ms snapd.socket 57ms systemd-tmpfiles-setup.service 54ms systemd-journald.service 51ms plymouth-read-write.service 50ms systemd-timesyncd.service 49ms ssh.service 49ms sys-fs-fuse-connections.mount 42ms systemd-random-seed.service 32ms user@1000.service 31ms systemd-machine-id-commit.service 30ms systemd-user-sessions.service 25ms systemd-update-utmp.service 25ms setvtrgb.service 24ms systemd-update-utmp-runlevel.service 19ms plymouth-quit.service 19ms systemd-udevd.service 17ms plymouth-quit-wait.service -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.03900s +00.00000s |`->no local data found from DataSourceNoCloud @00.21600s +00.07800s |`->no local data found from DataSourceConfigDrive @00.29500s +00.04800s |`->no local data found from DataSourceOpenNebula @00.34300s +00.02400s |`->no local data found from DataSourceDigitalOcean @00.36700s +00.03000s Starting stage: init-local/search-Azure Starting stage: azure-ds/_get_data |`->Non-Azure DMI asset tag '' discovered. @00.39800s +00.01400s Finished stage: (azure-ds/_get_data) 00.01400 seconds Finished stage: (init-local/search-Azure) 00.01600 seconds |`->no local data found from DataSourceOVF @00.41300s +00.04400s |`->found local data from DataSourceOpenStackLocal @00.45700s +11.89800s Finished stage: (init-local) 12.48100 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @13.12700s +00.00500s |`->setting up datasource @13.19700s +00.00000s |`->reading and applying user-data @13.20500s +00.00800s |`->reading and applying vendor-data @13.21300s +00.00000s |`->activating datasource @13.24200s +00.00100s |`->config-migrator ran successfully @13.25800s +00.00100s |`->config-seed_random ran successfully @13.25900s +00.00100s |`->config-bootcmd ran successfully @13.26000s +00.00100s |`->config-write-files ran successfully @13.26100s +00.00100s |`->config-growpart ran successfully @13.26200s +00.06900s |`->config-resizefs ran successfully @13.33100s +00.03900s |`->config-disk_setup ran successfully @13.37100s +00.00200s |`->config-mounts ran successfully @13.37400s +00.14000s |`->config-set_hostname ran successfully @13.51500s +00.00700s |`->config-update_hostname ran successfully @13.52200s +00.00200s |`->config-update_etc_hosts ran successfully @13.52500s +00.00000s |`->config-ca-certs ran successfully @13.52600s +00.00100s |`->config-rsyslog ran successfully @13.52700s +00.00100s |`->config-users-groups ran successfully @13.52800s +00.05300s |`->config-ssh ran successfully @13.58100s +00.14000s Finished stage: (init-network) 00.61000 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @16.74200s +00.00000s |`->config-snap ran successfully @16.74300s +00.00000s |`->config-snap_config ran successfully @16.74400s +00.00000s |`->config-ssh-import-id ran successfully @16.74500s +00.53800s |`->config-locale ran successfully @17.28700s +00.99000s |`->config-set-passwords ran successfully @18.27800s +00.00100s |`->config-grub-dpkg ran successfully @18.27900s +00.20700s |`->config-apt-pipelining ran successfully @18.48800s +00.00200s |`->config-apt-configure ran successfully @18.49100s +00.11700s |`->config-ubuntu-advantage ran successfully @18.60800s +00.00100s |`->config-ntp ran successfully @18.61000s +00.00100s |`->config-timezone ran successfully @18.61100s +00.00100s |`->config-disable-ec2-metadata ran successfully @18.61200s +00.00000s |`->config-runcmd ran successfully @18.61300s +00.00100s |`->config-byobu ran successfully @18.61400s +00.00100s Finished stage: (modules-config) 01.89200 seconds Starting stage: modules-final |`->config-snappy ran successfully @19.08200s +00.00200s |`->config-package-update-upgrade-install ran successfully @19.08500s +00.00100s |`->config-fan ran successfully @19.08600s +00.00100s |`->config-landscape ran successfully @19.08700s +00.00100s |`->config-lxd ran successfully @19.08800s +00.00100s |`->config-ubuntu-drivers ran successfully @19.09000s +00.00200s |`->config-puppet ran successfully @19.09200s +00.00100s |`->config-chef ran successfully @19.09300s +00.00100s |`->config-mcollective ran successfully @19.09400s +00.00100s |`->config-salt-minion ran successfully @19.09500s +00.00100s |`->config-rightscale_userdata ran successfully @19.09600s +00.00100s |`->config-scripts-vendor ran successfully @19.09800s +00.00000s |`->config-scripts-per-once ran successfully @19.09900s +00.00000s |`->config-scripts-per-boot ran successfully @19.10000s +00.00000s |`->config-scripts-per-instance ran successfully @19.10000s +00.00100s |`->config-scripts-user ran successfully @19.10200s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @19.10300s +00.03400s |`->config-keys-to-console ran successfully @19.13800s +00.06300s |`->config-phone-home ran successfully @19.20200s +00.00200s |`->config-final-message ran successfully @19.20500s +00.00800s |`->config-power-state-change ran successfully @19.21400s +00.00100s Finished stage: (modules-final) 00.15800 seconds Total Time: 15.17100 seconds 1 boot records analyzed -- Boot Record 01 -- 11.89800s (init-local/search-OpenStackLocal) 00.99000s (modules-config/config-locale) 00.53800s (modules-config/config-ssh-import-id) 00.20700s (modules-config/config-grub-dpkg) 00.14000s (init-network/config-ssh) 00.14000s (init-network/config-mounts) 00.11700s (modules-config/config-apt-configure) 00.07800s (init-local/search-NoCloud) 00.06900s (init-network/config-growpart) 00.06300s (modules-final/config-keys-to-console) 00.05300s (init-network/config-users-groups) 00.04800s (init-local/search-ConfigDrive) 00.04400s (init-local/search-OVF) 00.03900s (init-network/config-resizefs) 00.03400s (modules-final/config-ssh-authkey-fingerprints) 00.03000s (init-local/search-DigitalOcean) 00.02400s (init-local/search-OpenNebula) 00.01400s (azure-ds/check-platform-viability) 00.00800s (modules-final/config-final-message) 00.00800s (init-network/consume-user-data) 00.00700s (init-network/config-set_hostname) 00.00500s (init-network/check-cache) 00.00200s (modules-final/config-ubuntu-drivers) 00.00200s (modules-final/config-snappy) 00.00200s (modules-final/config-phone-home) 00.00200s (modules-config/config-apt-pipelining) 00.00200s (init-network/config-update_hostname) 00.00200s (init-network/config-disk_setup) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-rightscale_userdata) 00.00100s (modules-final/config-puppet) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-set-passwords) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-byobu) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-seed_random) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-ca-certs) 00.00100s (init-network/config-bootcmd) 00.00100s (init-network/activate-datasource) 00.00000s (modules-final/config-scripts-vendor) 00.00000s (modules-final/config-scripts-per-once) 00.00000s (modules-final/config-scripts-per-boot) 00.00000s (modules-config/config-snap_config) 00.00000s (modules-config/config-snap) 00.00000s (modules-config/config-emit_upstart) 00.00000s (modules-config/config-disable-ec2-metadata) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-update_etc_hosts) 00.00000s (init-local/check-cache) 1 boot records analyzed Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} auto lo iface lo inet loopback auto ens3 iface ens3 inet dhcp cloud-init Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 cloud-init all 19.2-36-g059d049c-0ubuntu2~16.04.1 [408 kB] Preparing to unpack .../cloud-init_19.2-36-g059d049c-0ubuntu2~16.04.1_all.deb ... Unpacking cloud-init (19.2-36-g059d049c-0ubuntu2~16.04.1) over (19.2-36-g059d049c-0ubuntu1~16.04.1) ... Setting up cloud-init (19.2-36-g059d049c-0ubuntu2~16.04.1) ... Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init' cloud-init 19.2-36-g059d049c-0ubuntu2~16.04.1 sudo: unable to resolve host SRU-worked-openstack sudo: unable to resolve host SRU-didnt-work sudo: unable to resolve host SRU-didnt-work Connection to 10.245.162.240 closed by remote host. Host 10.245.162.240 not found in /home/ubuntu/.ssh/known_hosts ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ....... status: done time: Fri, 04 Oct 2019 22:22:08 +0000 detail: DataSourceOpenStackLocal [net,ver=2] SRU-worked-openstack Startup finished in 4.095s (kernel) + 19.726s (userspace) = 23.822s 13.672s cloud-init-local.service 2.282s cloud-config.service 2.071s dev-vda1.device 1.624s console-setup.service 1.144s cloud-init.service 587ms cloud-final.service 531ms snapd.service 413ms accounts-daemon.service 393ms lvm2-monitor.service 382ms apparmor.service 366ms grub-common.service 323ms systemd-logind.service 296ms irqbalance.service 287ms keyboard-setup.service 285ms ondemand.service 276ms systemd-remount-fs.service 241ms dev-mqueue.mount 240ms systemd-modules-load.service 235ms open-iscsi.service 224ms resolvconf.service 221ms mdadm.service 212ms ssh.service 190ms networking.service 164ms lxd-containers.service 159ms dev-hugepages.mount 148ms ufw.service 139ms systemd-fsck@dev-vdb.service 137ms kmod-static-nodes.service 136ms apport.service 109ms systemd-udev-trigger.service 109ms snapd.seeded.service 107ms systemd-journal-flush.service 97ms polkitd.service 87ms rsyslog.service 77ms lxd.socket 76ms snapd.socket 76ms iscsid.service 72ms sys-kernel-debug.mount 60ms systemd-tmpfiles-setup-dev.service 53ms systemd-user-sessions.service 50ms systemd-journald.service 50ms systemd-sysctl.service 49ms systemd-udevd.service 47ms systemd-random-seed.service 46ms systemd-update-utmp-runlevel.service 44ms systemd-timesyncd.service 42ms sys-fs-fuse-connections.mount 41ms systemd-tmpfiles-setup.service 39ms plymouth-read-write.service 35ms systemd-update-utmp.service 34ms plymouth-quit.service 29ms user@1000.service 25ms setvtrgb.service 21ms plymouth-quit-wait.service 18ms rc-local.service -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.03400s +00.00000s |`->no local data found from DataSourceNoCloud @00.17200s +00.08100s |`->no local data found from DataSourceConfigDrive @00.25300s +00.04100s |`->no local data found from DataSourceOpenNebula @00.29400s +00.01600s |`->no local data found from DataSourceDigitalOcean @00.31000s +00.01600s Starting stage: init-local/search-Azure Starting stage: azure-ds/_get_data |`->Non-Azure DMI asset tag '' discovered. @00.32700s +00.01700s Finished stage: (azure-ds/_get_data) 00.01700 seconds Finished stage: (init-local/search-Azure) 00.02200 seconds |`->no local data found from DataSourceOVF @00.34800s +00.02600s |`->found local data from DataSourceOpenStackLocal @00.37400s +11.76800s Finished stage: (init-local) 12.22900 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @12.90700s +00.00600s |`->setting up datasource @12.98600s +00.00000s |`->reading and applying user-data @12.99600s +00.00900s |`->reading and applying vendor-data @13.00500s +00.00000s |`->activating datasource @13.03800s +00.00200s |`->config-migrator ran successfully @13.05600s +00.00100s |`->config-seed_random ran successfully @13.05700s +00.00200s |`->config-bootcmd ran successfully @13.05900s +00.00000s |`->config-write-files ran successfully @13.06000s +00.00100s |`->config-growpart ran successfully @13.06100s +00.04300s |`->config-resizefs ran successfully @13.10500s +00.01700s |`->config-disk_setup ran successfully @13.12300s +00.00300s |`->config-mounts ran successfully @13.12700s +00.09900s |`->config-set_hostname ran successfully @13.22600s +00.00700s |`->config-update_hostname ran successfully @13.23300s +00.00200s |`->config-update_etc_hosts ran successfully @13.23600s +00.00000s |`->config-ca-certs ran successfully @13.23600s +00.00100s |`->config-rsyslog ran successfully @13.23800s +00.00000s |`->config-users-groups ran successfully @13.23900s +00.01200s |`->config-ssh ran successfully @13.25200s +00.27700s Finished stage: (init-network) 00.63800 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @15.97400s +00.00000s |`->config-snap ran successfully @15.97500s +00.00100s |`->config-snap_config ran successfully @15.97600s +00.00300s |`->config-ssh-import-id ran successfully @15.97900s +00.56900s |`->config-locale ran successfully @16.54900s +00.00200s |`->config-set-passwords ran successfully @16.55100s +00.00400s |`->config-grub-dpkg ran successfully @16.55500s +00.16400s |`->config-apt-pipelining ran successfully @16.72000s +00.00100s |`->config-apt-configure ran successfully @16.72200s +00.11200s |`->config-ubuntu-advantage ran successfully @16.83500s +00.00100s |`->config-ntp ran successfully @16.83600s +00.00100s |`->config-timezone ran successfully @16.83700s +00.00100s |`->config-disable-ec2-metadata ran successfully @16.83800s +00.00000s |`->config-runcmd ran successfully @16.83900s +00.00100s |`->config-byobu ran successfully @16.84000s +00.00100s Finished stage: (modules-config) 00.89700 seconds Starting stage: modules-final |`->config-snappy ran successfully @17.29000s +00.00200s |`->config-package-update-upgrade-install ran successfully @17.29300s +00.00000s |`->config-fan ran successfully @17.29400s +00.00100s |`->config-landscape ran successfully @17.29500s +00.00100s |`->config-lxd ran successfully @17.29600s +00.00100s |`->config-ubuntu-drivers ran successfully @17.29700s +00.00100s |`->config-puppet ran successfully @17.29800s +00.00100s |`->config-chef ran successfully @17.29900s +00.00100s |`->config-mcollective ran successfully @17.30000s +00.00100s |`->config-salt-minion ran successfully @17.30100s +00.00100s |`->config-rightscale_userdata ran successfully @17.30200s +00.00100s |`->config-scripts-vendor ran successfully @17.30300s +00.00100s |`->config-scripts-per-once ran successfully @17.30400s +00.00100s |`->config-scripts-per-boot ran successfully @17.30500s +00.00100s |`->config-scripts-per-instance ran successfully @17.30600s +00.00100s |`->config-scripts-user ran successfully @17.30700s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @17.30900s +00.03500s |`->config-keys-to-console ran successfully @17.34500s +00.06500s |`->config-phone-home ran successfully @17.41100s +00.00100s |`->config-final-message ran successfully @17.41300s +00.00500s |`->config-power-state-change ran successfully @17.41900s +00.00000s Finished stage: (modules-final) 00.15000 seconds Total Time: 13.95300 seconds 1 boot records analyzed -- Boot Record 01 -- 11.76800s (init-local/search-OpenStackLocal) 00.56900s (modules-config/config-ssh-import-id) 00.27700s (init-network/config-ssh) 00.16400s (modules-config/config-grub-dpkg) 00.11200s (modules-config/config-apt-configure) 00.09900s (init-network/config-mounts) 00.08100s (init-local/search-NoCloud) 00.06500s (modules-final/config-keys-to-console) 00.04300s (init-network/config-growpart) 00.04100s (init-local/search-ConfigDrive) 00.03500s (modules-final/config-ssh-authkey-fingerprints) 00.02600s (init-local/search-OVF) 00.01700s (init-network/config-resizefs) 00.01700s (azure-ds/check-platform-viability) 00.01600s (init-local/search-OpenNebula) 00.01600s (init-local/search-DigitalOcean) 00.01200s (init-network/config-users-groups) 00.00900s (init-network/consume-user-data) 00.00700s (init-network/config-set_hostname) 00.00600s (init-network/check-cache) 00.00500s (modules-final/config-final-message) 00.00400s (modules-config/config-set-passwords) 00.00300s (modules-config/config-snap_config) 00.00300s (init-network/config-disk_setup) 00.00200s (modules-final/config-snappy) 00.00200s (modules-config/config-locale) 00.00200s (init-network/config-update_hostname) 00.00200s (init-network/config-seed_random) 00.00200s (init-network/activate-datasource) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-vendor) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-once) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-scripts-per-boot) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-rightscale_userdata) 00.00100s (modules-final/config-puppet) 00.00100s (modules-final/config-phone-home) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-byobu) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-ca-certs) 00.00000s (modules-final/config-power-state-change) 00.00000s (modules-final/config-package-update-upgrade-install) 00.00000s (modules-config/config-emit_upstart) 00.00000s (modules-config/config-disable-ec2-metadata) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-update_etc_hosts) 00.00000s (init-network/config-rsyslog) 00.00000s (init-network/config-bootcmd) 00.00000s (init-local/check-cache) 1 boot records analyzed After upgrade Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} auto lo iface lo inet loopback auto ens3 iface ens3 inet dhcp cloud-region: openstack-None Get cloud-id openstack Validating whether metadata is being updated per boot LP:1819913 2019-10-04 22:21:51,687 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,768 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,809 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,825 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,841 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,863 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,888 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot sudo: unable to resolve host SRU-worked-openstack Connection to 10.245.162.240 closed by remote host. ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused status: done time: Fri, 04 Oct 2019 22:22:30 +0000 detail: DataSourceOpenStackLocal [net,ver=2] After reboot 2019-10-04 22:21:51,687 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,768 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,809 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,825 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,841 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,863 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2019-10-04 22:21:51,888 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot ### BEGIN bionic +-----------------------------+------------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------------+------------------------------------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2019-10-04T22:18:39.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | blackboxsw_admin_net=10.5.0.4 | | adminPass | NW39Yk8NNXSu | | config_drive | | | created | 2019-10-04T22:18:30Z | | flavor | m1.small (2) | | hostId | a8227fedd20b917fd7051fc8ad4dec41486a7e92eab5e5dc8701a775 | | id | c5b52f08-8031-49dc-82da-e61b09f649e6 | | image | auto-sync/ubuntu-bionic-daily-amd64-server-20191003-disk1.img (ab2b5d10-8688-4009-b9f6-eb6fa9cb370c) | | key_name | mykey | | name | test-bionic | | progress | 0 | | project_id | 3354f8a4ec5e4fbd827a6999c311f5d1 | | properties | | | security_groups | name='default' | | status | ACTIVE | | updated | 2019-10-04T22:18:40Z | | user_id | cb723de24b094ed7959d73ce7a95d291 | | volumes_attached | | +-----------------------------+------------------------------------------------------------------------------------------------------+ ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused .. status: done time: Fri, 04 Oct 2019 22:19:20 +0000 detail: DataSourceOpenStackLocal [net,ver=2] cloud-init 19.2-36-g059d049c-0ubuntu1~18.04.1 { "v1": { "datasource": "DataSourceOpenStackLocal [net,ver=2]", "errors": [] } } Startup finished in 4.274s (kernel) + 25.361s (userspace) = 29.636s graphical.target reached after 20.034s in userspace 10.582s cloud-init-local.service 3.429s cloud-config.service 1.872s cloud-final.service 1.848s systemd-networkd-wait-online.service 1.771s cloud-init.service 1.582s snapd.seeded.service 1.450s dev-vda1.device 1.378s apparmor.service 1.061s pollinate.service 1.011s networkd-dispatcher.service 669ms snapd.service 583ms keyboard-setup.service 442ms systemd-udev-trigger.service 419ms lxd-containers.service 388ms systemd-journald.service 347ms accounts-daemon.service 347ms systemd-modules-load.service 333ms systemd-hostnamed.service 309ms grub-common.service 302ms apport.service 287ms systemd-logind.service 216ms lvm2-monitor.service 202ms systemd-timesyncd.service 158ms ebtables.service 156ms rsyslog.service 139ms kmod-static-nodes.service 126ms systemd-remount-fs.service 118ms sys-kernel-debug.mount 102ms polkit.service 93ms systemd-user-sessions.service 92ms snapd.socket 86ms systemd-udevd.service 85ms systemd-resolved.service 85ms systemd-tmpfiles-setup.service 81ms systemd-machine-id-commit.service 78ms systemd-journal-flush.service 67ms ssh.service 65ms lxd.socket 60ms dev-mqueue.mount 58ms ufw.service 56ms systemd-networkd.service 49ms dev-hugepages.mount 48ms systemd-tmpfiles-setup-dev.service 47ms user@1000.service 46ms systemd-sysctl.service 43ms console-setup.service 32ms blk-availability.service 30ms plymouth-quit.service 26ms systemd-random-seed.service 26ms systemd-update-utmp-runlevel.service 26ms sys-fs-fuse-connections.mount 25ms systemd-update-utmp.service 21ms plymouth-read-write.service 20ms sys-kernel-config.mount 15ms boot-efi.mount 15ms plymouth-quit-wait.service 14ms setvtrgb.service -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00700s +00.00100s |`->found local data from DataSourceOpenStackLocal @00.04000s +09.36000s Finished stage: (init-local) 09.65900 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @12.26700s +00.03200s |`->setting up datasource @12.37300s +00.00000s |`->reading and applying user-data @12.38200s +00.01000s |`->reading and applying vendor-data @12.39200s +00.00000s |`->activating datasource @12.43000s +00.00200s |`->config-migrator ran successfully @12.46900s +00.00100s |`->config-seed_random ran successfully @12.47000s +00.00200s |`->config-bootcmd ran successfully @12.47200s +00.00600s |`->config-write-files ran successfully @12.47800s +00.00100s |`->config-growpart ran successfully @12.47900s +00.21500s |`->config-resizefs ran successfully @12.69400s +00.10700s |`->config-disk_setup ran successfully @12.80200s +00.00200s |`->config-mounts ran successfully @12.80400s +00.17300s |`->config-set_hostname ran successfully @12.97700s +00.00800s |`->config-update_hostname ran successfully @12.98500s +00.00100s |`->config-update_etc_hosts ran successfully @12.98700s +00.00000s |`->config-ca-certs ran successfully @12.98700s +00.00100s |`->config-rsyslog ran successfully @12.98800s +00.00100s |`->config-users-groups ran successfully @12.98900s +00.05300s |`->config-ssh ran successfully @13.04300s +00.19100s Finished stage: (init-network) 00.98900 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @16.88800s +00.00000s |`->config-snap ran successfully @16.88900s +00.00100s |`->config-snap_config ran successfully @16.89100s +00.00100s |`->config-ssh-import-id ran successfully @16.89200s +01.57000s |`->config-locale ran successfully @18.46200s +00.00200s |`->config-set-passwords ran successfully @18.46400s +00.01300s |`->config-grub-dpkg ran successfully @18.47700s +00.52800s |`->config-apt-pipelining ran successfully @19.00600s +00.00100s |`->config-apt-configure ran successfully @19.00800s +00.23500s |`->config-ubuntu-advantage ran successfully @19.24300s +00.00100s |`->config-ntp ran successfully @19.24900s +00.00100s |`->config-timezone ran successfully @19.25000s +00.00100s |`->config-disable-ec2-metadata ran successfully @19.25100s +00.00000s |`->config-runcmd ran successfully @19.25100s +00.00100s |`->config-byobu ran successfully @19.25200s +00.00700s Finished stage: (modules-config) 02.41600 seconds Starting stage: modules-final |`->config-snappy ran successfully @21.03200s +00.00300s |`->config-package-update-upgrade-install ran successfully @21.03600s +00.00500s |`->config-fan ran successfully @21.04100s +00.00200s |`->config-landscape ran successfully @21.04300s +00.00100s |`->config-lxd ran successfully @21.04900s +00.00100s |`->config-ubuntu-drivers ran successfully @21.05100s +00.00100s |`->config-puppet ran successfully @21.05200s +00.00600s |`->config-chef ran successfully @21.05800s +00.00200s |`->config-mcollective ran successfully @21.06000s +00.00600s |`->config-salt-minion ran successfully @21.06600s +00.00100s |`->config-rightscale_userdata ran successfully @21.06800s +00.00500s |`->config-scripts-vendor ran successfully @21.07400s +00.00100s |`->config-scripts-per-once ran successfully @21.07500s +00.00200s |`->config-scripts-per-boot ran successfully @21.08100s +00.00100s |`->config-scripts-per-instance ran successfully @21.08200s +00.00100s |`->config-scripts-user ran successfully @21.08400s +00.00600s |`->config-ssh-authkey-fingerprints ran successfully @21.09000s +00.06400s |`->config-keys-to-console ran successfully @21.15500s +00.07700s |`->config-phone-home ran successfully @21.23200s +00.00200s |`->config-final-message ran successfully @21.23500s +00.01000s |`->config-power-state-change ran successfully @21.24500s +00.00100s Finished stage: (modules-final) 00.26500 seconds Total Time: 13.32900 seconds 1 boot records analyzed -- Boot Record 01 -- 09.36000s (init-local/search-OpenStackLocal) 01.57000s (modules-config/config-ssh-import-id) 00.52800s (modules-config/config-grub-dpkg) 00.23500s (modules-config/config-apt-configure) 00.21500s (init-network/config-growpart) 00.19100s (init-network/config-ssh) 00.17300s (init-network/config-mounts) 00.10700s (init-network/config-resizefs) 00.07700s (modules-final/config-keys-to-console) 00.06400s (modules-final/config-ssh-authkey-fingerprints) 00.05300s (init-network/config-users-groups) 00.03200s (init-network/check-cache) 00.01300s (modules-config/config-set-passwords) 00.01000s (modules-final/config-final-message) 00.01000s (init-network/consume-user-data) 00.00800s (init-network/config-set_hostname) 00.00700s (modules-config/config-byobu) 00.00600s (modules-final/config-scripts-user) 00.00600s (modules-final/config-puppet) 00.00600s (modules-final/config-mcollective) 00.00600s (init-network/config-bootcmd) 00.00500s (modules-final/config-rightscale_userdata) 00.00500s (modules-final/config-package-update-upgrade-install) 00.00300s (modules-final/config-snappy) 00.00200s (modules-final/config-scripts-per-once) 00.00200s (modules-final/config-phone-home) 00.00200s (modules-final/config-fan) 00.00200s (modules-final/config-chef) 00.00200s (modules-config/config-locale) 00.00200s (init-network/config-seed_random) 00.00200s (init-network/config-disk_setup) 00.00200s (init-network/activate-datasource) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-vendor) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-scripts-per-boot) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-snap_config) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-update_hostname) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-ca-certs) 00.00100s (init-local/check-cache) 00.00000s (modules-config/config-emit_upstart) 00.00000s (modules-config/config-disable-ec2-metadata) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-update_etc_hosts) 1 boot records analyzed Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:63:8f:5b set-name: ens3 version: 2 cloud-init Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 cloud-init all 19.2-36-g059d049c-0ubuntu2~18.04.1 [404 kB] Preparing to unpack .../cloud-init_19.2-36-g059d049c-0ubuntu2~18.04.1_all.deb ... Unpacking cloud-init (19.2-36-g059d049c-0ubuntu2~18.04.1) over (19.2-36-g059d049c-0ubuntu1~18.04.1) ... Setting up cloud-init (19.2-36-g059d049c-0ubuntu2~18.04.1) ... cloud-init 19.2-36-g059d049c-0ubuntu2~18.04.1 Connection to 10.245.163.18 closed by remote host. Host 10.245.163.18 not found in /home/ubuntu/.ssh/known_hosts ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ssh: connect to host 10.245.163.18 port 22: Connection refused ....... status: done time: Fri, 04 Oct 2019 22:20:27 +0000 detail: DataSourceOpenStackLocal [net,ver=2] SRU-worked-openstack Startup finished in 4.247s (kernel) + 22.483s (userspace) = 26.731s graphical.target reached after 18.756s in userspace 12.037s cloud-init-local.service 3.128s cloud-config.service 1.741s systemd-networkd-wait-online.service 1.594s cloud-init.service 1.516s dev-vda1.device 1.056s networkd-dispatcher.service 862ms cloud-final.service 494ms snapd.service 478ms keyboard-setup.service 447ms systemd-udev-trigger.service 392ms lxd-containers.service 373ms systemd-journald.service 318ms accounts-daemon.service 306ms systemd-hostnamed.service 299ms systemd-modules-load.service 298ms systemd-logind.service 287ms grub-common.service 269ms apport.service 265ms ssh.service 258ms apparmor.service 222ms rsyslog.service 204ms lvm2-monitor.service 157ms systemd-timesyncd.service 125ms systemd-remount-fs.service 112ms systemd-tmpfiles-setup-dev.service 107ms systemd-udevd.service 106ms kmod-static-nodes.service 105ms systemd-resolved.service 102ms dev-mqueue.mount 102ms ebtables.service 102ms blk-availability.service 100ms ufw.service 97ms snapd.seeded.service 97ms sys-kernel-debug.mount 88ms systemd-user-sessions.service 82ms snapd.socket 71ms systemd-fsck@dev-vdb.service 68ms systemd-tmpfiles-setup.service 68ms lxd.socket 66ms polkit.service 65ms systemd-journal-flush.service 51ms systemd-networkd.service 48ms dev-hugepages.mount 44ms systemd-sysctl.service 44ms user@1000.service 35ms systemd-random-seed.service 33ms plymouth-quit.service 32ms plymouth-read-write.service 31ms systemd-update-utmp-runlevel.service 28ms console-setup.service 26ms setvtrgb.service 24ms systemd-update-utmp.service 24ms sys-kernel-config.mount 18ms sys-fs-fuse-connections.mount 17ms plymouth-quit-wait.service 13ms boot-efi.mount -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00600s +00.00000s |`->found local data from DataSourceOpenStackLocal @00.03700s +10.93200s Finished stage: (init-local) 11.23100 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @13.72700s +00.02400s |`->setting up datasource @13.81200s +00.00000s |`->reading and applying user-data @13.82300s +00.01200s |`->reading and applying vendor-data @13.83500s +00.00000s |`->activating datasource @13.87500s +00.00100s |`->config-migrator ran successfully @13.92100s +00.00100s |`->config-seed_random ran successfully @13.92300s +00.00800s |`->config-bootcmd ran successfully @13.93100s +00.00000s |`->config-write-files ran successfully @13.93200s +00.00000s |`->config-growpart ran successfully @13.93300s +00.14600s |`->config-resizefs ran successfully @14.07900s +00.02900s |`->config-disk_setup ran successfully @14.10900s +00.00100s |`->config-mounts ran successfully @14.11000s +00.19600s |`->config-set_hostname ran successfully @14.30700s +00.00800s |`->config-update_hostname ran successfully @14.31600s +00.00100s |`->config-update_etc_hosts ran successfully @14.31700s +00.00100s |`->config-ca-certs ran successfully @14.31800s +00.00100s |`->config-rsyslog ran successfully @14.31900s +00.00100s |`->config-users-groups ran successfully @14.32000s +00.01400s |`->config-ssh ran successfully @14.33500s +00.25500s Finished stage: (init-network) 00.88300 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @17.44700s +00.00400s |`->config-snap ran successfully @17.45100s +00.00100s |`->config-snap_config ran successfully @17.45300s +00.00000s |`->config-ssh-import-id ran successfully @17.45300s +00.95800s |`->config-locale ran successfully @18.41200s +00.00200s |`->config-set-passwords ran successfully @18.41400s +00.00500s |`->config-grub-dpkg ran successfully @18.42000s +00.18300s |`->config-apt-pipelining ran successfully @18.60400s +00.00100s |`->config-apt-configure ran successfully @18.60500s +00.11200s |`->config-ubuntu-advantage ran successfully @18.71800s +00.00100s |`->config-ntp ran successfully @18.71900s +00.00100s |`->config-timezone ran successfully @18.72100s +00.00000s |`->config-disable-ec2-metadata ran successfully @18.72200s +00.00000s |`->config-runcmd ran successfully @18.72200s +00.00100s |`->config-byobu ran successfully @18.72300s +00.00100s Finished stage: (modules-config) 01.31300 seconds Starting stage: modules-final |`->config-snappy ran successfully @19.45000s +00.00200s |`->config-package-update-upgrade-install ran successfully @19.45200s +00.00100s |`->config-fan ran successfully @19.45300s +00.00100s |`->config-landscape ran successfully @19.45400s +00.00100s |`->config-lxd ran successfully @19.45500s +00.00100s |`->config-ubuntu-drivers ran successfully @19.45600s +00.00100s |`->config-puppet ran successfully @19.45700s +00.00100s |`->config-chef ran successfully @19.45800s +00.00100s |`->config-mcollective ran successfully @19.45900s +00.00100s |`->config-salt-minion ran successfully @19.46000s +00.00100s |`->config-rightscale_userdata ran successfully @19.46200s +00.00000s |`->config-scripts-vendor ran successfully @19.46300s +00.00000s |`->config-scripts-per-once ran successfully @19.46400s +00.00000s |`->config-scripts-per-boot ran successfully @19.46500s +00.00000s |`->config-scripts-per-instance ran successfully @19.46500s +00.00100s |`->config-scripts-user ran successfully @19.46600s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @19.46700s +00.03400s |`->config-keys-to-console ran successfully @19.50100s +00.07300s |`->config-phone-home ran successfully @19.57500s +00.00100s |`->config-final-message ran successfully @19.57700s +00.00600s |`->config-power-state-change ran successfully @19.58300s +00.00100s Finished stage: (modules-final) 00.16300 seconds Total Time: 13.59000 seconds 1 boot records analyzed -- Boot Record 01 -- 10.93200s (init-local/search-OpenStackLocal) 00.95800s (modules-config/config-ssh-import-id) 00.25500s (init-network/config-ssh) 00.19600s (init-network/config-mounts) 00.18300s (modules-config/config-grub-dpkg) 00.14600s (init-network/config-growpart) 00.11200s (modules-config/config-apt-configure) 00.07300s (modules-final/config-keys-to-console) 00.03400s (modules-final/config-ssh-authkey-fingerprints) 00.02900s (init-network/config-resizefs) 00.02400s (init-network/check-cache) 00.01400s (init-network/config-users-groups) 00.01200s (init-network/consume-user-data) 00.00800s (init-network/config-set_hostname) 00.00800s (init-network/config-seed_random) 00.00600s (modules-final/config-final-message) 00.00500s (modules-config/config-set-passwords) 00.00400s (modules-config/config-emit_upstart) 00.00200s (modules-final/config-snappy) 00.00200s (modules-config/config-locale) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-puppet) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-phone-home) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-byobu) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-update_hostname) 00.00100s (init-network/config-update_etc_hosts) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-disk_setup) 00.00100s (init-network/config-ca-certs) 00.00100s (init-network/activate-datasource) 00.00000s (modules-final/config-scripts-vendor) 00.00000s (modules-final/config-scripts-per-once) 00.00000s (modules-final/config-scripts-per-boot) 00.00000s (modules-final/config-rightscale_userdata) 00.00000s (modules-config/config-timezone) 00.00000s (modules-config/config-snap_config) 00.00000s (modules-config/config-disable-ec2-metadata) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-write-files) 00.00000s (init-network/config-bootcmd) 00.00000s (init-local/check-cache) 1 boot records analyzed After upgrade Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:63:8f:5b set-name: ens3 version: 2 cloud-region: openstack-None Get cloud-id openstack Validating whether metadata is being updated per boot LP:1819913 2019-10-04 22:20:08,226 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot Connection to 10.245.163.18 closed by remote host. status: done time: Fri, 04 Oct 2019 22:21:04 +0000 detail: DataSourceOpenStackLocal [net,ver=2] After reboot 2019-10-04 22:20:08,226 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot ### BEGIN disco +-----------------------------+-----------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------------+-----------------------------------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2019-10-04T22:24:04.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | blackboxsw_admin_net=10.5.0.11 | | adminPass | E6EZkyqWVisk | | config_drive | | | created | 2019-10-04T22:23:54Z | | flavor | m1.small (2) | | hostId | 2c09c7b48939af42ec51ec3453d34cad2e6eb793d4291e6a85a37458 | | id | f5395528-eb26-45df-88db-17fae0a77df0 | | image | auto-sync/ubuntu-disco-daily-amd64-server-20191002-disk1.img (1ca4bb7e-17d7-4d58-9131-e9007744932a) | | key_name | mykey | | name | test-disco | | progress | 0 | | project_id | 3354f8a4ec5e4fbd827a6999c311f5d1 | | properties | | | security_groups | name='default' | | status | ACTIVE | | updated | 2019-10-04T22:24:05Z | | user_id | cb723de24b094ed7959d73ce7a95d291 | | volumes_attached | | +-----------------------------+-----------------------------------------------------------------------------------------------------+ ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused .......................................................... status: done time: Fri, 04 Oct 2019 22:24:58 +0000 detail: DataSourceOpenStackLocal [net,ver=2] cloud-init 19.2-36-g059d049c-0ubuntu1~19.04.1 { "v1": { "datasource": "DataSourceOpenStackLocal [net,ver=2]", "errors": [] } } Startup finished in 4.755s (kernel) + 44.301s (userspace) = 49.056s graphical.target reached after 41.252s in userspace 21.074s snapd.seeded.service 10.176s cloud-init-local.service 2.656s dev-vda1.device 2.571s lvm2-monitor.service 2.293s cloud-init.service 2.200s pollinate.service 2.199s cloud-config.service 1.970s systemd-udev-settle.service 1.606s systemd-networkd-wait-online.service 1.358s systemd-hostnamed.service 1.342s systemd-logind.service 1.275s apparmor.service 1.134s snapd.service 1.014s accounts-daemon.service 859ms cloud-final.service 822ms networkd-dispatcher.service 788ms systemd-journald.service 726ms systemd-timesyncd.service 618ms grub-common.service 616ms rsyslog.service 510ms snap.lxd.activate.service 415ms systemd-remount-fs.service 414ms kmod-static-nodes.service 410ms apport.service 410ms keyboard-setup.service 398ms systemd-modules-load.service 359ms systemd-udev-trigger.service 358ms dev-mqueue.mount 327ms systemd-networkd.service 325ms systemd-resolved.service 322ms ufw.service 313ms sys-kernel-debug.mount 212ms systemd-sysctl.service 152ms dev-hugepages.mount 143ms atd.service 137ms systemd-user-sessions.service 136ms user@1000.service 134ms sys-fs-fuse-connections.mount 133ms sys-kernel-config.mount 131ms grub-initrd-fallback.service 110ms blk-availability.service 108ms plymouth-read-write.service 107ms console-setup.service 107ms systemd-machine-id-commit.service 106ms finalrd.service 105ms systemd-random-seed.service 104ms systemd-tmpfiles-setup.service 104ms systemd-sysusers.service 94ms snapd.socket 78ms plymouth-quit.service 72ms ssh.service 61ms plymouth-quit-wait.service 58ms multipathd.service 57ms snap-core-7713.mount 51ms setvtrgb.service 50ms snap-lxd-11985.mount 50ms systemd-journal-flush.service 47ms systemd-udevd.service 47ms user-runtime-dir@1000.service 47ms dev-loop1.device 47ms systemd-update-utmp.service 37ms systemd-update-utmp-runlevel.service 24ms systemd-tmpfiles-setup-dev.service 20ms boot-efi.mount -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00700s +00.00000s |`->found local data from DataSourceOpenStackLocal @00.01500s +08.83400s Finished stage: (init-local) 09.11200 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @11.66400s +00.00600s |`->setting up datasource @11.74000s +00.00000s |`->reading and applying user-data @11.74800s +00.01000s |`->reading and applying vendor-data @11.75800s +00.00000s |`->activating datasource @11.79300s +00.00100s |`->config-migrator ran successfully @11.83800s +00.00100s |`->config-seed_random ran successfully @11.84000s +00.00800s |`->config-bootcmd ran successfully @11.84900s +00.00000s |`->config-write-files ran successfully @11.85000s +00.00100s |`->config-growpart ran successfully @11.85100s +00.49500s |`->config-resizefs ran successfully @12.34600s +00.18400s |`->config-disk_setup ran successfully @12.53100s +00.00100s |`->config-mounts ran successfully @12.53200s +00.35500s |`->config-set_hostname ran successfully @12.88800s +00.01400s |`->config-update_hostname ran successfully @12.90200s +00.00100s |`->config-update_etc_hosts ran successfully @12.90400s +00.00000s |`->config-ca-certs ran successfully @12.90400s +00.00300s |`->config-rsyslog ran successfully @12.90800s +00.00000s |`->config-users-groups ran successfully @12.90900s +00.20600s |`->config-ssh ran successfully @13.11600s +00.19100s Finished stage: (init-network) 01.66300 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @36.23400s +00.00000s |`->config-snap ran successfully @36.23400s +00.00100s |`->config-snap_config ran successfully @36.23500s +00.00100s |`->config-ssh-import-id ran successfully @36.23600s +01.04300s |`->config-locale ran successfully @37.28000s +00.00200s |`->config-set-passwords ran successfully @37.28200s +00.00100s |`->config-grub-dpkg ran successfully @37.28400s +00.21400s |`->config-apt-pipelining ran successfully @37.49900s +00.00100s |`->config-apt-configure ran successfully @37.50000s +00.11100s |`->config-ubuntu-advantage ran successfully @37.61100s +00.00100s |`->config-ntp ran successfully @37.61200s +00.00100s |`->config-timezone ran successfully @37.61300s +00.00100s |`->config-disable-ec2-metadata ran successfully @37.61400s +00.00100s |`->config-runcmd ran successfully @37.61500s +00.00100s |`->config-byobu ran successfully @37.61600s +00.00200s Finished stage: (modules-config) 01.40100 seconds Starting stage: modules-final |`->config-snappy ran successfully @38.33200s +00.00200s |`->config-package-update-upgrade-install ran successfully @38.33400s +00.00100s |`->config-fan ran successfully @38.33500s +00.00100s |`->config-landscape ran successfully @38.33600s +00.00100s |`->config-lxd ran successfully @38.33700s +00.00100s |`->config-ubuntu-drivers ran successfully @38.33800s +00.00000s |`->config-puppet ran successfully @38.33900s +00.00000s |`->config-chef ran successfully @38.33900s +00.00100s |`->config-mcollective ran successfully @38.34000s +00.00100s |`->config-salt-minion ran successfully @38.34100s +00.00100s |`->config-rightscale_userdata ran successfully @38.34200s +00.00000s |`->config-scripts-vendor ran successfully @38.34300s +00.00000s |`->config-scripts-per-once ran successfully @38.34300s +00.00100s |`->config-scripts-per-boot ran successfully @38.34400s +00.00100s |`->config-scripts-per-instance ran successfully @38.34500s +00.00000s |`->config-scripts-user ran successfully @38.34600s +00.00000s |`->config-ssh-authkey-fingerprints ran successfully @38.34700s +00.03300s |`->config-keys-to-console ran successfully @38.38000s +00.08300s |`->config-phone-home ran successfully @38.46400s +00.00200s |`->config-final-message ran successfully @38.46600s +00.00700s |`->config-power-state-change ran successfully @38.47300s +00.00100s Finished stage: (modules-final) 00.16000 seconds Total Time: 12.33600 seconds 1 boot records analyzed -- Boot Record 01 -- 08.83400s (init-local/search-OpenStackLocal) 01.04300s (modules-config/config-ssh-import-id) 00.49500s (init-network/config-growpart) 00.35500s (init-network/config-mounts) 00.21400s (modules-config/config-grub-dpkg) 00.20600s (init-network/config-users-groups) 00.19100s (init-network/config-ssh) 00.18400s (init-network/config-resizefs) 00.11100s (modules-config/config-apt-configure) 00.08300s (modules-final/config-keys-to-console) 00.03300s (modules-final/config-ssh-authkey-fingerprints) 00.01400s (init-network/config-set_hostname) 00.01000s (init-network/consume-user-data) 00.00800s (init-network/config-seed_random) 00.00700s (modules-final/config-final-message) 00.00600s (init-network/check-cache) 00.00300s (init-network/config-ca-certs) 00.00200s (modules-final/config-snappy) 00.00200s (modules-final/config-phone-home) 00.00200s (modules-config/config-locale) 00.00200s (modules-config/config-byobu) 00.00100s (modules-final/config-scripts-per-once) 00.00100s (modules-final/config-scripts-per-boot) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-snap_config) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-set-passwords) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-disable-ec2-metadata) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-update_hostname) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-disk_setup) 00.00100s (init-network/activate-datasource) 00.00000s (modules-final/config-ubuntu-drivers) 00.00000s (modules-final/config-scripts-vendor) 00.00000s (modules-final/config-scripts-user) 00.00000s (modules-final/config-scripts-per-instance) 00.00000s (modules-final/config-rightscale_userdata) 00.00000s (modules-final/config-puppet) 00.00000s (modules-config/config-emit_upstart) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-update_etc_hosts) 00.00000s (init-network/config-rsyslog) 00.00000s (init-network/config-bootcmd) 00.00000s (init-local/check-cache) 1 boot records analyzed Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: version: 2 ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:d8:26:36 mtu: 8958 set-name: ens3 cloud-init Get:1 http://archive.ubuntu.com/ubuntu disco-proposed/main amd64 cloud-init all 19.2-36-g059d049c-0ubuntu2~19.04.1 [401 kB] Preparing to unpack .../cloud-init_19.2-36-g059d049c-0ubuntu2~19.04.1_all.deb ... Unpacking cloud-init (19.2-36-g059d049c-0ubuntu2~19.04.1) over (19.2-36-g059d049c-0ubuntu1~19.04.1) ... Setting up cloud-init (19.2-36-g059d049c-0ubuntu2~19.04.1) ... cloud-init 19.2-36-g059d049c-0ubuntu2~19.04.1 Connection to 10.245.163.7 closed by remote host. Host 10.245.163.7 not found in /home/ubuntu/.ssh/known_hosts ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ssh: connect to host 10.245.163.7 port 22: Connection refused ........ status: done time: Fri, 04 Oct 2019 22:26:06 +0000 detail: DataSourceOpenStackLocal [net,ver=2] SRU-worked-openstack Startup finished in 4.512s (kernel) + 22.973s (userspace) = 27.486s graphical.target reached after 19.696s in userspace 9.151s cloud-init-local.service 4.386s snap.lxd.activate.service 3.341s cloud-config.service 2.946s snapd.service 2.155s systemd-hostnamed.service 1.951s systemd-logind.service 1.928s dev-vda1.device 1.801s lvm2-monitor.service 1.629s cloud-init.service 1.337s systemd-udev-settle.service 1.135s systemd-networkd-wait-online.service 850ms accounts-daemon.service 848ms cloud-final.service 831ms systemd-timesyncd.service 791ms networkd-dispatcher.service 745ms systemd-journald.service 649ms rsyslog.service 485ms grub-common.service 421ms ssh.service 389ms apport.service 373ms user@1000.service 358ms systemd-resolved.service 357ms systemd-user-sessions.service 342ms systemd-networkd.service 331ms systemd-udev-trigger.service 313ms keyboard-setup.service 290ms dev-mqueue.mount 280ms apparmor.service 256ms dev-hugepages.mount 256ms dev-loop0.device 252ms sys-kernel-debug.mount 240ms kmod-static-nodes.service 238ms ufw.service 238ms dev-loop1.device 227ms systemd-modules-load.service 227ms atd.service 211ms systemd-remount-fs.service 183ms systemd-fsck@dev-vdb.service 171ms grub-initrd-fallback.service 155ms blk-availability.service 140ms snapd.seeded.service 125ms systemd-sysusers.service 119ms systemd-random-seed.service 109ms systemd-sysctl.service 104ms console-setup.service 103ms systemd-tmpfiles-setup.service 100ms plymouth-read-write.service 100ms finalrd.service 88ms sys-fs-fuse-connections.mount 81ms plymouth-quit.service 73ms sys-kernel-config.mount 71ms user-runtime-dir@1000.service 67ms plymouth-quit-wait.service 64ms systemd-update-utmp-runlevel.service 55ms boot-efi.mount 55ms systemd-update-utmp.service 52ms snap-lxd-11985.mount 43ms multipathd.service 43ms snap-core-7713.mount 38ms setvtrgb.service 37ms systemd-journal-flush.service 31ms systemd-udevd.service 20ms snapd.socket 17ms systemd-tmpfiles-setup-dev.service -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00500s +00.00000s |`->found local data from DataSourceOpenStackLocal @00.01300s +07.83600s Finished stage: (init-local) 08.06800 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @10.12700s +00.00500s |`->setting up datasource @10.19000s +00.00000s |`->reading and applying user-data @10.19700s +00.00800s |`->reading and applying vendor-data @10.20500s +00.00000s |`->activating datasource @10.23300s +00.00100s |`->config-migrator ran successfully @10.27600s +00.00100s |`->config-seed_random ran successfully @10.28300s +00.00200s |`->config-bootcmd ran successfully @10.28500s +00.00000s |`->config-write-files ran successfully @10.28600s +00.00100s |`->config-growpart ran successfully @10.28700s +00.15100s |`->config-resizefs ran successfully @10.43900s +00.04800s |`->config-disk_setup ran successfully @10.48700s +00.00100s |`->config-mounts ran successfully @10.48800s +00.28400s |`->config-set_hostname ran successfully @10.77200s +00.00800s |`->config-update_hostname ran successfully @10.78100s +00.00100s |`->config-update_etc_hosts ran successfully @10.78300s +00.00000s |`->config-ca-certs ran successfully @10.78300s +00.00100s |`->config-rsyslog ran successfully @10.78400s +00.00100s |`->config-users-groups ran successfully @10.78500s +00.01300s |`->config-ssh ran successfully @10.79800s +00.34000s Finished stage: (init-network) 01.02700 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @16.54600s +00.00000s |`->config-snap ran successfully @16.54600s +00.00100s |`->config-snap_config ran successfully @16.54700s +00.00100s |`->config-ssh-import-id ran successfully @16.54800s +01.31800s |`->config-locale ran successfully @17.86700s +00.00200s |`->config-set-passwords ran successfully @17.86900s +00.00200s |`->config-grub-dpkg ran successfully @17.87100s +00.22000s |`->config-apt-pipelining ran successfully @18.09200s +00.00100s |`->config-apt-configure ran successfully @18.09400s +00.12100s |`->config-ubuntu-advantage ran successfully @18.21600s +00.00100s |`->config-ntp ran successfully @18.21800s +00.00100s |`->config-timezone ran successfully @18.21900s +00.00100s |`->config-disable-ec2-metadata ran successfully @18.22000s +00.00100s |`->config-runcmd ran successfully @18.22100s +00.00100s |`->config-byobu ran successfully @18.22300s +00.00000s Finished stage: (modules-config) 01.70700 seconds Starting stage: modules-final |`->config-snappy ran successfully @18.90200s +00.00300s |`->config-package-update-upgrade-install ran successfully @18.90600s +00.00100s |`->config-fan ran successfully @18.90700s +00.00200s |`->config-landscape ran successfully @18.90900s +00.00100s |`->config-lxd ran successfully @18.91100s +00.00100s |`->config-ubuntu-drivers ran successfully @18.91200s +00.00100s |`->config-puppet ran successfully @18.91400s +00.00100s |`->config-chef ran successfully @18.91600s +00.00100s |`->config-mcollective ran successfully @18.91700s +00.00100s |`->config-salt-minion ran successfully @18.91900s +00.00100s |`->config-rightscale_userdata ran successfully @18.92000s +00.00200s |`->config-scripts-vendor ran successfully @18.92200s +00.00100s |`->config-scripts-per-once ran successfully @18.92400s +00.00100s |`->config-scripts-per-boot ran successfully @18.92500s +00.00100s |`->config-scripts-per-instance ran successfully @18.92600s +00.00100s |`->config-scripts-user ran successfully @18.92800s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @18.93000s +00.03900s |`->config-keys-to-console ran successfully @18.97000s +00.07900s |`->config-phone-home ran successfully @19.05000s +00.00200s |`->config-final-message ran successfully @19.05200s +00.01000s |`->config-power-state-change ran successfully @19.06200s +00.00200s Finished stage: (modules-final) 00.18900 seconds Total Time: 10.99100 seconds 1 boot records analyzed -- Boot Record 01 -- 07.83600s (init-local/search-OpenStackLocal) 01.31800s (modules-config/config-ssh-import-id) 00.34000s (init-network/config-ssh) 00.28400s (init-network/config-mounts) 00.22000s (modules-config/config-grub-dpkg) 00.15100s (init-network/config-growpart) 00.12100s (modules-config/config-apt-configure) 00.07900s (modules-final/config-keys-to-console) 00.04800s (init-network/config-resizefs) 00.03900s (modules-final/config-ssh-authkey-fingerprints) 00.01300s (init-network/config-users-groups) 00.01000s (modules-final/config-final-message) 00.00800s (init-network/consume-user-data) 00.00800s (init-network/config-set_hostname) 00.00500s (init-network/check-cache) 00.00300s (modules-final/config-snappy) 00.00200s (modules-final/config-rightscale_userdata) 00.00200s (modules-final/config-power-state-change) 00.00200s (modules-final/config-phone-home) 00.00200s (modules-final/config-fan) 00.00200s (modules-config/config-set-passwords) 00.00200s (modules-config/config-locale) 00.00200s (init-network/config-seed_random) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-vendor) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-once) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-scripts-per-boot) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-puppet) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-snap_config) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-disable-ec2-metadata) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-update_hostname) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-disk_setup) 00.00100s (init-network/config-ca-certs) 00.00100s (init-network/activate-datasource) 00.00000s (modules-config/config-emit_upstart) 00.00000s (modules-config/config-byobu) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-update_etc_hosts) 00.00000s (init-network/config-bootcmd) 00.00000s (init-local/check-cache) 1 boot records analyzed After upgrade Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: version: 2 ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:d8:26:36 mtu: 8958 set-name: ens3 cloud-region: openstack-None Get cloud-id openstack Validating whether metadata is being updated per boot LP:1819913 2019-10-04 22:25:47,281 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot status: done time: Fri, 04 Oct 2019 22:26:41 +0000 detail: DataSourceOpenStackLocal [net,ver=2] After reboot 2019-10-04 22:25:47,281 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot ### BEGIN eoan +-----------------------------+----------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------------+----------------------------------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2019-10-04T22:26:07.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | blackboxsw_admin_net=10.5.0.9 | | adminPass | zJaa2epCjp5H | | config_drive | | | created | 2019-10-04T22:25:57Z | | flavor | m1.small (2) | | hostId | 639c1fbcad95280eeeb48b9139576a97807da9962db5f5b619e6a239 | | id | 6d8355d4-b887-4cd5-8449-c11a56b8e690 | | image | auto-sync/ubuntu-eoan-daily-amd64-server-20191003-disk1.img (45712155-962a-4611-bd0f-238f56e606a2) | | key_name | mykey | | name | test-eoan | | progress | 0 | | project_id | 3354f8a4ec5e4fbd827a6999c311f5d1 | | properties | | | security_groups | name='default' | | status | ACTIVE | | updated | 2019-10-04T22:26:08Z | | user_id | cb723de24b094ed7959d73ce7a95d291 | | volumes_attached | | +-----------------------------+----------------------------------------------------------------------------------------------------+ ssh: connect to host 10.245.162.240 port 22: No route to host ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ............................................................... status: done time: Fri, 04 Oct 2019 22:27:12 +0000 detail: DataSourceOpenStackLocal [net,ver=2] cloud-init 19.2-36-g059d049c-0ubuntu1 { "v1": { "datasource": "DataSourceOpenStackLocal [net,ver=2]", "errors": [] } } Startup finished in 3.946s (kernel) + 43.110s (userspace) = 47.057s graphical.target reached after 40.351s in userspace 19.049s snapd.seeded.service 10.666s cloud-init-local.service 3.213s cloud-init.service 1.963s systemd-logind.service 1.941s cloud-config.service 1.749s dev-vda1.device 1.740s systemd-hostnamed.service 1.562s systemd-networkd-wait-online.service 1.542s systemd-udev-settle.service 1.468s pollinate.service 1.387s apparmor.service 948ms networkd-dispatcher.service 901ms accounts-daemon.service 833ms cloud-final.service 826ms systemd-journald.service 776ms systemd-timesyncd.service 557ms apport.service 473ms snap.lxd.activate.service 469ms grub-common.service 460ms grub-initrd-fallback.service 446ms rsyslog.service 391ms systemd-resolved.service 384ms systemd-networkd.service 365ms systemd-udev-trigger.service 329ms keyboard-setup.service 290ms systemd-user-sessions.service 210ms polkit.service 192ms atd.service 184ms user@1000.service 184ms sys-kernel-debug.mount 179ms systemd-modules-load.service 177ms ufw.service 176ms kmod-static-nodes.service 173ms systemd-remount-fs.service 159ms dev-mqueue.mount 151ms dev-hugepages.mount 142ms snapd.service 129ms snapd.socket 123ms ssh.service 122ms sys-kernel-config.mount 114ms systemd-sysctl.service 111ms lvm2-monitor.service 102ms sys-fs-fuse-connections.mount 95ms plymouth-read-write.service 94ms systemd-machine-id-commit.service 92ms console-setup.service 87ms multipathd.service 84ms systemd-random-seed.service 83ms finalrd.service 83ms systemd-tmpfiles-setup.service 81ms dev-loop1.device 81ms plymouth-quit-wait.service 75ms plymouth-quit.service 70ms systemd-udevd.service 68ms systemd-sysusers.service 50ms snap-core-7713.mount 49ms snap-lxd-11985.mount 46ms setvtrgb.service 38ms systemd-journal-flush.service 36ms systemd-update-utmp-runlevel.service 35ms user-runtime-dir@1000.service 33ms dev-loop0.device 27ms systemd-tmpfiles-setup-dev.service 27ms systemd-update-utmp.service 21ms blk-availability.service 21ms boot-efi.mount -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00800s +00.00100s |`->found local data from DataSourceOpenStackLocal @00.02300s +09.25000s Finished stage: (init-local) 09.57200 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @12.30000s +00.00600s |`->setting up datasource @12.39200s +00.00000s |`->reading and applying user-data @12.40200s +00.01300s |`->reading and applying vendor-data @12.41500s +00.00000s |`->activating datasource @12.47400s +00.00800s |`->config-migrator ran successfully @12.52200s +00.00100s |`->config-seed_random ran successfully @12.52700s +00.00200s |`->config-bootcmd ran successfully @12.52900s +00.00000s |`->config-write-files ran successfully @12.53000s +00.00100s |`->config-growpart ran successfully @12.53100s +00.49100s |`->config-resizefs ran successfully @13.02200s +00.12300s |`->config-disk_setup ran successfully @13.14500s +00.00100s |`->config-mounts ran successfully @13.14600s +00.32800s |`->config-set_hostname ran successfully @13.47500s +00.00800s |`->config-update_hostname ran successfully @13.48300s +00.00200s |`->config-update_etc_hosts ran successfully @13.48500s +00.00100s |`->config-ca-certs ran successfully @13.48600s +00.00100s |`->config-rsyslog ran successfully @13.48700s +00.00100s |`->config-users-groups ran successfully @13.48800s +00.06300s |`->config-ssh ran successfully @13.55100s +01.11500s Finished stage: (init-network) 02.39200 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @35.98400s +00.00000s |`->config-snap ran successfully @35.98400s +00.00100s |`->config-snap_config ran successfully @35.98600s +00.00000s |`->config-ssh-import-id ran successfully @35.98600s +00.81200s |`->config-locale ran successfully @36.79800s +00.00200s |`->config-set-passwords ran successfully @36.80000s +00.00100s |`->config-grub-dpkg ran successfully @36.80100s +00.24400s |`->config-apt-pipelining ran successfully @37.04600s +00.00100s |`->config-apt-configure ran successfully @37.04700s +00.10600s |`->config-ubuntu-advantage ran successfully @37.15400s +00.00100s |`->config-ntp ran successfully @37.15500s +00.00100s |`->config-timezone ran successfully @37.15600s +00.00100s |`->config-disable-ec2-metadata ran successfully @37.15700s +00.00000s |`->config-runcmd ran successfully @37.15800s +00.00000s |`->config-byobu ran successfully @37.15900s +00.00000s Finished stage: (modules-config) 01.20000 seconds Starting stage: modules-final |`->config-snappy ran successfully @37.85200s +00.00200s |`->config-package-update-upgrade-install ran successfully @37.85400s +00.00100s |`->config-fan ran successfully @37.85600s +00.00100s |`->config-landscape ran successfully @37.85700s +00.00100s |`->config-lxd ran successfully @37.85800s +00.00100s |`->config-ubuntu-drivers ran successfully @37.85900s +00.00100s |`->config-puppet ran successfully @37.86100s +00.00000s |`->config-chef ran successfully @37.86200s +00.00100s |`->config-mcollective ran successfully @37.86300s +00.00100s |`->config-salt-minion ran successfully @37.86400s +00.00100s |`->config-rightscale_userdata ran successfully @37.86500s +00.00100s |`->config-scripts-vendor ran successfully @37.86600s +00.00100s |`->config-scripts-per-once ran successfully @37.86700s +00.00100s |`->config-scripts-per-boot ran successfully @37.86900s +00.00000s |`->config-scripts-per-instance ran successfully @37.86900s +00.00100s |`->config-scripts-user ran successfully @37.87000s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @37.87100s +00.03400s |`->config-keys-to-console ran successfully @37.90500s +00.07700s |`->config-phone-home ran successfully @37.98200s +00.00200s |`->config-final-message ran successfully @37.98400s +00.00600s |`->config-power-state-change ran successfully @37.99000s +00.00100s Finished stage: (modules-final) 00.18100 seconds Total Time: 13.34500 seconds 1 boot records analyzed -- Boot Record 01 -- 09.25000s (init-local/search-OpenStackLocal) 01.11500s (init-network/config-ssh) 00.81200s (modules-config/config-ssh-import-id) 00.49100s (init-network/config-growpart) 00.32800s (init-network/config-mounts) 00.24400s (modules-config/config-grub-dpkg) 00.12300s (init-network/config-resizefs) 00.10600s (modules-config/config-apt-configure) 00.07700s (modules-final/config-keys-to-console) 00.06300s (init-network/config-users-groups) 00.03400s (modules-final/config-ssh-authkey-fingerprints) 00.01300s (init-network/consume-user-data) 00.00800s (init-network/config-set_hostname) 00.00800s (init-network/activate-datasource) 00.00600s (modules-final/config-final-message) 00.00600s (init-network/check-cache) 00.00200s (modules-final/config-snappy) 00.00200s (modules-final/config-phone-home) 00.00200s (modules-config/config-locale) 00.00200s (init-network/config-update_hostname) 00.00200s (init-network/config-seed_random) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-vendor) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-once) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-rightscale_userdata) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-ubuntu-advantage) 00.00100s (modules-config/config-timezone) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-set-passwords) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-update_etc_hosts) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-disk_setup) 00.00100s (init-network/config-ca-certs) 00.00100s (init-local/check-cache) 00.00000s (modules-final/config-scripts-per-boot) 00.00000s (modules-final/config-puppet) 00.00000s (modules-config/config-snap_config) 00.00000s (modules-config/config-runcmd) 00.00000s (modules-config/config-emit_upstart) 00.00000s (modules-config/config-disable-ec2-metadata) 00.00000s (modules-config/config-byobu) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-bootcmd) 1 boot records analyzed Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: version: 2 ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:87:1e:3c mtu: 8958 set-name: ens3 cloud-init Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu eoan/main amd64 cloud-init all 19.2-36-g059d049c-0ubuntu2 [400 kB] Preparing to unpack .../cloud-init_19.2-36-g059d049c-0ubuntu2_all.deb ... Unpacking cloud-init (19.2-36-g059d049c-0ubuntu2) over (19.2-36-g059d049c-0ubuntu1) ... Setting up cloud-init (19.2-36-g059d049c-0ubuntu2) ... cloud-init 19.2-36-g059d049c-0ubuntu2 Host 10.245.162.240 not found in /home/ubuntu/.ssh/known_hosts ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused ........ status: done time: Fri, 04 Oct 2019 22:28:15 +0000 detail: DataSourceOpenStackLocal [net,ver=2] SRU-worked-openstack Startup finished in 3.944s (kernel) + 26.189s (userspace) = 30.134s graphical.target reached after 22.690s in userspace 12.849s cloud-init-local.service 3.959s cloud-config.service 2.305s systemd-logind.service 2.166s snap.lxd.activate.service 1.976s systemd-hostnamed.service 1.844s systemd-networkd-wait-online.service 1.733s dev-vda1.device 1.610s cloud-init.service 1.482s systemd-udev-settle.service 1.069s accounts-daemon.service 1.048s networkd-dispatcher.service 916ms rsyslog.service 843ms systemd-timesyncd.service 801ms apport.service 798ms systemd-journald.service 792ms cloud-final.service 739ms grub-initrd-fallback.service 632ms grub-common.service 572ms snapd.service 540ms ssh.service 518ms atd.service 443ms systemd-resolved.service 407ms systemd-udev-trigger.service 401ms systemd-user-sessions.service 360ms user@1000.service 357ms systemd-networkd.service 325ms snapd.seeded.service 314ms keyboard-setup.service 306ms ufw.service 291ms dev-loop1.device 291ms apparmor.service 281ms dev-hugepages.mount 268ms kmod-static-nodes.service 267ms polkit.service 232ms sys-kernel-debug.mount 229ms dev-loop0.device 228ms systemd-modules-load.service 194ms dev-mqueue.mount 182ms lvm2-monitor.service 150ms snapd.socket 148ms user-runtime-dir@1000.service 122ms plymouth-quit-wait.service 118ms plymouth-quit.service 105ms systemd-remount-fs.service 104ms systemd-update-utmp-runlevel.service 100ms systemd-random-seed.service 96ms systemd-fsck@dev-vdb.service 92ms snap-lxd-11985.mount 92ms boot-efi.mount 90ms systemd-sysusers.service 82ms sys-kernel-config.mount 79ms console-setup.service 74ms finalrd.service 74ms systemd-tmpfiles-setup.service 72ms snap-core-7713.mount 68ms plymouth-read-write.service 67ms systemd-update-utmp.service 62ms multipathd.service 61ms systemd-sysctl.service 58ms systemd-udevd.service 52ms sys-fs-fuse-connections.mount 43ms blk-availability.service 40ms systemd-journal-flush.service 27ms systemd-tmpfiles-setup-dev.service 25ms setvtrgb.service -- Boot Record 01 -- The total time elapsed since completing an event is printed after the "@" character. The time the event takes is printed after the "+" character. Starting stage: init-local |`->no cache found @00.00400s +00.00100s |`->found local data from DataSourceOpenStackLocal @00.01300s +11.54500s Finished stage: (init-local) 11.77800 seconds Starting stage: init-network |`->restored from cache with run check: DataSourceOpenStackLocal [net,ver=2] @14.68900s +00.00600s |`->setting up datasource @14.76000s +00.00000s |`->reading and applying user-data @14.76700s +00.00900s |`->reading and applying vendor-data @14.77600s +00.00000s |`->activating datasource @14.82100s +00.00100s |`->config-migrator ran successfully @14.85500s +00.00100s |`->config-seed_random ran successfully @14.85600s +00.00200s |`->config-bootcmd ran successfully @14.85800s +00.00000s |`->config-write-files ran successfully @14.86300s +00.00100s |`->config-growpart ran successfully @14.86400s +00.15600s |`->config-resizefs ran successfully @15.02000s +00.04800s |`->config-disk_setup ran successfully @15.06900s +00.00100s |`->config-mounts ran successfully @15.07000s +00.26900s |`->config-set_hostname ran successfully @15.33900s +00.00700s |`->config-update_hostname ran successfully @15.34700s +00.00100s |`->config-update_etc_hosts ran successfully @15.34800s +00.00100s |`->config-ca-certs ran successfully @15.34900s +00.00100s |`->config-rsyslog ran successfully @15.35000s +00.00100s |`->config-users-groups ran successfully @15.35100s +00.01200s |`->config-ssh ran successfully @15.36300s +00.17900s Finished stage: (init-network) 00.87400 seconds Starting stage: modules-config |`->config-emit_upstart ran successfully @19.75600s +00.00000s |`->config-snap ran successfully @19.75700s +00.00100s |`->config-snap_config ran successfully @19.75800s +00.00000s |`->config-ssh-import-id ran successfully @19.76300s +01.07100s |`->config-locale ran successfully @20.83500s +00.00200s |`->config-set-passwords ran successfully @20.83700s +00.00100s |`->config-grub-dpkg ran successfully @20.83800s +00.18500s |`->config-apt-pipelining ran successfully @21.02400s +00.00100s |`->config-apt-configure ran successfully @21.02500s +00.28900s |`->config-ubuntu-advantage ran successfully @21.31400s +00.00300s |`->config-ntp ran successfully @21.31700s +00.00100s |`->config-timezone ran successfully @21.31800s +00.00400s |`->config-disable-ec2-metadata ran successfully @21.32200s +00.00200s |`->config-runcmd ran successfully @21.32500s +00.00100s |`->config-byobu ran successfully @21.32700s +00.00200s Finished stage: (modules-config) 01.60900 seconds Starting stage: modules-final |`->config-snappy ran successfully @21.96600s +00.00200s |`->config-package-update-upgrade-install ran successfully @21.96800s +00.00100s |`->config-fan ran successfully @21.96900s +00.00100s |`->config-landscape ran successfully @21.97000s +00.00100s |`->config-lxd ran successfully @21.97100s +00.00100s |`->config-ubuntu-drivers ran successfully @21.97200s +00.00100s |`->config-puppet ran successfully @21.97300s +00.00100s |`->config-chef ran successfully @21.97400s +00.00100s |`->config-mcollective ran successfully @21.97500s +00.00100s |`->config-salt-minion ran successfully @21.97600s +00.00100s |`->config-rightscale_userdata ran successfully @21.97800s +00.00100s |`->config-scripts-vendor ran successfully @21.97900s +00.00100s |`->config-scripts-per-once ran successfully @21.98000s +00.00100s |`->config-scripts-per-boot ran successfully @21.98100s +00.00000s |`->config-scripts-per-instance ran successfully @21.98100s +00.00100s |`->config-scripts-user ran successfully @21.98200s +00.00100s |`->config-ssh-authkey-fingerprints ran successfully @21.98300s +00.03600s |`->config-keys-to-console ran successfully @22.02000s +00.07500s |`->config-phone-home ran successfully @22.09600s +00.00100s |`->config-final-message ran successfully @22.09700s +00.00600s |`->config-power-state-change ran successfully @22.10300s +00.00100s Finished stage: (modules-final) 00.15900 seconds Total Time: 14.42000 seconds 1 boot records analyzed -- Boot Record 01 -- 11.54500s (init-local/search-OpenStackLocal) 01.07100s (modules-config/config-ssh-import-id) 00.28900s (modules-config/config-apt-configure) 00.26900s (init-network/config-mounts) 00.18500s (modules-config/config-grub-dpkg) 00.17900s (init-network/config-ssh) 00.15600s (init-network/config-growpart) 00.07500s (modules-final/config-keys-to-console) 00.04800s (init-network/config-resizefs) 00.03600s (modules-final/config-ssh-authkey-fingerprints) 00.01200s (init-network/config-users-groups) 00.00900s (init-network/consume-user-data) 00.00700s (init-network/config-set_hostname) 00.00600s (modules-final/config-final-message) 00.00600s (init-network/check-cache) 00.00400s (modules-config/config-timezone) 00.00300s (modules-config/config-ubuntu-advantage) 00.00200s (modules-final/config-snappy) 00.00200s (modules-config/config-locale) 00.00200s (modules-config/config-disable-ec2-metadata) 00.00200s (modules-config/config-byobu) 00.00200s (init-network/config-seed_random) 00.00100s (modules-final/config-ubuntu-drivers) 00.00100s (modules-final/config-scripts-vendor) 00.00100s (modules-final/config-scripts-user) 00.00100s (modules-final/config-scripts-per-once) 00.00100s (modules-final/config-scripts-per-instance) 00.00100s (modules-final/config-salt-minion) 00.00100s (modules-final/config-rightscale_userdata) 00.00100s (modules-final/config-puppet) 00.00100s (modules-final/config-power-state-change) 00.00100s (modules-final/config-phone-home) 00.00100s (modules-final/config-package-update-upgrade-install) 00.00100s (modules-final/config-mcollective) 00.00100s (modules-final/config-lxd) 00.00100s (modules-final/config-landscape) 00.00100s (modules-final/config-fan) 00.00100s (modules-final/config-chef) 00.00100s (modules-config/config-snap) 00.00100s (modules-config/config-set-passwords) 00.00100s (modules-config/config-runcmd) 00.00100s (modules-config/config-ntp) 00.00100s (modules-config/config-apt-pipelining) 00.00100s (init-network/config-write-files) 00.00100s (init-network/config-update_hostname) 00.00100s (init-network/config-update_etc_hosts) 00.00100s (init-network/config-rsyslog) 00.00100s (init-network/config-migrator) 00.00100s (init-network/config-disk_setup) 00.00100s (init-network/config-ca-certs) 00.00100s (init-network/activate-datasource) 00.00100s (init-local/check-cache) 00.00000s (modules-final/config-scripts-per-boot) 00.00000s (modules-config/config-snap_config) 00.00000s (modules-config/config-emit_upstart) 00.00000s (init-network/setup-datasource) 00.00000s (init-network/consume-vendor-data) 00.00000s (init-network/config-bootcmd) 1 boot records analyzed After upgrade Networking config # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: version: 2 ethernets: ens3: dhcp4: true match: macaddress: fa:16:3e:87:1e:3c mtu: 8958 set-name: ens3 cloud-region: openstack-None Get cloud-id openstack Validating whether metadata is being updated per boot LP:1819913 2019-10-04 22:27:53,132 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot ssh: connect to host 10.245.162.240 port 22: Connection refused ssh: connect to host 10.245.162.240 port 22: Connection refused status: done time: Fri, 04 Oct 2019 22:28:45 +0000 detail: DataSourceOpenStackLocal [net,ver=2] After reboot 2019-10-04 22:27:53,132 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot ### END SRU Verification ###