Skip to content

Instantly share code, notes, and snippets.

@eamsden
Created March 28, 2019 19:39
Show Gist options
  • Save eamsden/99f0b048dacc8974c0749ce91282e0e4 to your computer and use it in GitHub Desktop.
Save eamsden/99f0b048dacc8974c0749ce91282e0e4 to your computer and use it in GitHub Desktop.
Cloud-init v. 0.7.9 running 'init-local' at Thu, 28 Mar 2019 19:31:38 +0000. Up 8.37 seconds.
2019-03-28 19:31:38,705 - __init__.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.nixos.Distro'>'. Attempting to use apply_network
2019-03-28 19:31:38,712 - stages.py[WARNING]: distro '<cloudinit.distros.nixos.Distro object at 0x7ff6e57bda90>' does not implement apply_network_config. networking may not be configured properly.
Cloud-init v. 0.7.9 running 'init' at Thu, 28 Mar 2019 19:31:43 +0000. Up 13.14 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 | 165.227.70.231 | 255.255.240.0 | . | c6:32:0e:36:9a:57 |
ci-info: | eth0: | True | . | . | d | c6:32:0e:36:9a:57 |
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 | 165.227.64.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 165.227.64.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Cloud-init v. 0.7.9 running 'modules:config' at Thu, 28 Mar 2019 19:31:44 +0000. Up 14.60 seconds.
2019-03-28 19:31:44,981 - util.py[WARNING]: 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'>) failed
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:qZXj6lYRvsB6Tzkv63VqCfiQXPG9Ot6V0FEzCTYBjAg root@localhost
The key's randomart image is:
+---[RSA 2048]----+
| E. . o..=ooo|
| .o. .. .oo|
| . . + . . |
| o +o. .. . |
| o =S+ ... |
| . *+B. .. . |
| ..*.+.o. o |
| ..+.*+ . |
| oo.o=o.. |
+----[SHA256]-----+
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:QfUUYDEiV63fSQ6bBaLF5ArRaZi7tB7X2KvN7aAMG3Y root@localhost
The key's randomart image is:
+---[DSA 1024]----+
| o++*O+o. |
| o=++++o |
| .o.o.o.. |
| o..o. . o |
| . oS+ . O . |
| + o o + + |
| .+oE .. |
| ..* +.o |
| . +.o.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:jwGhGAzLDhXqewXCHyif0OcE7J31hN3Z+RasSMFxbR0 root@localhost
The key's randomart image is:
+---[ECDSA 256]---+
|.+=. .o oo=.+ E.|
|o=++ .o.o =.o = .|
|**o++o.o . . + . |
|=o+== .. . . o |
| oo... S . |
| . . + |
| . . . . |
| . |
| |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
SHA256:Q/ysnxa3Tpt8jMId2csQMuAE66RSbc3oGDXcdP4dfyA root@localhost
The key's randomart image is:
+--[ED25519 256]--+
| .++. . |
| o.B+o |
| o *o=.. E o |
| . O ..oo..o + |
| . o o S oo.+. o|
| . o. = . .|
| .. +.B . |
| .+++o= |
| .oo=. |
+----[SHA256]-----+
Cloud-init v. 0.7.9 running 'modules:final' at Thu, 28 Mar 2019 19:31:46 +0000. Up 16.13 seconds.
2019-03-28 19:31:46,472 - util.py[WARNING]: Failed running /var/lib/cloud/scripts/per-instance/machine_id.sh [-]
2019-03-28 19:31:46,476 - cc_scripts_per_instance.py[WARNING]: Failed to run module scripts-per-instance (per-instance in /var/lib/cloud/scripts/per-instance)
2019-03-28 19:31:46,476 - 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-28 19:31:46,531 - 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 Thu, 28 Mar 2019 19:31:46 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb]. Up 16.37 seconds
2019-03-28 19:31:38,581 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init-local' at Thu, 28 Mar 2019 19:31:38 +0000. Up 8.37 seconds.
2019-03-28 19:31:38,595 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2019-03-28 19:31:38,596 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:55
2019-03-28 19:31:38,596 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2019-03-28 19:31:38,596 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2019-03-28 19:31:38,596 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
2019-03-28 19:31:38,596 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2019-03-28 19:31:38,597 - stages.py[DEBUG]: no cache found
2019-03-28 19:31:38,597 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found
2019-03-28 19:31:38,597 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-28 19:31:38,599 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:38,599 - __init__.py[DEBUG]: Looking for for data source in: ['ConfigDrive', 'DigitalOcean', 'None', 'NoCloud'], via packages ['', u'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2019-03-28 19:31:38,605 - __init__.py[DEBUG]: Searching for local data source in: [u'DataSourceConfigDrive', u'DataSourceDigitalOcean', u'DataSourceNoCloud']
2019-03-28 19:31:38,605 - handlers.py[DEBUG]: start: init-local/search-ConfigDrive: searching for local data from DataSourceConfigDrive
2019-03-28 19:31:38,605 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceConfigDrive.DataSourceConfigDrive'>
2019-03-28 19:31:38,605 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,611 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr1'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,615 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/cd0'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,618 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/cd1'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,620 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,627 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,633 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=config-2', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:38,642 - util.py[DEBUG]: Reading from /proc/mounts (quiet=False)
2019-03-28 19:31:38,643 - util.py[DEBUG]: Read 2030 bytes from /proc/mounts
2019-03-28 19:31:38,643 - 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-28 19:31:38,643 - util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', u'/dev/vdb', '/tmp/tmp1_tLUg'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:38,656 - openstack.py[DEBUG]: Selected version '2012-08-10' from ['2012-08-10', '2015-10-16', 'latest']
2019-03-28 19:31:38,656 - util.py[DEBUG]: Reading from /tmp/tmp1_tLUg/openstack/2012-08-10/vendor_data.json (quiet=False)
2019-03-28 19:31:38,657 - util.py[DEBUG]: Read 11629 bytes from /tmp/tmp1_tLUg/openstack/2012-08-10/vendor_data.json
2019-03-28 19:31:38,657 - util.py[DEBUG]: Reading from /tmp/tmp1_tLUg/openstack/2012-08-10/user_data (quiet=False)
2019-03-28 19:31:38,657 - util.py[DEBUG]: Read 0 bytes from /tmp/tmp1_tLUg/openstack/2012-08-10/user_data
2019-03-28 19:31:38,657 - util.py[DEBUG]: Reading from /tmp/tmp1_tLUg/openstack/2012-08-10/network_data.json (quiet=False)
2019-03-28 19:31:38,658 - util.py[DEBUG]: Read 378 bytes from /tmp/tmp1_tLUg/openstack/2012-08-10/network_data.json
2019-03-28 19:31:38,658 - util.py[DEBUG]: Reading from /tmp/tmp1_tLUg/openstack/2012-08-10/meta_data.json (quiet=False)
2019-03-28 19:31:38,658 - util.py[DEBUG]: Read 602 bytes from /tmp/tmp1_tLUg/openstack/2012-08-10/meta_data.json
2019-03-28 19:31:38,658 - util.py[DEBUG]: Running command ['umount', '/tmp/tmp1_tLUg'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:38,664 - util.py[DEBUG]: Recursively deleting /tmp/tmp1_tLUg
2019-03-28 19:31:38,665 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-28 19:31:38,665 - handlers.py[DEBUG]: finish: init-local/search-ConfigDrive: SUCCESS: found local data from DataSourceConfigDrive
2019-03-28 19:31:38,665 - stages.py[INFO]: Loaded datasource DataSourceConfigDrive - DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-28 19:31:38,665 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-28 19:31:38,666 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-28 19:31:38,666 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,670 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-28 19:31:38,670 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-28 19:31:38,670 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,674 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,674 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:38,675 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-28 19:31:38,675 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/138093313'
2019-03-28 19:31:38,677 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/138093313/datasource (quiet=False)
2019-03-28 19:31:38,677 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/datasource - wb: [420] 74 bytes
2019-03-28 19:31:38,678 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 74 bytes
2019-03-28 19:31:38,679 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-28 19:31:38,679 - stages.py[DEBUG]: previous iid found to be NO_PREVIOUS_INSTANCE_ID
2019-03-28 19:31:38,679 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 10 bytes
2019-03-28 19:31:38,680 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 10 bytes
2019-03-28 19:31:38,680 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 24 bytes
2019-03-28 19:31:38,681 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 17568 bytes
2019-03-28 19:31:38,682 - main.py[DEBUG]: [local] init will now be targeting instance id: 138093313. new=True
2019-03-28 19:31:38,682 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-28 19:31:38,682 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-28 19:31:38,682 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,687 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-28 19:31:38,687 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-28 19:31:38,687 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,691 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:38,691 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:38,691 - DataSourceConfigDrive.py[DEBUG]: network config provided via network_json
2019-03-28 19:31:38,692 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-28 19:31:38,692 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-28 19:31:38,692 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-28 19:31:38,692 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-28 19:31:38,692 - stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'c6:32:0e:36:9a:57', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-28 19:31:38,693 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:38,693 - util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
2019-03-28 19:31:38,693 - util.py[DEBUG]: Read 3 bytes from /sys/class/net/eth0/operstate
2019-03-28 19:31:38,693 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-28 19:31:38,693 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-28 19:31:38,693 - util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
2019-03-28 19:31:38,693 - util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
2019-03-28 19:31:38,693 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-28 19:31:38,693 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-28 19:31:38,694 - util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:38,701 - util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:38,704 - __init__.py[DEBUG]: no work necessary for renaming of [[u'c6:32:0e:36:9a:57', 'eth0']]
2019-03-28 19:31:38,705 - stages.py[INFO]: Applying network configuration from ds bringup=False: {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'c6:32:0e:36:9a:57', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-28 19:31:38,705 - __init__.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.nixos.Distro'>'. Attempting to use apply_network
2019-03-28 19:31:38,712 - stages.py[WARNING]: distro '<cloudinit.distros.nixos.Distro object at 0x7ff6e57bda90>' does not implement apply_network_config. networking may not be configured properly.
2019-03-28 19:31:38,712 - main.py[DEBUG]: [local] Exiting. datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb] not in local mode.
2019-03-28 19:31:38,714 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-28 19:31:38,714 - util.py[DEBUG]: Read 10 bytes from /proc/uptime
2019-03-28 19:31:38,714 - util.py[DEBUG]: cloud-init mode 'init' took 0.177 seconds (0.18)
2019-03-28 19:31:38,714 - handlers.py[DEBUG]: finish: init-local: SUCCESS: searching for local datasources
2019-03-28 19:31:43,332 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init' at Thu, 28 Mar 2019 19:31:43 +0000. Up 13.14 seconds.
2019-03-28 19:31:43,337 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2019-03-28 19:31:43,344 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:55
2019-03-28 19:31:43,344 - util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,350 - util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,354 - util.py[DEBUG]: Running command ['netstat', '-A', 'inet6', '-n'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,357 - 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-28 19:31:43,358 - main.py[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early.
2019-03-28 19:31:43,358 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust]
2019-03-28 19:31:43,358 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2019-03-28 19:31:43,358 - util.py[DEBUG]: Read 17568 bytes from /var/lib/cloud/instance/obj.pkl
2019-03-28 19:31:43,366 - util.py[DEBUG]: Reading from /run/cloud-init/.instance-id (quiet=False)
2019-03-28 19:31:43,366 - util.py[DEBUG]: Read 10 bytes from /run/cloud-init/.instance-id
2019-03-28 19:31:43,366 - stages.py[DEBUG]: restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-28 19:31:43,366 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/vdb]
2019-03-28 19:31:43,367 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-28 19:31:43,367 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-28 19:31:43,367 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,377 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-28 19:31:43,377 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-28 19:31:43,378 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,384 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,384 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,385 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2019-03-28 19:31:43,385 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/138093313'
2019-03-28 19:31:43,389 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/138093313/datasource (quiet=False)
2019-03-28 19:31:43,389 - util.py[DEBUG]: Read 74 bytes from /var/lib/cloud/instances/138093313/datasource
2019-03-28 19:31:43,389 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/datasource - wb: [420] 74 bytes
2019-03-28 19:31:43,391 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 74 bytes
2019-03-28 19:31:43,392 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2019-03-28 19:31:43,392 - util.py[DEBUG]: Read 10 bytes from /var/lib/cloud/data/instance-id
2019-03-28 19:31:43,392 - stages.py[DEBUG]: previous iid found to be 138093313
2019-03-28 19:31:43,392 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 10 bytes
2019-03-28 19:31:43,394 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 10 bytes
2019-03-28 19:31:43,395 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 10 bytes
2019-03-28 19:31:43,399 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 17657 bytes
2019-03-28 19:31:43,400 - main.py[DEBUG]: [net] init will now be targeting instance id: 138093313. new=False
2019-03-28 19:31:43,400 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-28 19:31:43,400 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-28 19:31:43,400 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,408 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-28 19:31:43,408 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-28 19:31:43,408 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,414 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,415 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,415 - DataSourceConfigDrive.py[DEBUG]: network config provided via network_json
2019-03-28 19:31:43,415 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-28 19:31:43,421 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-28 19:31:43,421 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-28 19:31:43,421 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-28 19:31:43,421 - stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'subnets': [{u'type': 'dhcp4'}], 'mac_address': u'c6:32:0e:36:9a:57', u'type': 'physical', 'name': 'eth0', u'mtu': 1500}]}
2019-03-28 19:31:43,422 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:43,422 - util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
2019-03-28 19:31:43,422 - util.py[DEBUG]: Read 3 bytes from /sys/class/net/eth0/operstate
2019-03-28 19:31:43,422 - util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
2019-03-28 19:31:43,422 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
2019-03-28 19:31:43,423 - util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
2019-03-28 19:31:43,423 - util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
2019-03-28 19:31:43,423 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
2019-03-28 19:31:43,423 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
2019-03-28 19:31:43,423 - util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,433 - util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,439 - __init__.py[DEBUG]: no work necessary for renaming of [[u'c6:32:0e:36:9a:57', 'eth0']]
2019-03-28 19:31:43,439 - stages.py[DEBUG]: not a new instance. network config is not applied.
2019-03-28 19:31:43,439 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/user-data.txt - wb: [384] 0 bytes
2019-03-28 19:31:43,446 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/user-data.txt.i - wb: [384] 345 bytes
2019-03-28 19:31:43,446 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/vendor-data.txt - wb: [384] 11143 bytes
2019-03-28 19:31:43,449 - util.py[DEBUG]: Attempting to load yaml from string of length 108 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,451 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/vendor-data.txt.i - wb: [384] 11201 bytes
2019-03-28 19:31:43,452 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/consume_data - wb: [420] 19 bytes
2019-03-28 19:31:43,453 - helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/consume_data'>)
2019-03-28 19:31:43,453 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data
2019-03-28 19:31:43,453 - 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-28 19:31:43,454 - stages.py[DEBUG]: Added default handler for set(['text/x-shellscript']) from ShellScriptPartHandler: [['text/x-shellscript']]
2019-03-28 19:31:43,454 - stages.py[DEBUG]: Added default handler for set(['text/cloud-boothook']) from BootHookPartHandler: [['text/cloud-boothook']]
2019-03-28 19:31:43,454 - stages.py[DEBUG]: Added default handler for set(['text/upstart-job']) from UpstartJobPartHandler: [['text/upstart-job']]
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: {'Content-Type': 'text/x-not-multipart', 'Content-Disposition': 'attachment; filename="part-001"', 'MIME-Version': '1.0'}
2019-03-28 19:31:43,454 - __init__.py[DEBUG]: Empty payload of type text/x-not-multipart
2019-03-28 19:31:43,455 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,455 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,455 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
2019-03-28 19:31:43,455 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/cloud-config.txt - wb: [384] 0 bytes
2019-03-28 19:31:43,455 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,456 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data
2019-03-28 19:31:43,456 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data
2019-03-28 19:31:43,456 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-28 19:31:43,456 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-28 19:31:43,456 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,456 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,456 - stages.py[DEBUG]: vendor data will be consumed. disabled_handlers=None
2019-03-28 19:31:43,458 - 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-28 19:31:43,458 - stages.py[DEBUG]: Added default handler for set(['text/x-shellscript']) from ShellScriptPartHandler: [['text/x-shellscript']]
2019-03-28 19:31:43,458 - stages.py[DEBUG]: Added default handler for set(['text/cloud-boothook']) from BootHookPartHandler: [['text/cloud-boothook']]
2019-03-28 19:31:43,458 - stages.py[DEBUG]: Added default handler for set(['text/upstart-job']) from UpstartJobPartHandler: [['text/upstart-job']]
2019-03-28 19:31:43,459 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,459 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,459 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
2019-03-28 19:31:43,459 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,459 - __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-28 19:31:43,459 - __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-28 19:31:43,459 - util.py[DEBUG]: Attempting to load yaml from string of length 108 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,460 - cloud_config.py[DEBUG]: Merging by applying [('dict', ['replace']), ('list', []), ('str', [])]
2019-03-28 19:31:43,460 - __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-28 19:31:43,460 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (text/cloud-boothook, entropy-seed, 2) with frequency once-per-instance
2019-03-28 19:31:43,461 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/boothooks/entropy-seed - wb: [448] 4299 bytes
2019-03-28 19:31:43,462 - util.py[DEBUG]: Running command ['/var/lib/cloud/instances/138093313/boothooks/entropy-seed'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,472 - __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-28 19:31:43,473 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (text/cloud-boothook, digitalocean_fixups, 2) with frequency once-per-instance
2019-03-28 19:31:43,473 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/boothooks/digitalocean_fixups - wb: [448] 5985 bytes
2019-03-28 19:31:43,474 - util.py[DEBUG]: Running command ['/var/lib/cloud/instances/138093313/boothooks/digitalocean_fixups'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,494 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,495 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,495 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
2019-03-28 19:31:43,496 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/vendor-cloud-config.txt - wb: [384] 145 bytes
2019-03-28 19:31:43,497 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
2019-03-28 19:31:43,497 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data
2019-03-28 19:31:43,497 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2019-03-28 19:31:43,497 - util.py[DEBUG]: Read 810 bytes from /etc/cloud/cloud.cfg
2019-03-28 19:31:43,497 - util.py[DEBUG]: Attempting to load yaml from string of length 810 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,502 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90-digitalocean.cfg (quiet=False)
2019-03-28 19:31:43,502 - util.py[DEBUG]: Read 1329 bytes from /etc/cloud/cloud.cfg.d/90-digitalocean.cfg
2019-03-28 19:31:43,502 - util.py[DEBUG]: Attempting to load yaml from string of length 1329 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,508 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2019-03-28 19:31:43,508 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2019-03-28 19:31:43,508 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,512 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,512 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,512 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-28 19:31:43,512 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-28 19:31:43,512 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,513 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,513 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/vendor-cloud-config.txt (quiet=False)
2019-03-28 19:31:43,513 - util.py[DEBUG]: Read 145 bytes from /var/lib/cloud/instance/vendor-cloud-config.txt
2019-03-28 19:31:43,513 - util.py[DEBUG]: Attempting to load yaml from string of length 145 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,514 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2019-03-28 19:31:43,514 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2019-03-28 19:31:43,515 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,515 - util.py[DEBUG]: load_yaml given empty string, returning default
2019-03-28 19:31:43,515 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/vendor-cloud-config.txt (quiet=False)
2019-03-28 19:31:43,515 - util.py[DEBUG]: Read 145 bytes from /var/lib/cloud/instance/vendor-cloud-config.txt
2019-03-28 19:31:43,515 - util.py[DEBUG]: Attempting to load yaml from string of length 145 with allowed root types (<type 'dict'>,)
2019-03-28 19:31:43,518 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 28980 bytes
2019-03-28 19:31:43,531 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:43,532 - 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-28 19:31:43,532 - 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-28 19:31:43,532 - handlers.py[DEBUG]: start: init-network/config-migrator: running config-migrator with frequency always
2019-03-28 19:31:43,532 - helpers.py[DEBUG]: Running config-migrator using lock (<cloudinit.helpers.DummyLock object at 0x7f528b557250>)
2019-03-28 19:31:43,532 - cc_migrator.py[DEBUG]: Migrated 0 semaphore files to there canonicalized names
2019-03-28 19:31:43,533 - handlers.py[DEBUG]: finish: init-network/config-migrator: SUCCESS: config-migrator ran successfully
2019-03-28 19:31:43,533 - 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-28 19:31:43,533 - handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance
2019-03-28 19:31:43,533 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_seed_random - wb: [420] 19 bytes
2019-03-28 19:31:43,534 - helpers.py[DEBUG]: Running config-seed_random using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_seed_random'>)
2019-03-28 19:31:43,534 - cc_seed_random.py[DEBUG]: no command provided
2019-03-28 19:31:43,534 - handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully
2019-03-28 19:31:43,534 - 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-28 19:31:43,534 - handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always
2019-03-28 19:31:43,534 - helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7f528b5573d0>)
2019-03-28 19:31:43,534 - cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
2019-03-28 19:31:43,535 - handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully
2019-03-28 19:31:43,535 - 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-28 19:31:43,535 - handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance
2019-03-28 19:31:43,535 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_write_files - wb: [420] 19 bytes
2019-03-28 19:31:43,536 - helpers.py[DEBUG]: Running config-write-files using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_write_files'>)
2019-03-28 19:31:43,536 - cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration
2019-03-28 19:31:43,536 - handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files ran successfully
2019-03-28 19:31:43,536 - 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-28 19:31:43,536 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
2019-03-28 19:31:43,536 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f528b557490>)
2019-03-28 19:31:43,536 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'ignore_growroot_disabled': False, 'mode': 'auto', 'devices': ['/']}
2019-03-28 19:31:43,536 - 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-28 19:31:43,549 - util.py[DEBUG]: Reading from /proc/764/mountinfo (quiet=False)
2019-03-28 19:31:43,549 - util.py[DEBUG]: Read 2723 bytes from /proc/764/mountinfo
2019-03-28 19:31:43,556 - util.py[DEBUG]: Reading from /sys/class/block/vda1/partition (quiet=False)
2019-03-28 19:31:43,556 - util.py[DEBUG]: Read 2 bytes from /sys/class/block/vda1/partition
2019-03-28 19:31:43,556 - util.py[DEBUG]: Reading from /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/vda/dev (quiet=False)
2019-03-28 19:31:43,556 - util.py[DEBUG]: Read 6 bytes from /sys/devices/pci0000:00/0000:00:05.0/virtio2/block/vda/dev
2019-03-28 19:31:43,556 - 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-28 19:31:43,866 - util.py[DEBUG]: resize_devices took 0.317 seconds
2019-03-28 19:31:43,866 - cc_growpart.py[DEBUG]: '/' NOCHANGE: no change necessary (/dev/vda, 1)
2019-03-28 19:31:43,866 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
2019-03-28 19:31:43,867 - 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-28 19:31:43,867 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
2019-03-28 19:31:43,867 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f528b5575d0>)
2019-03-28 19:31:43,867 - util.py[DEBUG]: Reading from /proc/764/mountinfo (quiet=False)
2019-03-28 19:31:43,868 - util.py[DEBUG]: Read 2723 bytes from /proc/764/mountinfo
2019-03-28 19:31:43,868 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/disk/by-label/nixos mnt_point=/ path=/
2019-03-28 19:31:43,868 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,874 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,879 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,883 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
2019-03-28 19:31:43,883 - util.py[DEBUG]: Read 266 bytes from /proc/1/environ
2019-03-28 19:31:43,883 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
2019-03-28 19:31:43,883 - util.py[DEBUG]: Read 1018 bytes from /proc/self/status
2019-03-28 19:31:43,884 - cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/disk/by-label/nixos
2019-03-28 19:31:43,884 - util.py[DEBUG]: Running command ('resize2fs', '/dev/disk/by-label/nixos') with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,896 - util.py[DEBUG]: Resizing took 0.012 seconds
2019-03-28 19:31:43,896 - cc_resizefs.py[DEBUG]: Resized root filesystem (type=ext4, val=True)
2019-03-28 19:31:43,896 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully
2019-03-28 19:31:43,897 - 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-28 19:31:43,897 - handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency once-per-instance
2019-03-28 19:31:43,897 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_update_etc_hosts - wb: [420] 18 bytes
2019-03-28 19:31:43,902 - helpers.py[DEBUG]: Running config-update_etc_hosts using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_update_etc_hosts'>)
2019-03-28 19:31:43,902 - util.py[DEBUG]: Reading from /etc/cloud/templates/hosts.nixos.tmpl (quiet=False)
2019-03-28 19:31:43,902 - util.py[DEBUG]: Read 66 bytes from /etc/cloud/templates/hosts.nixos.tmpl
2019-03-28 19:31:43,902 - templater.py[DEBUG]: Using Cheetah as the renderer for unknown template.
2019-03-28 19:31:43,902 - templater.py[DEBUG]: Rendering content of '/etc/cloud/templates/hosts.nixos.tmpl' using renderer cheetah
2019-03-28 19:31:43,906 - util.py[DEBUG]: Writing to /etc/hosts - wb: [420] 84 bytes
2019-03-28 19:31:43,907 - handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully
2019-03-28 19:31:43,908 - 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-28 19:31:43,908 - handlers.py[DEBUG]: start: init-network/config-ca-certs: running config-ca-certs with frequency once-per-instance
2019-03-28 19:31:43,908 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_ca_certs - wb: [420] 19 bytes
2019-03-28 19:31:43,909 - helpers.py[DEBUG]: Running config-ca-certs using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_ca_certs'>)
2019-03-28 19:31:43,909 - cc_ca_certs.py[DEBUG]: Skipping module named ca-certs, no 'ca-certs' key in configuration
2019-03-28 19:31:43,909 - handlers.py[DEBUG]: finish: init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully
2019-03-28 19:31:43,909 - 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-28 19:31:43,910 - handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance
2019-03-28 19:31:43,910 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_rsyslog - wb: [420] 19 bytes
2019-03-28 19:31:43,910 - helpers.py[DEBUG]: Running config-rsyslog using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_rsyslog'>)
2019-03-28 19:31:43,911 - cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration
2019-03-28 19:31:43,911 - handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog ran successfully
2019-03-28 19:31:43,911 - 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-28 19:31:43,911 - handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance
2019-03-28 19:31:43,911 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_users_groups - wb: [420] 19 bytes
2019-03-28 19:31:43,912 - helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_users_groups'>)
2019-03-28 19:31:43,912 - __init__.py[INFO]: User root already exists, skipping.
2019-03-28 19:31:43,912 - util.py[DEBUG]: Running command ['passwd', '-l', 'root'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:43,925 - handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups ran successfully
2019-03-28 19:31:43,925 - main.py[DEBUG]: Ran 10 modules with 0 failures
2019-03-28 19:31:43,926 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-28 19:31:43,926 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-28 19:31:43,926 - util.py[DEBUG]: cloud-init mode 'init' took 0.630 seconds (0.63)
2019-03-28 19:31:43,927 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
2019-03-28 19:31:44,904 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:config' at Thu, 28 Mar 2019 19:31:44 +0000. Up 14.60 seconds.
2019-03-28 19:31:44,931 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:44,933 - 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-28 19:31:44,933 - 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-28 19:31:44,933 - handlers.py[DEBUG]: start: modules-config/config-disk_setup: running config-disk_setup with frequency once-per-instance
2019-03-28 19:31:44,933 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_disk_setup - wb: [420] 19 bytes
2019-03-28 19:31:44,935 - helpers.py[DEBUG]: Running config-disk_setup using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_disk_setup'>)
2019-03-28 19:31:44,935 - handlers.py[DEBUG]: finish: modules-config/config-disk_setup: SUCCESS: config-disk_setup ran successfully
2019-03-28 19:31:44,935 - 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-28 19:31:44,937 - handlers.py[DEBUG]: start: modules-config/config-mounts: running config-mounts with frequency once-per-instance
2019-03-28 19:31:44,937 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_mounts - wb: [420] 19 bytes
2019-03-28 19:31:44,938 - helpers.py[DEBUG]: Running config-mounts using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_mounts'>)
2019-03-28 19:31:44,939 - cc_mounts.py[DEBUG]: mounts configuration is []
2019-03-28 19:31:44,939 - cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
2019-03-28 19:31:44,939 - openstack.py[DEBUG]: Using ec2 style lookup to find device ['ephemeral0']
2019-03-28 19:31:44,939 - openstack.py[DEBUG]: Using openstack style lookup to find device ['ephemeral0']
2019-03-28 19:31:44,939 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=ephemeral0', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:44,956 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount ephemeral0
2019-03-28 19:31:44,956 - cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
2019-03-28 19:31:44,956 - openstack.py[DEBUG]: Using ec2 style lookup to find device ['swap']
2019-03-28 19:31:44,956 - openstack.py[DEBUG]: Using openstack style lookup to find device ['swap']
2019-03-28 19:31:44,956 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=swap', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
2019-03-28 19:31:44,968 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap
2019-03-28 19:31:44,969 - cc_mounts.py[DEBUG]: no need to setup swap
2019-03-28 19:31:44,970 - cc_mounts.py[DEBUG]: No modifications to fstab needed.
2019-03-28 19:31:44,970 - handlers.py[DEBUG]: finish: modules-config/config-mounts: SUCCESS: config-mounts ran successfully
2019-03-28 19:31:44,970 - 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-28 19:31:44,970 - handlers.py[DEBUG]: start: modules-config/config-ssh-import-id: running config-ssh-import-id with frequency once-per-instance
2019-03-28 19:31:44,971 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_ssh_import_id - wb: [420] 19 bytes
2019-03-28 19:31:44,972 - helpers.py[DEBUG]: Running config-ssh-import-id using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_ssh_import_id'>)
2019-03-28 19:31:44,973 - cc_ssh_import_id.py[DEBUG]: User root is not configured for ssh_import_id
2019-03-28 19:31:44,974 - handlers.py[DEBUG]: finish: modules-config/config-ssh-import-id: SUCCESS: config-ssh-import-id ran successfully
2019-03-28 19:31:44,974 - 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-28 19:31:44,974 - handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance
2019-03-28 19:31:44,974 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_set_passwords - wb: [420] 19 bytes
2019-03-28 19:31:44,976 - helpers.py[DEBUG]: Running config-set-passwords using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_set_passwords'>)
2019-03-28 19:31:44,976 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-28 19:31:44,976 - util.py[DEBUG]: Read 854 bytes from /etc/ssh/sshd_config
2019-03-28 19:31:44,979 - cc_set_passwords.py[DEBUG]: Replacing auth line 21 with no
2019-03-28 19:31:44,980 - util.py[DEBUG]: Writing to /etc/ssh/sshd_config - wb: [420] 852 bytes
2019-03-28 19:31:44,981 - handlers.py[DEBUG]: finish: modules-config/config-set-passwords: FAIL: running config-set-passwords with frequency once-per-instance
2019-03-28 19:31:44,981 - util.py[WARNING]: 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'>) failed
2019-03-28 19:31:44,989 - util.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'>) 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_set_passwords.py", line 177, in handle
util.write_file(ssh_util.DEF_SSHD_CFG, "\n".join(lines))
File "/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/util.py", line 1755, in write_file
with open(filename, omode) as fh:
IOError: [Errno 30] Read-only file system: '/etc/ssh/sshd_config'
2019-03-28 19:31:44,992 - 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-28 19:31:44,992 - handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance
2019-03-28 19:31:44,993 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_timezone - wb: [420] 19 bytes
2019-03-28 19:31:44,993 - helpers.py[DEBUG]: Running config-timezone using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_timezone'>)
2019-03-28 19:31:44,994 - cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified
2019-03-28 19:31:44,995 - handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone ran successfully
2019-03-28 19:31:44,995 - 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-28 19:31:44,995 - handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always
2019-03-28 19:31:44,995 - helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7ff7cbb03090>)
2019-03-28 19:31:44,995 - cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
2019-03-28 19:31:44,995 - handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully
2019-03-28 19:31:44,995 - 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-28 19:31:44,996 - handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance
2019-03-28 19:31:44,997 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_runcmd - wb: [420] 18 bytes
2019-03-28 19:31:44,997 - helpers.py[DEBUG]: Running config-runcmd using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_runcmd'>)
2019-03-28 19:31:44,997 - cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration
2019-03-28 19:31:44,998 - handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd ran successfully
2019-03-28 19:31:44,999 - 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-28 19:31:44,999 - handlers.py[DEBUG]: start: modules-config/config-ssh: running config-ssh with frequency once-per-instance
2019-03-28 19:31:44,999 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_ssh - wb: [420] 18 bytes
2019-03-28 19:31:45,001 - helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_ssh'>)
2019-03-28 19:31:45,001 - util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'rsa', '-N', '', '-f', '/etc/ssh/ssh_host_rsa_key'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:45,159 - 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-28 19:31:45,255 - 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-28 19:31:45,267 - util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ed25519', '-N', '', '-f', '/etc/ssh/ssh_host_ed25519_key'] with allowed return codes [0] (shell=False, capture=True)
2019-03-28 19:31:45,281 - util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0
2019-03-28 19:31:45,282 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-28 19:31:45,282 - util.py[DEBUG]: Read 854 bytes from /etc/ssh/sshd_config
2019-03-28 19:31:45,284 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root - wb: [384] 401 bytes
2019-03-28 19:31:45,286 - 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-28 19:31:45,286 - handlers.py[DEBUG]: finish: modules-config/config-ssh: SUCCESS: config-ssh ran successfully
2019-03-28 19:31:45,288 - main.py[DEBUG]: Ran 8 modules with 1 failures
2019-03-28 19:31:45,288 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-28 19:31:45,288 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-28 19:31:45,290 - util.py[DEBUG]: cloud-init mode 'modules' took 0.520 seconds (0.52)
2019-03-28 19:31:45,290 - handlers.py[DEBUG]: finish: modules-config: FAIL: running modules for config
2019-03-28 19:31:46,422 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:final' at Thu, 28 Mar 2019 19:31:46 +0000. Up 16.13 seconds.
2019-03-28 19:31:46,449 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.nixos.Distro'>
2019-03-28 19:31:46,451 - 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-28 19:31:46,451 - handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance
2019-03-28 19:31:46,451 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_rightscale_userdata - wb: [420] 19 bytes
2019-03-28 19:31:46,453 - helpers.py[DEBUG]: Running config-rightscale_userdata using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_rightscale_userdata'>)
2019-03-28 19:31:46,453 - cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata
2019-03-28 19:31:46,453 - handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata ran successfully
2019-03-28 19:31:46,453 - 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-28 19:31:46,455 - handlers.py[DEBUG]: start: modules-final/config-scripts-vendor: running config-scripts-vendor with frequency once-per-instance
2019-03-28 19:31:46,455 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_scripts_vendor - wb: [420] 19 bytes
2019-03-28 19:31:46,456 - helpers.py[DEBUG]: Running config-scripts-vendor using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_scripts_vendor'>)
2019-03-28 19:31:46,457 - handlers.py[DEBUG]: finish: modules-final/config-scripts-vendor: SUCCESS: config-scripts-vendor ran successfully
2019-03-28 19:31:46,457 - 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-28 19:31:46,457 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once
2019-03-28 19:31:46,457 - util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [420] 19 bytes
2019-03-28 19:31:46,459 - helpers.py[DEBUG]: Running config-scripts-per-once using lock (<FileLock using file '/var/lib/cloud/sem/config_scripts_per_once.once'>)
2019-03-28 19:31:46,459 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once ran successfully
2019-03-28 19:31:46,459 - 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-28 19:31:46,459 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always
2019-03-28 19:31:46,459 - helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7f5d6726a210>)
2019-03-28 19:31:46,460 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully
2019-03-28 19:31:46,461 - 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-28 19:31:46,461 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance
2019-03-28 19:31:46,461 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_scripts_per_instance - wb: [420] 19 bytes
2019-03-28 19:31:46,463 - helpers.py[DEBUG]: Running config-scripts-per-instance using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_scripts_per_instance'>)
2019-03-28 19:31:46,463 - 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-28 19:31:46,472 - util.py[WARNING]: Failed running /var/lib/cloud/scripts/per-instance/machine_id.sh [-]
2019-03-28 19:31:46,472 - 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-28 19:31:46,476 - cc_scripts_per_instance.py[WARNING]: Failed to run module scripts-per-instance (per-instance in /var/lib/cloud/scripts/per-instance)
2019-03-28 19:31:46,476 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: FAIL: running config-scripts-per-instance with frequency once-per-instance
2019-03-28 19:31:46,476 - 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-28 19:31:46,476 - 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-28 19:31:46,478 - 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-28 19:31:46,483 - handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance
2019-03-28 19:31:46,483 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_scripts_user - wb: [420] 19 bytes
2019-03-28 19:31:46,485 - helpers.py[DEBUG]: Running config-scripts-user using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_scripts_user'>)
2019-03-28 19:31:46,485 - handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user ran successfully
2019-03-28 19:31:46,485 - 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-28 19:31:46,485 - handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance
2019-03-28 19:31:46,485 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_ssh_authkey_fingerprints - wb: [420] 19 bytes
2019-03-28 19:31:46,487 - helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_ssh_authkey_fingerprints'>)
2019-03-28 19:31:46,488 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2019-03-28 19:31:46,489 - util.py[DEBUG]: Read 854 bytes from /etc/ssh/sshd_config
2019-03-28 19:31:46,489 - util.py[DEBUG]: Reading from /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root (quiet=False)
2019-03-28 19:31:46,489 - util.py[DEBUG]: Read 401 bytes from /root/.ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/root
2019-03-28 19:31:46,527 - handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints ran successfully
2019-03-28 19:31:46,527 - 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-28 19:31:46,528 - handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance
2019-03-28 19:31:46,529 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_keys_to_console - wb: [420] 19 bytes
2019-03-28 19:31:46,531 - helpers.py[DEBUG]: Running config-keys-to-console using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_keys_to_console'>)
2019-03-28 19:31:46,531 - 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-28 19:31:46,536 - handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console ran successfully
2019-03-28 19:31:46,536 - 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-28 19:31:46,536 - handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance
2019-03-28 19:31:46,536 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_phone_home - wb: [420] 19 bytes
2019-03-28 19:31:46,538 - helpers.py[DEBUG]: Running config-phone-home using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_phone_home'>)
2019-03-28 19:31:46,538 - cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found
2019-03-28 19:31:46,538 - handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home ran successfully
2019-03-28 19:31:46,538 - 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-28 19:31:46,542 - handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always
2019-03-28 19:31:46,543 - helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7f5d6726eb90>)
2019-03-28 19:31:46,544 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-28 19:31:46,544 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-28 19:31:46,556 - util.py[DEBUG]: Cloud-init v. 0.7.9 finished at Thu, 28 Mar 2019 19:31:46 +0000. Datasource DataSourceConfigDrive [net,ver=2][source=/dev/vdb]. Up 16.37 seconds
2019-03-28 19:31:46,557 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [420] 51 bytes
2019-03-28 19:31:46,558 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
2019-03-28 19:31:46,558 - 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-28 19:31:46,558 - handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance
2019-03-28 19:31:46,558 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/138093313/sem/config_power_state_change - wb: [420] 19 bytes
2019-03-28 19:31:46,560 - helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/lib/cloud/instances/138093313/sem/config_power_state_change'>)
2019-03-28 19:31:46,560 - cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
2019-03-28 19:31:46,560 - handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change ran successfully
2019-03-28 19:31:46,560 - main.py[DEBUG]: Ran 11 modules with 1 failures
2019-03-28 19:31:46,562 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
2019-03-28 19:31:46,562 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2019-03-28 19:31:46,562 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2019-03-28 19:31:46,563 - util.py[DEBUG]: cloud-init mode 'modules' took 0.264 seconds (0.26)
2019-03-28 19:31:46,564 - 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