Skip to content

Instantly share code, notes, and snippets.

@eamsden
Created March 29, 2019 00:16
Show Gist options
  • Save eamsden/28eee5d56810161b553078ef8b4db843 to your computer and use it in GitHub Desktop.
Save eamsden/28eee5d56810161b553078ef8b4db843 to your computer and use it in GitHub Desktop.
-- Logs begin at Fri 2019-03-29 00:12:03 UTC, end at Fri 2019-03-29 00:15:20 UTC. --
Mar 29 00:12:10 localhost systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
Mar 29 00:12:11 localhost cloud-init[754]: Cloud-init v. 0.7.9 running 'init' at Fri, 29 Mar 2019 00:12:11 +0000. Up 11.84 seconds.
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: ++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +--------+------+--------------+---------------+-------+-------------------+
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +--------+------+--------------+---------------+-------+-------------------+
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | lo: | True | . | . | d | . |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | eth0: | True | 159.65.246.8 | 255.255.240.0 | . | 7a:8d:82:bb:22:b5 |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | eth0: | True | . | . | d | 7a:8d:82:bb:22:b5 |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +--------+------+--------------+---------------+-------+-------------------+
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | 0 | 0.0.0.0 | 159.65.240.1 | 0.0.0.0 | eth0 | UG |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: | 1 | 159.65.240.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
Mar 29 00:12:11 localhost cloud-init[754]: ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Mar 29 00:12:11 localhost DigitalOcean[768]: adding random seed to /dev/urandom
Mar 29 00:12:11 localhost passwd[813]: password for 'root' changed by 'root'
Mar 29 00:12:11 localhost systemd[1]: Started Initial cloud-init job (metadata service crawler).
Cloud-init v. 0.7.9 running 'init-local' at Fri, 29 Mar 2019 00:12:06 +0000. Up 6.93 seconds.
2019-03-29 00:12:06,295 - __init__.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.nixos.Distro'>'. Attempting to use apply_network
2019-03-29 00:12:06,303 - stages.py[WARNING]: distro '<cloudinit.distros.nixos.Distro object at 0x7fc872728a90>' does not implement apply_network_config. networking may not be configured properly.
Cloud-init v. 0.7.9 running 'init' at Fri, 29 Mar 2019 00:12:11 +0000. Up 11.84 seconds.
ci-info: ++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++
ci-info: +--------+------+--------------+---------------+-------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+--------------+---------------+-------+-------------------+
ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . |
ci-info: | lo: | True | . | . | d | . |
ci-info: | eth0: | True | 159.65.246.8 | 255.255.240.0 | . | 7a:8d:82:bb:22:b5 |
ci-info: | eth0: | True | . | . | d | 7a:8d:82:bb:22:b5 |
ci-info: +--------+------+--------------+---------------+-------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 159.65.240.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 159.65.240.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Cloud-init v. 0.7.9 running 'modules:config' at Fri, 29 Mar 2019 00:12:12 +0000. Up 13.03 seconds.
2019-03-29 00:12:12,436 - util.py[WARNING]: Restarting of the ssh daemon failed
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:4BJp9UPvfk7tk+kFA85SzzOmiA+fNfaBVZyOTzedPdE root@localhost
The key's randomart image is:
+---[DSA 1024]----+
| . . |
| o o . .o|
| + . o . o oE|
| . o . o + +o.=|
| . . S o o.X*+|
| . o o *o=+|
| o o O o+.|
| + B ++o |
| + ..+. |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:YbyNqROKvNyOj/PWVnG04zBo3aakkzYCSjgpzeIG2bg root@localhost
The key's randomart image is:
+---[ECDSA 256]---+
| |
| . . |
|.B o+o . |
|X.= o.*** |
|== . ..+SO.. |
|E+ ...*oo . |
|. o .+o+ |
| ..=. o. |
| =*=. |
+----[SHA256]-----+
Cloud-init v. 0.7.9 running 'modules:final' at Fri, 29 Mar 2019 00:12:13 +0000. Up 13.81 seconds.
2019-03-29 00:12:13,099 - util.py[WARNING]: Failed running /var/lib/cloud/scripts/per-instance/machine_id.sh [-]
2019-03-29 00:12:13,104 - cc_scripts_per_instance.py[WARNING]: Failed to run module scripts-per-instance (per-instance in /var/lib/cloud/scripts/per-instance)
2019-03-29 00:12:13,104 - util.py[WARNING]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyc'>) failed
2019-03-29 00:12:13,141 - cc_keys_to_console.py[WARNING]: Unable to activate module keys-to-console, helper tool not found at /usr/lib/cloud-init/write-ssh-key-fingerprints
Cloud-init v. 0.7.9 finished at Fri, 29 Mar 2019 00:12:13 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb]. Up 13.96 seconds
2019-03-29 00:12:06,165 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init-local' at Fri, 29 Mar 2019 00:12:06 +0000. Up 6.93 seconds.
2019-03-29 00:12:06,180 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2019-03-29 00:12:06,181 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:55
2019-03-29 00:12:06,182 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2019-03-29 00:12:06,182 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2019-03-29 00:12:06,182 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
2019-03-29 00:12:06,182 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2019-03-29 00:12:06,182 - stages.py[DEBUG]: no cache found
2019-03-29 00:12:06,182 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found
2019-03-29 00:12:06,182 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-29 00:12:06,185 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:06,185 - __init__.py[DEBUG]: Looking for for data source in: ['ConfigDrive', 'DigitalOcean', 'None', 'NoCloud'], via packages ['', u'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2019-03-29 00:12:06,193 - __init__.py[DEBUG]: Searching for local data source in: [u'DataSourceConfigDrive', u'DataSourceDigitalOcean', u'DataSourceNoCloud']
2019-03-29 00:12:06,193 - handlers.py[DEBUG]: start: init-local/search-ConfigDrive: searching for local data from DataSourceConfigDrive
2019-03-29 00:12:06,193 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceConfigDrive.DataSourceConfigDrive'>
2019-03-29 00:12:06,193 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,198 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr1'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,201 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/cd0'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,203 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/cd1'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,206 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,213 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,218 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=config-2', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:06,228 - util.py[DEBUG]: Reading from /proc/mounts (quiet=False)
2019-03-29 00:12:06,229 - util.py[DEBUG]: Read 2030 bytes from /proc/mounts
2019-03-29 00:12:06,229 - util.py[DEBUG]: Fetched {'/dev/disk/by-label/nixos': {'mountpoint': '/nix/store', 'opts': 'ro,relatime', 'fstype': 'ext4'}, 'cgroup2': {'mountpoint': '/sys/fs/cgroup/unified', 'opts': 'rw,nosuid,nodev,noexec,relatime,nsdelegate', 'fstype': 'cgroup2'}, 'devpts': {'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=3,mode=620,ptmxmode=666', 'fstype': 'devpts'}, 'bpf': {'mountpoint': '/sys/fs/bpf', 'opts': 'rw,nosuid,nodev,noexec,relatime,mode=700', 'fstype': 'bpf'}, 'securityfs': {'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'securityfs'}, 'sysfs': {'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'sysfs'}, 'ramfs': {'mountpoint': '/run/keys', 'opts': 'rw,nosuid,nodev,relatime,mode=750', 'fstype': 'ramfs'}, 'hugetlbfs': {'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime,pagesize=2M', 'fstype': 'hugetlbfs'}, 'cgroup': {'mountpoint': '/sys/fs/cgroup/freezer', 'opts': 'rw,nosuid,nodev,noexec,relatime,freezer', 'fstype': 'cgroup'}, 'tmpfs': {'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755', 'fstype': 'tmpfs'}, 'proc': {'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'proc'}, 'devtmpfs': {'mountpoint': '/dev', 'opts': 'rw,nosuid,size=50724k,nr_inodes=125046,mode=755', 'fstype': 'devtmpfs'}, 'debugfs': {'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime', 'fstype': 'debugfs'}, 'mqueue': {'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime', 'fstype': 'mqueue'}} mounts from proc
2019-03-29 00:12:06,229 - util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', u'/dev/vdb', '/tmp/tmpOIOMjR'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:06,242 - openstack.py[DEBUG]: Selected version '2012-08-10' from ['2012-08-10', '2015-10-16', 'latest']
2019-03-29 00:12:06,243 - util.py[DEBUG]: Reading from /tmp/tmpOIOMjR/openstack/2012-08-10/vendor_data.json (quiet=False)
2019-03-29 00:12:06,243 - util.py[DEBUG]: Read 11629 bytes from /tmp/tmpOIOMjR/openstack/2012-08-10/vendor_data.json
2019-03-29 00:12:06,244 - util.py[DEBUG]: Reading from /tmp/tmpOIOMjR/openstack/2012-08-10/user_data (quiet=False)
2019-03-29 00:12:06,244 - util.py[DEBUG]: Read 0 bytes from /tmp/tmpOIOMjR/openstack/2012-08-10/user_data
2019-03-29 00:12:06,244 - util.py[DEBUG]: Reading from /tmp/tmpOIOMjR/openstack/2012-08-10/network_data.json (quiet=False)
2019-03-29 00:12:06,244 - util.py[DEBUG]: Read 378 bytes from /tmp/tmpOIOMjR/openstack/2012-08-10/network_data.json
2019-03-29 00:12:06,244 - util.py[DEBUG]: Reading from /tmp/tmpOIOMjR/openstack/2012-08-10/meta_data.json (quiet=False)
2019-03-29 00:12:06,245 - util.py[DEBUG]: Read 605 bytes from /tmp/tmpOIOMjR/openstack/2012-08-10/meta_data.json
2019-03-29 00:12:06,245 - util.py[DEBUG]: Running command ['umount', '/tmp/tmpOIOMjR'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:06,250 - util.py[DEBUG]: Recursively deleting /tmp/tmpOIOMjR
2019-03-29 00:12:06,250 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-29 00:12:06,251 - handlers.py[DEBUG]: finish: init-local/search-ConfigDrive: SUCCESS: found local data from DataSourceConfigDrive
2019-03-29 00:12:06,251 - stages.py[INFO]: Loaded datasource DataSourceConfigDrive - DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-29 00:12:06,251 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-29 00:12:06,251 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-29 00:12:06,251 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,257 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-29 00:12:06,257 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-29 00:12:06,257 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,261 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,262 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:06,262 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-29 00:12:06,262 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/138114147'
2019-03-29 00:12:06,264 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/138114147/datasource (quiet=False)
2019-03-29 00:12:06,265 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/datasource - wb: [420] 74 bytes
2019-03-29 00:12:06,265 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 74 bytes
2019-03-29 00:12:06,266 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-29 00:12:06,266 - stages.py[DEBUG]: previous iid found to be NO_PREVIOUS_INSTANCE_ID
2019-03-29 00:12:06,266 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 10 bytes
2019-03-29 00:12:06,267 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 10 bytes
2019-03-29 00:12:06,268 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 24 bytes
2019-03-29 00:12:06,269 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 17571 bytes
2019-03-29 00:12:06,270 - main.py[DEBUG]: [local] init will now be targeting instance id: 138114147. new=True
2019-03-29 00:12:06,270 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-29 00:12:06,270 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-29 00:12:06,270 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,275 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-29 00:12:06,275 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-29 00:12:06,275 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,280 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:06,280 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:06,280 - DataSourceConfigDrive.py[DEBUG]: network config provided via network_json
2019-03-29 00:12:06,281 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-29 00:12:06,281 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-29 00:12:06,281 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-29 00:12:06,281 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-29 00:12:06,281 - stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'7a:8d:82:bb:22:b5', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-29 00:12:06,282 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:06,282 - util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
2019-03-29 00:12:06,282 - util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
2019-03-29 00:12:06,282 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-29 00:12:06,282 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-29 00:12:06,282 - util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
2019-03-29 00:12:06,282 - util.py[DEBUG]: Read 3 bytes from /sys/class/net/eth0/operstate
2019-03-29 00:12:06,282 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-29 00:12:06,282 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-29 00:12:06,283 - util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:06,291 - util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:06,295 - __init__.py[DEBUG]: no work necessary for renaming of [[u'7a:8d:82:bb:22:b5', 'eth0']]
2019-03-29 00:12:06,295 - stages.py[INFO]: Applying network configuration from ds bringup=False: {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'7a:8d:82:bb:22:b5', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-29 00:12:06,295 - __init__.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.nixos.Distro'>'. Attempting to use apply_network
2019-03-29 00:12:06,303 - stages.py[WARNING]: distro '<cloudinit.distros.nixos.Distro object at 0x7fc872728a90>' does not implement apply_network_config. networking may not be configured properly.
2019-03-29 00:12:06,303 - main.py[DEBUG]: [local] Exiting. datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb] not in local mode.
2019-03-29 00:12:06,309 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-29 00:12:06,309 - util.py[DEBUG]: Read 10 bytes from /proc/uptime
2019-03-29 00:12:06,309 - util.py[DEBUG]: cloud-init mode 'init' took 0.186 seconds (0.19)
2019-03-29 00:12:06,309 - handlers.py[DEBUG]: finish: init-local: SUCCESS: searching for local datasources
2019-03-29 00:12:11,061 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init' at Fri, 29 Mar 2019 00:12:11 +0000. Up 11.84 seconds.
2019-03-29 00:12:11,069 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2019-03-29 00:12:11,076 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:55
2019-03-29 00:12:11,076 - util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,083 - util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,087 - util.py[DEBUG]: Running command ['netstat', '-A', 'inet6', '-n'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,091 - main.py[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early.
2019-03-29 00:12:11,094 - main.py[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early.
2019-03-29 00:12:11,094 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust]
2019-03-29 00:12:11,094 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2019-03-29 00:12:11,095 - util.py[DEBUG]: Read 17571 bytes from /var/lib/cloud/instance/obj.pkl
2019-03-29 00:12:11,100 - util.py[DEBUG]: Reading from /run/cloud-init/.instance-id (quiet=False)
2019-03-29 00:12:11,100 - util.py[DEBUG]: Read 10 bytes from /run/cloud-init/.instance-id
2019-03-29 00:12:11,100 - stages.py[DEBUG]: restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-29 00:12:11,100 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-29 00:12:11,100 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-29 00:12:11,100 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-29 00:12:11,100 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,113 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-29 00:12:11,113 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-29 00:12:11,113 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,121 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,124 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,124 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-29 00:12:11,124 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/138114147'
2019-03-29 00:12:11,126 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/138114147/datasource (quiet=False)
2019-03-29 00:12:11,127 - util.py[DEBUG]: Read 74 bytes from /var/lib/cloud/instances/138114147/datasource
2019-03-29 00:12:11,127 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/datasource - wb: [420] 74 bytes
2019-03-29 00:12:11,128 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 74 bytes
2019-03-29 00:12:11,131 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-29 00:12:11,131 - util.py[DEBUG]: Read 10 bytes from /var/lib/cloud/data/instance-id
2019-03-29 00:12:11,131 - stages.py[DEBUG]: previous iid found to be 138114147
2019-03-29 00:12:11,131 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 10 bytes
2019-03-29 00:12:11,132 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 10 bytes
2019-03-29 00:12:11,134 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 10 bytes
2019-03-29 00:12:11,137 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 17660 bytes
2019-03-29 00:12:11,137 - main.py[DEBUG]: [net] init will now be targeting instance id: 138114147. new=False
2019-03-29 00:12:11,138 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-29 00:12:11,139 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-29 00:12:11,139 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,150 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-29 00:12:11,150 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-29 00:12:11,150 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,158 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,158 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,158 - DataSourceConfigDrive.py[DEBUG]: network config provided via network_json
2019-03-29 00:12:11,158 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-29 00:12:11,159 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-29 00:12:11,162 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-29 00:12:11,162 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-29 00:12:11,162 - stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'7a:8d:82:bb:22:b5', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-29 00:12:11,163 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:11,163 - util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
2019-03-29 00:12:11,163 - util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
2019-03-29 00:12:11,164 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-29 00:12:11,165 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-29 00:12:11,165 - util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
2019-03-29 00:12:11,165 - util.py[DEBUG]: Read 3 bytes from /sys/class/net/eth0/operstate
2019-03-29 00:12:11,165 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-29 00:12:11,165 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-29 00:12:11,165 - util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,175 - util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,178 - __init__.py[DEBUG]: no work necessary for renaming of [[u'7a:8d:82:bb:22:b5', 'eth0']]
2019-03-29 00:12:11,181 - stages.py[DEBUG]: not a new instance. network config is not applied.
2019-03-29 00:12:11,181 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/user-data.txt - wb: [384] 0 bytes
2019-03-29 00:12:11,188 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/user-data.txt.i - wb: [384] 345 bytes
2019-03-29 00:12:11,189 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/vendor-data.txt - wb: [384] 11143 bytes
2019-03-29 00:12:11,191 - util.py[DEBUG]: Attempting to load yaml from string of length 108 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,194 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/vendor-data.txt.i - wb: [384] 11201 bytes
2019-03-29 00:12:11,195 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/consume_data - wb: [420] 18 bytes
2019-03-29 00:12:11,195 - helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/consume_data'>)
2019-03-29 00:12:11,196 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data
2019-03-29 00:12:11,196 - stages.py[DEBUG]: Added default handler for set(['text/cloud-config-jsonp', 'text/cloud-config']) from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']]
2019-03-29 00:12:11,196 - stages.py[DEBUG]: Added default handler for set(['text/x-shellscript']) from ShellScriptPartHandler: [['text/x-shellscript']]
2019-03-29 00:12:11,196 - stages.py[DEBUG]: Added default handler for set(['text/cloud-boothook']) from BootHookPartHandler: [['text/cloud-boothook']]
2019-03-29 00:12:11,196 - stages.py[DEBUG]: Added default handler for set(['text/upstart-job']) from UpstartJobPartHandler: [['text/upstart-job']]
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: {'Content-Type': 'text/x-not-multipart', 'Content-Disposition': 'attachment; filename="part-001"', 'MIME-Version': '1.0'}
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Empty payload of type text/x-not-multipart
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,197 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
2019-03-29 00:12:11,198 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/cloud-config.txt - wb: [384] 0 bytes
2019-03-29 00:12:11,198 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,198 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data
2019-03-29 00:12:11,198 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data
2019-03-29 00:12:11,199 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-29 00:12:11,199 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-29 00:12:11,199 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,199 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,199 - stages.py[DEBUG]: vendor data will be consumed. disabled_handlers=None
2019-03-29 00:12:11,201 - stages.py[DEBUG]: Added default handler for set(['text/cloud-config-jsonp', 'text/cloud-config']) from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']]
2019-03-29 00:12:11,201 - stages.py[DEBUG]: Added default handler for set(['text/x-shellscript']) from ShellScriptPartHandler: [['text/x-shellscript']]
2019-03-29 00:12:11,201 - stages.py[DEBUG]: Added default handler for set(['text/cloud-boothook']) from BootHookPartHandler: [['text/cloud-boothook']]
2019-03-29 00:12:11,201 - stages.py[DEBUG]: Added default handler for set(['text/upstart-job']) from UpstartJobPartHandler: [['text/upstart-job']]
2019-03-29 00:12:11,201 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,201 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,202 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
2019-03-29 00:12:11,202 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,202 - __init__.py[DEBUG]: {'Content-Transfer-Encoding': '7bit', 'Content-Type': 'text/cloud-config; charset="us-ascii"', 'Content-Disposition': 'attachment; filename="cloud-config"', 'MIME-Version': '1.0'}
2019-03-29 00:12:11,202 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (text/cloud-config, cloud-config, 3) with frequency once-per-instance
2019-03-29 00:12:11,202 - util.py[DEBUG]: Attempting to load yaml from string of length 108 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,203 - cloud_config.py[DEBUG]: Merging by applying [('dict', ['replace']), ('list', []), ('str', [])]
2019-03-29 00:12:11,203 - __init__.py[DEBUG]: {'Content-Transfer-Encoding': '7bit', 'Content-Type': 'text/cloud-boothook; charset="us-ascii"', 'Content-Disposition': 'attachment; filename="entropy-seed"', 'MIME-Version': '1.0'}
2019-03-29 00:12:11,203 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (text/cloud-boothook, entropy-seed, 2) with frequency once-per-instance
2019-03-29 00:12:11,204 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/boothooks/entropy-seed - wb: [448] 4299 bytes
2019-03-29 00:12:11,205 - util.py[DEBUG]: Running command ['/var/lib/cloud/instances/138114147/boothooks/entropy-seed'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,214 - __init__.py[DEBUG]: {'Content-Transfer-Encoding': '7bit', 'Content-Type': 'text/cloud-boothook; charset="us-ascii"', 'Content-Disposition': 'attachment; filename="digitalocean_fixups"', 'MIME-Version': '1.0'}
2019-03-29 00:12:11,214 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (text/cloud-boothook, digitalocean_fixups, 2) with frequency once-per-instance
2019-03-29 00:12:11,214 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/boothooks/digitalocean_fixups - wb: [448] 5985 bytes
2019-03-29 00:12:11,215 - util.py[DEBUG]: Running command ['/var/lib/cloud/instances/138114147/boothooks/digitalocean_fixups'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,234 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,234 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,234 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
2019-03-29 00:12:11,235 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/vendor-cloud-config.txt - wb: [384] 145 bytes
2019-03-29 00:12:11,236 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
2019-03-29 00:12:11,236 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data
2019-03-29 00:12:11,237 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-29 00:12:11,237 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-29 00:12:11,237 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,242 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90-digitalocean.cfg (quiet=False)
2019-03-29 00:12:11,242 - util.py[DEBUG]: Read 1329 bytes from /etc/cloud/cloud.cfg.d/90-digitalocean.cfg
2019-03-29 00:12:11,242 - util.py[DEBUG]: Attempting to load yaml from string of length 1329 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,248 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-29 00:12:11,248 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-29 00:12:11,248 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,253 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,253 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,253 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-29 00:12:11,253 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-29 00:12:11,253 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,253 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,253 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/vendor-cloud-config.txt (quiet=False)
2019-03-29 00:12:11,254 - util.py[DEBUG]: Read 145 bytes from /var/lib/cloud/instance/vendor-cloud-config.txt
2019-03-29 00:12:11,254 - util.py[DEBUG]: Attempting to load yaml from string of length 145 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,255 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-29 00:12:11,256 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-29 00:12:11,256 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,256 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-29 00:12:11,256 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/vendor-cloud-config.txt (quiet=False)
2019-03-29 00:12:11,256 - util.py[DEBUG]: Read 145 bytes from /var/lib/cloud/instance/vendor-cloud-config.txt
2019-03-29 00:12:11,256 - util.py[DEBUG]: Attempting to load yaml from string of length 145 with allowed root types (<type 'dict'>,)
2019-03-29 00:12:11,259 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 28983 bytes
2019-03-29 00:12:11,272 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:11,273 - stages.py[INFO]: Skipping modules ['ca-certs'] because they are not verified on distro 'nixos'. To run anyway, add them to 'unverified_modules' in config.
2019-03-29 00:12:11,273 - stages.py[DEBUG]: Running module migrator (<module 'cloudinit.config.cc_migrator' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_migrator.pyc'>) with frequency always
2019-03-29 00:12:11,273 - handlers.py[DEBUG]: start: init-network/config-migrator: running config-migrator with frequency always
2019-03-29 00:12:11,273 - helpers.py[DEBUG]: Running config-migrator using lock (<cloudinit.helpers.DummyLock object at 0x7f1a29e4e250>)
2019-03-29 00:12:11,273 - cc_migrator.py[DEBUG]: Migrated 0 semaphore files to there canonicalized names
2019-03-29 00:12:11,274 - handlers.py[DEBUG]: finish: init-network/config-migrator: SUCCESS: config-migrator ran successfully
2019-03-29 00:12:11,274 - stages.py[DEBUG]: Running module seed_random (<module 'cloudinit.config.cc_seed_random' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_seed_random.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,274 - handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance
2019-03-29 00:12:11,274 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_seed_random - wb: [420] 19 bytes
2019-03-29 00:12:11,275 - helpers.py[DEBUG]: Running config-seed_random using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_seed_random'>)
2019-03-29 00:12:11,275 - cc_seed_random.py[DEBUG]: no command provided
2019-03-29 00:12:11,275 - handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully
2019-03-29 00:12:11,275 - stages.py[DEBUG]: Running module bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_bootcmd.pyc'>) with frequency always
2019-03-29 00:12:11,275 - handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always
2019-03-29 00:12:11,275 - helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7f1a29e4e3d0>)
2019-03-29 00:12:11,275 - cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
2019-03-29 00:12:11,276 - handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully
2019-03-29 00:12:11,276 - stages.py[DEBUG]: Running module write-files (<module 'cloudinit.config.cc_write_files' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_write_files.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,276 - handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance
2019-03-29 00:12:11,276 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_write_files - wb: [420] 19 bytes
2019-03-29 00:12:11,277 - helpers.py[DEBUG]: Running config-write-files using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_write_files'>)
2019-03-29 00:12:11,277 - cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration
2019-03-29 00:12:11,277 - handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files ran successfully
2019-03-29 00:12:11,277 - stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_growpart.pyc'>) with frequency always
2019-03-29 00:12:11,277 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
2019-03-29 00:12:11,277 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f1a29e4e490>)
2019-03-29 00:12:11,277 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'ignore_growroot_disabled': False, 'mode': 'auto', 'devices': ['/']}
2019-03-29 00:12:11,277 - util.py[DEBUG]: Running command ['/nix/store/hbzsppz29w50qb5f9663fzqqrr6k54gq-cloud-utils-0.30/bin/growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,291 - util.py[DEBUG]: Reading from /proc/754/mountinfo (quiet=False)
2019-03-29 00:12:11,291 - util.py[DEBUG]: Read 2723 bytes from /proc/754/mountinfo
2019-03-29 00:12:11,298 - util.py[DEBUG]: Reading from /sys/class/block/vda1/partition (quiet=False)
2019-03-29 00:12:11,298 - util.py[DEBUG]: Read 2 bytes from /sys/class/block/vda1/partition
2019-03-29 00:12:11,298 - util.py[DEBUG]: Reading from /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/vda/dev (quiet=False)
2019-03-29 00:12:11,298 - util.py[DEBUG]: Read 6 bytes from /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/vda/dev
2019-03-29 00:12:11,298 - util.py[DEBUG]: Running command ['/nix/store/hbzsppz29w50qb5f9663fzqqrr6k54gq-cloud-utils-0.30/bin/growpart', '--dry-run', '/dev/vda', '1'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,359 - util.py[DEBUG]: resize_devices took 0.068 seconds
2019-03-29 00:12:11,359 - cc_growpart.py[DEBUG]: '/' NOCHANGE: no change necessary (/dev/vda, 1)
2019-03-29 00:12:11,359 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
2019-03-29 00:12:11,359 - stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_resizefs.pyc'>) with frequency always
2019-03-29 00:12:11,360 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
2019-03-29 00:12:11,360 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f1a29e4e5d0>)
2019-03-29 00:12:11,360 - util.py[DEBUG]: Reading from /proc/754/mountinfo (quiet=False)
2019-03-29 00:12:11,360 - util.py[DEBUG]: Read 2723 bytes from /proc/754/mountinfo
2019-03-29 00:12:11,360 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/disk/by-label/nixos mnt_point=/ path=/
2019-03-29 00:12:11,360 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,365 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,369 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,372 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
2019-03-29 00:12:11,372 - util.py[DEBUG]: Read 266 bytes from /proc/1/environ
2019-03-29 00:12:11,372 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
2019-03-29 00:12:11,372 - util.py[DEBUG]: Read 1018 bytes from /proc/self/status
2019-03-29 00:12:11,372 - cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/disk/by-label/nixos
2019-03-29 00:12:11,372 - util.py[DEBUG]: Running command ('resize2fs', '/dev/disk/by-label/nixos') with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,387 - util.py[DEBUG]: Resizing took 0.015 seconds
2019-03-29 00:12:11,387 - cc_resizefs.py[DEBUG]: Resized root filesystem (type=ext4, val=True)
2019-03-29 00:12:11,387 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully
2019-03-29 00:12:11,388 - stages.py[DEBUG]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_update_etc_hosts.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,388 - handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency once-per-instance
2019-03-29 00:12:11,388 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_update_etc_hosts - wb: [420] 19 bytes
2019-03-29 00:12:11,389 - helpers.py[DEBUG]: Running config-update_etc_hosts using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_update_etc_hosts'>)
2019-03-29 00:12:11,389 - util.py[DEBUG]: Reading from /etc/cloud/templates/hosts.nixos.tmpl (quiet=False)
2019-03-29 00:12:11,390 - util.py[DEBUG]: Read 66 bytes from /etc/cloud/templates/hosts.nixos.tmpl
2019-03-29 00:12:11,390 - templater.py[DEBUG]: Using Cheetah as the renderer for unknown template.
2019-03-29 00:12:11,390 - templater.py[DEBUG]: Rendering content of '/etc/cloud/templates/hosts.nixos.tmpl' using renderer cheetah
2019-03-29 00:12:11,393 - util.py[DEBUG]: Writing to /etc/hosts - wb: [420] 90 bytes
2019-03-29 00:12:11,394 - handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully
2019-03-29 00:12:11,394 - stages.py[DEBUG]: Running module ca-certs (<module 'cloudinit.config.cc_ca_certs' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_ca_certs.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,395 - handlers.py[DEBUG]: start: init-network/config-ca-certs: running config-ca-certs with frequency once-per-instance
2019-03-29 00:12:11,395 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_ca_certs - wb: [420] 18 bytes
2019-03-29 00:12:11,396 - helpers.py[DEBUG]: Running config-ca-certs using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_ca_certs'>)
2019-03-29 00:12:11,396 - cc_ca_certs.py[DEBUG]: Skipping module named ca-certs, no 'ca-certs' key in configuration
2019-03-29 00:12:11,396 - handlers.py[DEBUG]: finish: init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully
2019-03-29 00:12:11,396 - stages.py[DEBUG]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_rsyslog.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,396 - handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance
2019-03-29 00:12:11,396 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_rsyslog - wb: [420] 18 bytes
2019-03-29 00:12:11,397 - helpers.py[DEBUG]: Running config-rsyslog using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_rsyslog'>)
2019-03-29 00:12:11,397 - cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration
2019-03-29 00:12:11,397 - handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog ran successfully
2019-03-29 00:12:11,397 - stages.py[DEBUG]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_users_groups.pyc'>) with frequency once-per-instance
2019-03-29 00:12:11,398 - handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance
2019-03-29 00:12:11,398 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_users_groups - wb: [420] 18 bytes
2019-03-29 00:12:11,398 - helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_users_groups'>)
2019-03-29 00:12:11,398 - __init__.py[INFO]: User root already exists, skipping.
2019-03-29 00:12:11,399 - util.py[DEBUG]: Running command ['passwd', '-l', 'root'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:11,412 - handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups ran successfully
2019-03-29 00:12:11,412 - main.py[DEBUG]: Ran 10 modules with 0 failures
2019-03-29 00:12:11,413 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-29 00:12:11,413 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-29 00:12:11,413 - util.py[DEBUG]: cloud-init mode 'init' took 0.393 seconds (0.39)
2019-03-29 00:12:11,413 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
2019-03-29 00:12:12,354 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:config' at Fri, 29 Mar 2019 00:12:12 +0000. Up 13.03 seconds.
2019-03-29 00:12:12,382 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:12,383 - stages.py[INFO]: Skipping modules ['ssh-import-id'] because they are not verified on distro 'nixos'. To run anyway, add them to 'unverified_modules' in config.
2019-03-29 00:12:12,383 - stages.py[DEBUG]: Running module disk_setup (<module 'cloudinit.config.cc_disk_setup' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_disk_setup.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,383 - handlers.py[DEBUG]: start: modules-config/config-disk_setup: running config-disk_setup with frequency once-per-instance
2019-03-29 00:12:12,384 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_disk_setup - wb: [420] 19 bytes
2019-03-29 00:12:12,385 - helpers.py[DEBUG]: Running config-disk_setup using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_disk_setup'>)
2019-03-29 00:12:12,385 - handlers.py[DEBUG]: finish: modules-config/config-disk_setup: SUCCESS: config-disk_setup ran successfully
2019-03-29 00:12:12,386 - stages.py[DEBUG]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_mounts.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,387 - handlers.py[DEBUG]: start: modules-config/config-mounts: running config-mounts with frequency once-per-instance
2019-03-29 00:12:12,387 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_mounts - wb: [420] 19 bytes
2019-03-29 00:12:12,389 - helpers.py[DEBUG]: Running config-mounts using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_mounts'>)
2019-03-29 00:12:12,389 - cc_mounts.py[DEBUG]: mounts configuration is []
2019-03-29 00:12:12,389 - cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
2019-03-29 00:12:12,389 - openstack.py[DEBUG]: Using ec2 style lookup to find device ['ephemeral0']
2019-03-29 00:12:12,389 - openstack.py[DEBUG]: Using openstack style lookup to find device ['ephemeral0']
2019-03-29 00:12:12,389 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=ephemeral0', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:12,405 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount ephemeral0
2019-03-29 00:12:12,405 - cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
2019-03-29 00:12:12,405 - openstack.py[DEBUG]: Using ec2 style lookup to find device ['swap']
2019-03-29 00:12:12,405 - openstack.py[DEBUG]: Using openstack style lookup to find device ['swap']
2019-03-29 00:12:12,405 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=swap', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-29 00:12:12,416 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap
2019-03-29 00:12:12,416 - cc_mounts.py[DEBUG]: no need to setup swap
2019-03-29 00:12:12,416 - cc_mounts.py[DEBUG]: No modifications to fstab needed.
2019-03-29 00:12:12,416 - handlers.py[DEBUG]: finish: modules-config/config-mounts: SUCCESS: config-mounts ran successfully
2019-03-29 00:12:12,416 - stages.py[DEBUG]: Running module ssh-import-id (<module 'cloudinit.config.cc_ssh_import_id' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_ssh_import_id.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,417 - handlers.py[DEBUG]: start: modules-config/config-ssh-import-id: running config-ssh-import-id with frequency once-per-instance
2019-03-29 00:12:12,418 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_ssh_import_id - wb: [420] 19 bytes
2019-03-29 00:12:12,420 - helpers.py[DEBUG]: Running config-ssh-import-id using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_ssh_import_id'>)
2019-03-29 00:12:12,420 - cc_ssh_import_id.py[DEBUG]: User root is not configured for ssh_import_id
2019-03-29 00:12:12,420 - handlers.py[DEBUG]: finish: modules-config/config-ssh-import-id: SUCCESS: config-ssh-import-id ran successfully
2019-03-29 00:12:12,420 - stages.py[DEBUG]: Running module set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_set_passwords.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,420 - handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance
2019-03-29 00:12:12,421 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_set_passwords - wb: [420] 19 bytes
2019-03-29 00:12:12,422 - helpers.py[DEBUG]: Running config-set-passwords using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_set_passwords'>)
2019-03-29 00:12:12,422 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-29 00:12:12,422 - util.py[DEBUG]: Read 854 bytes from /etc/ssh/sshd_config
2019-03-29 00:12:12,430 - cc_set_passwords.py[DEBUG]: Replacing auth line 21 with no
2019-03-29 00:12:12,431 - util.py[DEBUG]: Writing to /etc/ssh/sshd_config - wb: [420] 852 bytes
2019-03-29 00:12:12,431 - util.py[DEBUG]: Running command ['service', 'ssh', 'restart'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:12,436 - util.py[WARNING]: Restarting of the ssh daemon failed
2019-03-29 00:12:12,440 - util.py[DEBUG]: Restarting of the ssh daemon failed
Traceback (most recent call last):
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_set_passwords.py", line 186, in handle
util.subp(cmd)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/util.py", line 1841, in subp
errno=e.errno)
ProcessExecutionError: Unexpected error while running command.
Command: ['service', 'ssh', 'restart']
Exit code: -
Reason: [Errno 2] No such file or directory
Stdout: -
Stderr: -
2019-03-29 00:12:12,443 - handlers.py[DEBUG]: finish: modules-config/config-set-passwords: SUCCESS: config-set-passwords ran successfully
2019-03-29 00:12:12,443 - stages.py[DEBUG]: Running module timezone (<module 'cloudinit.config.cc_timezone' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_timezone.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,444 - handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance
2019-03-29 00:12:12,444 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_timezone - wb: [420] 19 bytes
2019-03-29 00:12:12,445 - helpers.py[DEBUG]: Running config-timezone using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_timezone'>)
2019-03-29 00:12:12,445 - cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified
2019-03-29 00:12:12,445 - handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone ran successfully
2019-03-29 00:12:12,446 - stages.py[DEBUG]: Running module disable-ec2-metadata (<module 'cloudinit.config.cc_disable_ec2_metadata' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_disable_ec2_metadata.pyc'>) with frequency always
2019-03-29 00:12:12,446 - handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always
2019-03-29 00:12:12,446 - helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7f280193d450>)
2019-03-29 00:12:12,446 - cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
2019-03-29 00:12:12,446 - handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully
2019-03-29 00:12:12,446 - stages.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_runcmd.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,447 - handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance
2019-03-29 00:12:12,451 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_runcmd - wb: [420] 19 bytes
2019-03-29 00:12:12,451 - helpers.py[DEBUG]: Running config-runcmd using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_runcmd'>)
2019-03-29 00:12:12,451 - cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration
2019-03-29 00:12:12,452 - handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd ran successfully
2019-03-29 00:12:12,452 - stages.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_ssh.pyc'>) with frequency once-per-instance
2019-03-29 00:12:12,452 - handlers.py[DEBUG]: start: modules-config/config-ssh: running config-ssh with frequency once-per-instance
2019-03-29 00:12:12,452 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_ssh - wb: [420] 19 bytes
2019-03-29 00:12:12,453 - helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_ssh'>)
2019-03-29 00:12:12,453 - util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'dsa', '-N', '', '-f', '/etc/ssh/ssh_host_dsa_key'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:12,505 - util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ecdsa', '-N', '', '-f', '/etc/ssh/ssh_host_ecdsa_key'] with allowed return codes [0] (shell=False, capture=True)
2019-03-29 00:12:12,511 - util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0
2019-03-29 00:12:12,511 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-29 00:12:12,511 - util.py[DEBUG]: Read 852 bytes from /etc/ssh/sshd_config
2019-03-29 00:12:12,513 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root - wb: [384] 401 bytes
2019-03-29 00:12:12,513 - util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root to 0:0
2019-03-29 00:12:12,514 - handlers.py[DEBUG]: finish: modules-config/config-ssh: SUCCESS: config-ssh ran successfully
2019-03-29 00:12:12,514 - main.py[DEBUG]: Ran 8 modules with 0 failures
2019-03-29 00:12:12,514 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-29 00:12:12,514 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-29 00:12:12,514 - util.py[DEBUG]: cloud-init mode 'modules' took 0.298 seconds (0.30)
2019-03-29 00:12:12,515 - handlers.py[DEBUG]: finish: modules-config: SUCCESS: running modules for config
2019-03-29 00:12:13,072 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:final' at Fri, 29 Mar 2019 00:12:13 +0000. Up 13.81 seconds.
2019-03-29 00:12:13,089 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-29 00:12:13,090 - stages.py[DEBUG]: Running module rightscale_userdata (<module 'cloudinit.config.cc_rightscale_userdata' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_rightscale_userdata.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,090 - handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance
2019-03-29 00:12:13,090 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_rightscale_userdata - wb: [420] 19 bytes
2019-03-29 00:12:13,091 - helpers.py[DEBUG]: Running config-rightscale_userdata using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_rightscale_userdata'>)
2019-03-29 00:12:13,091 - cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata
2019-03-29 00:12:13,091 - handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata ran successfully
2019-03-29 00:12:13,092 - stages.py[DEBUG]: Running module scripts-vendor (<module 'cloudinit.config.cc_scripts_vendor' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_vendor.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,092 - handlers.py[DEBUG]: start: modules-final/config-scripts-vendor: running config-scripts-vendor with frequency once-per-instance
2019-03-29 00:12:13,092 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_scripts_vendor - wb: [420] 19 bytes
2019-03-29 00:12:13,093 - helpers.py[DEBUG]: Running config-scripts-vendor using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_scripts_vendor'>)
2019-03-29 00:12:13,093 - handlers.py[DEBUG]: finish: modules-final/config-scripts-vendor: SUCCESS: config-scripts-vendor ran successfully
2019-03-29 00:12:13,093 - stages.py[DEBUG]: Running module scripts-per-once (<module 'cloudinit.config.cc_scripts_per_once' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pyc'>) with frequency once
2019-03-29 00:12:13,093 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once
2019-03-29 00:12:13,093 - util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [420] 19 bytes
2019-03-29 00:12:13,094 - helpers.py[DEBUG]: Running config-scripts-per-once using lock (<FileLock using file '/var/lib/cloud/sem/config_scripts_per_once.once'>)
2019-03-29 00:12:13,094 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once ran successfully
2019-03-29 00:12:13,094 - stages.py[DEBUG]: Running module scripts-per-boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_boot.pyc'>) with frequency always
2019-03-29 00:12:13,095 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always
2019-03-29 00:12:13,095 - helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7f5571811210>)
2019-03-29 00:12:13,095 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully
2019-03-29 00:12:13,095 - stages.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,095 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance
2019-03-29 00:12:13,095 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_scripts_per_instance - wb: [420] 18 bytes
2019-03-29 00:12:13,096 - helpers.py[DEBUG]: Running config-scripts-per-instance using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_scripts_per_instance'>)
2019-03-29 00:12:13,096 - util.py[DEBUG]: Running command ['/var/lib/cloud/scripts/per-instance/machine_id.sh'] with allowed return codes [0] (shell=False, capture=False)
2019-03-29 00:12:13,099 - util.py[WARNING]: Failed running /var/lib/cloud/scripts/per-instance/machine_id.sh [-]
2019-03-29 00:12:13,099 - util.py[DEBUG]: Failed running /var/lib/cloud/scripts/per-instance/machine_id.sh [-]
Traceback (most recent call last):
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/util.py", line 802, in runparts
subp(prefix + [exe_path], capture=False)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/util.py", line 1841, in subp
errno=e.errno)
ProcessExecutionError: Unexpected error while running command.
Command: ['/var/lib/cloud/scripts/per-instance/machine_id.sh']
Exit code: -
Reason: [Errno 2] No such file or directory
Stdout: -
Stderr: -
2019-03-29 00:12:13,104 - cc_scripts_per_instance.py[WARNING]: Failed to run module scripts-per-instance (per-instance in /var/lib/cloud/scripts/per-instance)
2019-03-29 00:12:13,104 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: FAIL: running config-scripts-per-instance with frequency once-per-instance
2019-03-29 00:12:13,104 - util.py[WARNING]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyc'>) failed
2019-03-29 00:12:13,104 - util.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyc'>) failed
Traceback (most recent call last):
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/stages.py", line 776, in _run_modules
freq=freq)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/cloud.py", line 54, in run
return self._runners.run(name, functor, args, freq, clear_on_fail)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/helpers.py", line 187, in run
results = functor(*args)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.py", line 41, in handle
util.runparts(runparts_path)
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/util.py", line 809, in runparts
% (len(failed), len(attempted)))
RuntimeError: Runparts: 1 failures in 1 attempted commands
2019-03-29 00:12:13,112 - stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,112 - handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance
2019-03-29 00:12:13,112 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_scripts_user - wb: [420] 19 bytes
2019-03-29 00:12:13,113 - helpers.py[DEBUG]: Running config-scripts-user using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_scripts_user'>)
2019-03-29 00:12:13,113 - handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user ran successfully
2019-03-29 00:12:13,114 - stages.py[DEBUG]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,114 - handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance
2019-03-29 00:12:13,114 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_ssh_authkey_fingerprints - wb: [420] 19 bytes
2019-03-29 00:12:13,115 - helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_ssh_authkey_fingerprints'>)
2019-03-29 00:12:13,115 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-29 00:12:13,115 - util.py[DEBUG]: Read 852 bytes from /etc/ssh/sshd_config
2019-03-29 00:12:13,115 - util.py[DEBUG]: Reading from /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root (quiet=False)
2019-03-29 00:12:13,116 - util.py[DEBUG]: Read 401 bytes from /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root
2019-03-29 00:12:13,140 - handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints ran successfully
2019-03-29 00:12:13,140 - stages.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_keys_to_console.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,140 - handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance
2019-03-29 00:12:13,141 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_keys_to_console - wb: [420] 19 bytes
2019-03-29 00:12:13,141 - helpers.py[DEBUG]: Running config-keys-to-console using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_keys_to_console'>)
2019-03-29 00:12:13,141 - cc_keys_to_console.py[WARNING]: Unable to activate module keys-to-console, helper tool not found at /usr/lib/cloud-init/write-ssh-key-fingerprints
2019-03-29 00:12:13,146 - handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console ran successfully
2019-03-29 00:12:13,146 - stages.py[DEBUG]: Running module phone-home (<module 'cloudinit.config.cc_phone_home' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_phone_home.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,146 - handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance
2019-03-29 00:12:13,146 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_phone_home - wb: [420] 19 bytes
2019-03-29 00:12:13,147 - helpers.py[DEBUG]: Running config-phone-home using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_phone_home'>)
2019-03-29 00:12:13,147 - cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found
2019-03-29 00:12:13,147 - handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home ran successfully
2019-03-29 00:12:13,147 - stages.py[DEBUG]: Running module final-message (<module 'cloudinit.config.cc_final_message' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_final_message.pyc'>) with frequency always
2019-03-29 00:12:13,150 - handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always
2019-03-29 00:12:13,150 - helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7f557186d1d0>)
2019-03-29 00:12:13,150 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-29 00:12:13,150 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-29 00:12:13,157 - util.py[DEBUG]: Cloud-init v. 0.7.9 finished at Fri, 29 Mar 2019 00:12:13 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb]. Up 13.96 seconds
2019-03-29 00:12:13,157 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [420] 51 bytes
2019-03-29 00:12:13,158 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
2019-03-29 00:12:13,158 - stages.py[DEBUG]: Running module power-state-change (<module 'cloudinit.config.cc_power_state_change' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_power_state_change.pyc'>) with frequency once-per-instance
2019-03-29 00:12:13,158 - handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance
2019-03-29 00:12:13,159 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138114147/sem/config_power_state_change - wb: [420] 19 bytes
2019-03-29 00:12:13,160 - helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/lib/cloud/instances/138114147/sem/config_power_state_change'>)
2019-03-29 00:12:13,160 - cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
2019-03-29 00:12:13,160 - handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change ran successfully
2019-03-29 00:12:13,160 - main.py[DEBUG]: Ran 11 modules with 1 failures
2019-03-29 00:12:13,161 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
2019-03-29 00:12:13,161 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-29 00:12:13,161 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-29 00:12:13,161 - util.py[DEBUG]: cloud-init mode 'modules' took 0.158 seconds (0.16)
2019-03-29 00:12:13,161 - handlers.py[DEBUG]: finish: modules-final: FAIL: running modules for final
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment