Skip to content

Instantly share code, notes, and snippets.

@andrewpwade
Created May 16, 2019 14:12
Show Gist options
  • Save andrewpwade/c4bdad2cce4dd9d35486dbbeadc2d44c to your computer and use it in GitHub Desktop.
Save andrewpwade/c4bdad2cce4dd9d35486dbbeadc2d44c to your computer and use it in GitHub Desktop.
user@ubuntu1804:~$ sudo rm -rf /var/lib/cloud/instances/ /var/lib/cloud/data/upgraded-network && sudo cloud-init -d init
2019-05-16 14:11:00,883 - handlers.py[DEBUG]: start: init-network: searching for network datasources
2019-05-16 14:11:00,883 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-05-16 14:11:00,884 - util.py[DEBUG]: Read 16 bytes from /proc/uptime
2019-05-16 14:11:00,885 - util.py[DEBUG]: Reading from /var/lib/cloud/data/status.json (quiet=False)
2019-05-16 14:11:00,885 - util.py[DEBUG]: Read 568 bytes from /var/lib/cloud/data/status.json
2019-05-16 14:11:00,887 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/status.json' => '../../var/lib/cloud/data/status.json'
2019-05-16 14:11:00,887 - util.py[DEBUG]: Attempting to remove /run/cloud-init/status.json
2019-05-16 14:11:00,888 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
2019-05-16 14:11:00,893 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
2019-05-16 14:11:00,895 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
2019-05-16 14:11:00,897 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
2019-05-16 14:11:00,898 - util.py[DEBUG]: Read 185 bytes from /proc/1/environ
2019-05-16 14:11:00,898 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
2019-05-16 14:11:00,898 - util.py[DEBUG]: Read 1328 bytes from /proc/self/status
2019-05-16 14:11:00,898 - util.py[DEBUG]: Reading from /proc/cmdline (quiet=False)
2019-05-16 14:11:00,899 - util.py[DEBUG]: Read 167 bytes from /proc/cmdline
2019-05-16 14:11:00,899 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-05-16 14:11:00,899 - util.py[DEBUG]: Read 16 bytes from /proc/uptime
2019-05-16 14:11:00,899 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-05-16 14:11:00,900 - util.py[DEBUG]: Read 3666 bytes from /etc/cloud/cloud.cfg
2019-05-16 14:11:00,900 - util.py[DEBUG]: Attempting to load yaml from string of length 3666 with allowed root types (<class 'dict'>,)
2019-05-16 14:11:00,921 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg (quiet=False)
2019-05-16 14:11:00,921 - util.py[DEBUG]: Read 549 bytes from /etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg
2019-05-16 14:11:00,922 - util.py[DEBUG]: Attempting to load yaml from string of length 549 with allowed root types (<class 'dict'>,)
2019-05-16 14:11:00,923 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-05-16 14:11:00,924 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-05-16 14:11:00,924 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<class 'dict'>,)
2019-05-16 14:11:00,930 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False)
2019-05-16 14:11:00,931 - util.py[DEBUG]: Read 43 bytes from /run/cloud-init/cloud.cfg
2019-05-16 14:11:00,931 - util.py[DEBUG]: Attempting to load yaml from string of length 43 with allowed root types (<class 'dict'>,)
2019-05-16 14:11:00,932 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2019-05-16 14:11:00,932 - util.py[DEBUG]: loaded blob returned None, returning default.
2019-05-16 14:11:00,933 - util.py[DEBUG]: Redirecting <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'> to | tee -a /var/log/cloud-init-output.log
2019-05-16 14:11:00,935 - util.py[DEBUG]: Redirecting <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'> to | tee -a /var/log/cloud-init-output.log
2019-05-16 14:11:00,935 - main.py[DEBUG]: Logging being reset, this logger may no longer be active shortly
Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 running 'init' at Thu, 16 May 2019 14:11:00 +0000. Up 1379.09 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment