2018-04-25 20:22:19,033 - util.py[DEBUG]: Cloud-init v. 18.2 running 'init-local' at Wed, 25 Apr 2018 20:22:18 +0000. Up 6.72 seconds. 2018-04-25 20:22:19,034 - main.py[DEBUG]: No kernel command line url found. 2018-04-25 20:22:19,034 - main.py[DEBUG]: Closing stdin. 2018-04-25 20:22:19,037 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [644] 0 bytes 2018-04-25 20:22:19,038 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 102:4 2018-04-25 20:22:19,041 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished 2018-04-25 20:22:19,041 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net 2018-04-25 20:22:19,041 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check] 2018-04-25 20:22:19,042 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) 2018-04-25 20:22:19,042 - stages.py[DEBUG]: no cache found 2018-04-25 20:22:19,042 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found 2018-04-25 20:22:19,042 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance 2018-04-25 20:22:19,045 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:19,045 - __init__.py[DEBUG]: Looking for data source in: ['NoCloud', 'ConfigDrive', 'OpenNebula', 'DigitalOcean', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'GCE', 'OpenStack', 'CloudSigma', 'SmartOS', 'Bigstep', 'Scaleway', 'AliYun', 'Ec2', 'CloudStack', 'Hetzner', 'IBMCloud', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM'] 2018-04-25 20:22:19,101 - __init__.py[DEBUG]: Searching for local data source in: ['DataSourceNoCloud', 'DataSourceConfigDrive', 'DataSourceOpenNebula', 'DataSourceDigitalOcean', 'DataSourceAzure', 'DataSourceOVF', 'DataSourceCloudSigma', 'DataSourceSmartOS', 'DataSourceEc2Local', 'DataSourceHetzner', 'DataSourceIBMCloud'] 2018-04-25 20:22:19,101 - handlers.py[DEBUG]: start: init-local/search-NoCloud: searching for local data from DataSourceNoCloud 2018-04-25 20:22:19,101 - __init__.py[DEBUG]: Seeing if we can get any data from 2018-04-25 20:22:19,101 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,105 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,106 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,108 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False) 2018-04-25 20:22:19,108 - util.py[DEBUG]: Read 153 bytes from /proc/1/environ 2018-04-25 20:22:19,108 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False) 2018-04-25 20:22:19,108 - util.py[DEBUG]: Read 1250 bytes from /proc/self/status 2018-04-25 20:22:19,108 - util.py[DEBUG]: querying dmi data /sys/class/dmi/id/product_serial 2018-04-25 20:22:19,108 - util.py[DEBUG]: Reading from /sys/class/dmi/id/product_serial (quiet=False) 2018-04-25 20:22:19,108 - util.py[DEBUG]: Read 8 bytes from /sys/class/dmi/id/product_serial 2018-04-25 20:22:19,109 - util.py[DEBUG]: dmi data /sys/class/dmi/id/product_serial returned R8EY1TN 2018-04-25 20:22:19,109 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/user-data (quiet=False) 2018-04-25 20:22:19,109 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/meta-data (quiet=False) 2018-04-25 20:22:19,109 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/vendor-data (quiet=False) 2018-04-25 20:22:19,109 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/network-config (quiet=False) 2018-04-25 20:22:19,109 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud-net/user-data (quiet=False) 2018-04-25 20:22:19,110 - util.py[DEBUG]: Read 435 bytes from /var/lib/cloud/seed/nocloud-net/user-data 2018-04-25 20:22:19,110 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud-net/meta-data (quiet=False) 2018-04-25 20:22:19,110 - util.py[DEBUG]: Read 52 bytes from /var/lib/cloud/seed/nocloud-net/meta-data 2018-04-25 20:22:19,110 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud-net/vendor-data (quiet=False) 2018-04-25 20:22:19,110 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud-net/network-config (quiet=False) 2018-04-25 20:22:19,111 - DataSourceNoCloud.py[DEBUG]: Using seeded data from /var/lib/cloud/seed/nocloud-net 2018-04-25 20:22:19,111 - util.py[DEBUG]: Attempting to load yaml from string of length 52 with allowed root types (,) 2018-04-25 20:22:19,111 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (shell=False, capture=True) 2018-04-25 20:22:19,113 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr1'] with allowed return codes [0, 2] (shell=False, capture=True) 2018-04-25 20:22:19,115 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2018-04-25 20:22:19,125 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2018-04-25 20:22:19,129 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2018-04-25 20:22:19,132 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) 2018-04-25 20:22:19,137 - util.py[DEBUG]: Read 273 bytes from /etc/hosts 2018-04-25 20:22:19,138 - handlers.py[DEBUG]: finish: init-local/search-NoCloud: SUCCESS: found local data from DataSourceNoCloud 2018-04-25 20:22:19,138 - stages.py[INFO]: Loaded datasource DataSourceNoCloud - DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 2018-04-25 20:22:19,139 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) 2018-04-25 20:22:19,139 - util.py[DEBUG]: Read 3169 bytes from /etc/cloud/cloud.cfg 2018-04-25 20:22:19,139 - util.py[DEBUG]: Attempting to load yaml from string of length 3169 with allowed root types (,) 2018-04-25 20:22:19,165 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False) 2018-04-25 20:22:19,206 - util.py[DEBUG]: Read 257 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg 2018-04-25 20:22:19,206 - util.py[DEBUG]: Attempting to load yaml from string of length 257 with allowed root types (,) 2018-04-25 20:22:19,209 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg (quiet=False) 2018-04-25 20:22:19,209 - util.py[DEBUG]: Read 107 bytes from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg 2018-04-25 20:22:19,209 - util.py[DEBUG]: Attempting to load yaml from string of length 107 with allowed root types (,) 2018-04-25 20:22:19,210 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) 2018-04-25 20:22:19,210 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg 2018-04-25 20:22:19,210 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (,) 2018-04-25 20:22:19,219 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) 2018-04-25 20:22:19,219 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (,) 2018-04-25 20:22:19,219 - util.py[DEBUG]: loaded blob returned None, returning default. 2018-04-25 20:22:19,220 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance 2018-04-25 20:22:19,221 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37' 2018-04-25 20:22:19,222 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/datasource (quiet=False) 2018-04-25 20:22:19,222 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/datasource - wb: [644] 88 bytes 2018-04-25 20:22:19,223 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [644] 88 bytes 2018-04-25 20:22:19,223 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False) 2018-04-25 20:22:19,223 - stages.py[DEBUG]: previous iid found to be NO_PREVIOUS_INSTANCE_ID 2018-04-25 20:22:19,223 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [644] 37 bytes 2018-04-25 20:22:19,224 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [644] 37 bytes 2018-04-25 20:22:19,224 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [644] 24 bytes 2018-04-25 20:22:19,225 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 6108 bytes 2018-04-25 20:22:19,225 - main.py[DEBUG]: [local] init will now be targeting instance id: 8a07db0a-c921-45c3-b7ec-46077820df37. new=True 2018-04-25 20:22:19,225 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) 2018-04-25 20:22:19,226 - util.py[DEBUG]: Read 3169 bytes from /etc/cloud/cloud.cfg 2018-04-25 20:22:19,226 - util.py[DEBUG]: Attempting to load yaml from string of length 3169 with allowed root types (,) 2018-04-25 20:22:19,252 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False) 2018-04-25 20:22:19,252 - util.py[DEBUG]: Read 257 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg 2018-04-25 20:22:19,252 - util.py[DEBUG]: Attempting to load yaml from string of length 257 with allowed root types (,) 2018-04-25 20:22:19,256 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg (quiet=False) 2018-04-25 20:22:19,256 - util.py[DEBUG]: Read 107 bytes from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg 2018-04-25 20:22:19,256 - util.py[DEBUG]: Attempting to load yaml from string of length 107 with allowed root types (,) 2018-04-25 20:22:19,259 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) 2018-04-25 20:22:19,259 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg 2018-04-25 20:22:19,259 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (,) 2018-04-25 20:22:19,264 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) 2018-04-25 20:22:19,264 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (,) 2018-04-25 20:22:19,264 - util.py[DEBUG]: loaded blob returned None, returning default. 2018-04-25 20:22:19,265 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:19,267 - stages.py[DEBUG]: applying net config names for {'ethernets': {'enp0s25': {'addresses': [], 'dhcp4': True, 'optional': True}}, 'version': 2} 2018-04-25 20:22:19,267 - __init__.py[DEBUG]: no interfaces to rename 2018-04-25 20:22:19,267 - stages.py[INFO]: Applying network configuration from system_cfg bringup=False: {'ethernets': {'enp0s25': {'addresses': [], 'dhcp4': True, 'optional': True}}, 'version': 2} 2018-04-25 20:22:19,312 - __init__.py[DEBUG]: Selected renderer 'netplan' from priority list: None 2018-04-25 20:22:19,312 - network_state.py[DEBUG]: NetworkState Version2: missing "macaddress" info in config entry: enp0s25: {'addresses': [], 'dhcp4': True, 'optional': True} 2018-04-25 20:22:19,312 - network_state.py[DEBUG]: v2(ethernets) -> v1(physical): {'type': 'physical', 'name': 'enp0s25', 'mac_address': None, 'subnets': [{'type': 'dhcp4'}]} 2018-04-25 20:22:19,316 - network_state.py[DEBUG]: v2_common: handling config: {'enp0s25': {'addresses': [], 'dhcp4': True, 'optional': True}} 2018-04-25 20:22:19,316 - netplan.py[DEBUG]: V2 to V2 passthrough 2018-04-25 20:22:19,317 - util.py[DEBUG]: Writing to /etc/netplan/50-cloud-init.yaml - wb: [644] 437 bytes 2018-04-25 20:22:19,317 - util.py[DEBUG]: Running command ['netplan', 'generate'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,536 - util.py[DEBUG]: Running command ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/wlp3s0'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,540 - util.py[DEBUG]: Running command ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,545 - util.py[DEBUG]: Running command ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/enp0s25'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:19,550 - main.py[DEBUG]: [local] Exiting. datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] not in local mode. 2018-04-25 20:22:19,551 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) 2018-04-25 20:22:19,551 - util.py[DEBUG]: Read 11 bytes from /proc/uptime 2018-04-25 20:22:19,551 - util.py[DEBUG]: cloud-init mode 'init' took 0.570 seconds (0.57) 2018-04-25 20:22:19,551 - handlers.py[DEBUG]: finish: init-local: SUCCESS: searching for local datasources 2018-04-25 20:22:20,379 - util.py[DEBUG]: Cloud-init v. 18.2 running 'init' at Wed, 25 Apr 2018 20:22:20 +0000. Up 8.08 seconds. 2018-04-25 20:22:20,379 - main.py[DEBUG]: No kernel command line url found. 2018-04-25 20:22:20,379 - main.py[DEBUG]: Closing stdin. 2018-04-25 20:22:20,381 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [644] 0 bytes 2018-04-25 20:22:20,382 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 102:4 2018-04-25 20:22:20,382 - util.py[DEBUG]: Running command ['ip', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,390 - util.py[DEBUG]: Running command ['ip', '-o', 'route', 'list'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,392 - util.py[DEBUG]: Running command ['ip', '--oneline', '-6', 'route', 'list', 'table', 'all'] with allowed return codes [0, 1] (shell=False, capture=True) 2018-04-25 20:22:20,394 - main.py[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early. 2018-04-25 20:22:20,395 - main.py[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early. 2018-04-25 20:22:20,395 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust] 2018-04-25 20:22:20,395 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) 2018-04-25 20:22:20,395 - util.py[DEBUG]: Read 6108 bytes from /var/lib/cloud/instance/obj.pkl 2018-04-25 20:22:20,397 - util.py[DEBUG]: Reading from /run/cloud-init/.instance-id (quiet=False) 2018-04-25 20:22:20,397 - util.py[DEBUG]: Read 37 bytes from /run/cloud-init/.instance-id 2018-04-25 20:22:20,397 - stages.py[DEBUG]: restored from cache with run check: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 2018-04-25 20:22:20,397 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: restored from cache with run check: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] 2018-04-25 20:22:20,397 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) 2018-04-25 20:22:20,397 - util.py[DEBUG]: Read 3169 bytes from /etc/cloud/cloud.cfg 2018-04-25 20:22:20,397 - util.py[DEBUG]: Attempting to load yaml from string of length 3169 with allowed root types (,) 2018-04-25 20:22:20,411 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False) 2018-04-25 20:22:20,411 - util.py[DEBUG]: Read 257 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg 2018-04-25 20:22:20,411 - util.py[DEBUG]: Attempting to load yaml from string of length 257 with allowed root types (,) 2018-04-25 20:22:20,413 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg (quiet=False) 2018-04-25 20:22:20,413 - util.py[DEBUG]: Read 107 bytes from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg 2018-04-25 20:22:20,413 - util.py[DEBUG]: Attempting to load yaml from string of length 107 with allowed root types (,) 2018-04-25 20:22:20,415 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) 2018-04-25 20:22:20,415 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg 2018-04-25 20:22:20,415 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (,) 2018-04-25 20:22:20,419 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) 2018-04-25 20:22:20,419 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (,) 2018-04-25 20:22:20,419 - util.py[DEBUG]: loaded blob returned None, returning default. 2018-04-25 20:22:20,420 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance 2018-04-25 20:22:20,420 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37' 2018-04-25 20:22:20,420 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/datasource (quiet=False) 2018-04-25 20:22:20,420 - util.py[DEBUG]: Read 88 bytes from /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/datasource 2018-04-25 20:22:20,420 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/datasource - wb: [644] 88 bytes 2018-04-25 20:22:20,421 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [644] 88 bytes 2018-04-25 20:22:20,421 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False) 2018-04-25 20:22:20,421 - util.py[DEBUG]: Read 37 bytes from /var/lib/cloud/data/instance-id 2018-04-25 20:22:20,421 - stages.py[DEBUG]: previous iid found to be 8a07db0a-c921-45c3-b7ec-46077820df37 2018-04-25 20:22:20,422 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [644] 37 bytes 2018-04-25 20:22:20,422 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [644] 37 bytes 2018-04-25 20:22:20,422 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [644] 37 bytes 2018-04-25 20:22:20,423 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 6195 bytes 2018-04-25 20:22:20,424 - main.py[DEBUG]: [net] init will now be targeting instance id: 8a07db0a-c921-45c3-b7ec-46077820df37. new=False 2018-04-25 20:22:20,424 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) 2018-04-25 20:22:20,424 - util.py[DEBUG]: Read 3169 bytes from /etc/cloud/cloud.cfg 2018-04-25 20:22:20,424 - util.py[DEBUG]: Attempting to load yaml from string of length 3169 with allowed root types (,) 2018-04-25 20:22:20,437 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False) 2018-04-25 20:22:20,437 - util.py[DEBUG]: Read 257 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg 2018-04-25 20:22:20,437 - util.py[DEBUG]: Attempting to load yaml from string of length 257 with allowed root types (,) 2018-04-25 20:22:20,439 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg (quiet=False) 2018-04-25 20:22:20,439 - util.py[DEBUG]: Read 107 bytes from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg 2018-04-25 20:22:20,439 - util.py[DEBUG]: Attempting to load yaml from string of length 107 with allowed root types (,) 2018-04-25 20:22:20,440 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) 2018-04-25 20:22:20,441 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg 2018-04-25 20:22:20,441 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (,) 2018-04-25 20:22:20,445 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) 2018-04-25 20:22:20,445 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (,) 2018-04-25 20:22:20,445 - util.py[DEBUG]: loaded blob returned None, returning default. 2018-04-25 20:22:20,446 - stages.py[DEBUG]: applying net config names for {'ethernets': {'enp0s25': {'addresses': [], 'dhcp4': True, 'optional': True}}, 'version': 2} 2018-04-25 20:22:20,447 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:20,447 - __init__.py[DEBUG]: no interfaces to rename 2018-04-25 20:22:20,447 - stages.py[DEBUG]: not a new instance. network config is not applied. 2018-04-25 20:22:20,447 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/user-data.txt - wb: [600] 435 bytes 2018-04-25 20:22:20,448 - util.py[DEBUG]: Attempting to load yaml from string of length 435 with allowed root types (,) 2018-04-25 20:22:20,453 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/user-data.txt.i - wb: [600] 740 bytes 2018-04-25 20:22:20,453 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/vendor-data.txt - wb: [600] 0 bytes 2018-04-25 20:22:20,454 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/vendor-data.txt.i - wb: [600] 308 bytes 2018-04-25 20:22:20,455 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/consume_data - wb: [644] 24 bytes 2018-04-25 20:22:20,456 - helpers.py[DEBUG]: Running consume_data using lock () 2018-04-25 20:22:20,456 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data 2018-04-25 20:22:20,456 - stages.py[DEBUG]: Added default handler for {'text/cloud-config', 'text/cloud-config-jsonp'} from CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] 2018-04-25 20:22:20,456 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript'} from ShellScriptPartHandler: [['text/x-shellscript']] 2018-04-25 20:22:20,456 - stages.py[DEBUG]: Added default handler for {'text/cloud-boothook'} from BootHookPartHandler: [['text/cloud-boothook']] 2018-04-25 20:22:20,456 - stages.py[DEBUG]: Added default handler for {'text/upstart-job'} from UpstartJobPartHandler: [['text/upstart-job']] 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] (__begin__, None, 3) with frequency once-per-instance 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: {'MIME-Version': '1.0', 'Content-Type': 'text/cloud-config', 'Content-Disposition': 'attachment; filename="part-001"'} 2018-04-25 20:22:20,457 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] (text/cloud-config, part-001, 3) with frequency once-per-instance 2018-04-25 20:22:20,457 - util.py[DEBUG]: Attempting to load yaml from string of length 435 with allowed root types (,) 2018-04-25 20:22:20,460 - cloud_config.py[DEBUG]: Merging by applying [('dict', ['replace']), ('list', []), ('str', [])] 2018-04-25 20:22:20,461 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] (__end__, None, 3) with frequency once-per-instance 2018-04-25 20:22:20,463 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/cloud-config.txt - wb: [600] 534 bytes 2018-04-25 20:22:20,463 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,463 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,463 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance 2018-04-25 20:22:20,463 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data 2018-04-25 20:22:20,463 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data 2018-04-25 20:22:20,464 - stages.py[DEBUG]: no vendordata from datasource 2018-04-25 20:22:20,464 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data 2018-04-25 20:22:20,464 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) 2018-04-25 20:22:20,464 - util.py[DEBUG]: Read 3169 bytes from /etc/cloud/cloud.cfg 2018-04-25 20:22:20,464 - util.py[DEBUG]: Attempting to load yaml from string of length 3169 with allowed root types (,) 2018-04-25 20:22:20,477 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False) 2018-04-25 20:22:20,477 - util.py[DEBUG]: Read 257 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg 2018-04-25 20:22:20,477 - util.py[DEBUG]: Attempting to load yaml from string of length 257 with allowed root types (,) 2018-04-25 20:22:20,479 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg (quiet=False) 2018-04-25 20:22:20,479 - util.py[DEBUG]: Read 107 bytes from /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg 2018-04-25 20:22:20,480 - util.py[DEBUG]: Attempting to load yaml from string of length 107 with allowed root types (,) 2018-04-25 20:22:20,481 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) 2018-04-25 20:22:20,481 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg 2018-04-25 20:22:20,481 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (,) 2018-04-25 20:22:20,485 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) 2018-04-25 20:22:20,485 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (,) 2018-04-25 20:22:20,485 - util.py[DEBUG]: loaded blob returned None, returning default. 2018-04-25 20:22:20,485 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) 2018-04-25 20:22:20,485 - util.py[DEBUG]: Read 534 bytes from /var/lib/cloud/instance/cloud-config.txt 2018-04-25 20:22:20,486 - util.py[DEBUG]: Attempting to load yaml from string of length 534 with allowed root types (,) 2018-04-25 20:22:20,490 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) 2018-04-25 20:22:20,490 - util.py[DEBUG]: Read 534 bytes from /var/lib/cloud/instance/cloud-config.txt 2018-04-25 20:22:20,490 - util.py[DEBUG]: Attempting to load yaml from string of length 534 with allowed root types (,) 2018-04-25 20:22:20,495 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 5571 bytes 2018-04-25 20:22:20,496 - main.py[DEBUG]: no di_report found in config. 2018-04-25 20:22:20,574 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:20,574 - stages.py[DEBUG]: Running module migrator () with frequency always 2018-04-25 20:22:20,575 - handlers.py[DEBUG]: start: init-network/config-migrator: running config-migrator with frequency always 2018-04-25 20:22:20,575 - helpers.py[DEBUG]: Running config-migrator using lock () 2018-04-25 20:22:20,575 - cc_migrator.py[DEBUG]: Migrated 0 semaphore files to there canonicalized names 2018-04-25 20:22:20,575 - handlers.py[DEBUG]: finish: init-network/config-migrator: SUCCESS: config-migrator ran successfully 2018-04-25 20:22:20,575 - stages.py[DEBUG]: Running module seed_random () with frequency once-per-instance 2018-04-25 20:22:20,576 - handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance 2018-04-25 20:22:20,576 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_seed_random - wb: [644] 24 bytes 2018-04-25 20:22:20,576 - helpers.py[DEBUG]: Running config-seed_random using lock () 2018-04-25 20:22:20,576 - cc_seed_random.py[DEBUG]: no command provided 2018-04-25 20:22:20,576 - handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully 2018-04-25 20:22:20,576 - stages.py[DEBUG]: Running module bootcmd () with frequency always 2018-04-25 20:22:20,577 - handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always 2018-04-25 20:22:20,577 - helpers.py[DEBUG]: Running config-bootcmd using lock () 2018-04-25 20:22:20,577 - cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration 2018-04-25 20:22:20,577 - handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully 2018-04-25 20:22:20,577 - stages.py[DEBUG]: Running module write-files () with frequency once-per-instance 2018-04-25 20:22:20,577 - handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance 2018-04-25 20:22:20,577 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_write_files - wb: [644] 24 bytes 2018-04-25 20:22:20,578 - helpers.py[DEBUG]: Running config-write-files using lock () 2018-04-25 20:22:20,578 - cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration 2018-04-25 20:22:20,578 - handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files ran successfully 2018-04-25 20:22:20,578 - stages.py[DEBUG]: Running module growpart () with frequency always 2018-04-25 20:22:20,578 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always 2018-04-25 20:22:20,578 - helpers.py[DEBUG]: Running config-growpart using lock () 2018-04-25 20:22:20,578 - cc_growpart.py[DEBUG]: growpart disabled: mode=off 2018-04-25 20:22:20,579 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully 2018-04-25 20:22:20,579 - stages.py[DEBUG]: Running module resizefs () with frequency always 2018-04-25 20:22:20,579 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always 2018-04-25 20:22:20,579 - helpers.py[DEBUG]: Running config-resizefs using lock () 2018-04-25 20:22:20,585 - cc_resizefs.py[DEBUG]: Skipping module named resizefs, resizing disabled 2018-04-25 20:22:20,585 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully 2018-04-25 20:22:20,585 - stages.py[DEBUG]: Running module disk_setup () with frequency once-per-instance 2018-04-25 20:22:20,585 - handlers.py[DEBUG]: start: init-network/config-disk_setup: running config-disk_setup with frequency once-per-instance 2018-04-25 20:22:20,585 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_disk_setup - wb: [644] 24 bytes 2018-04-25 20:22:20,586 - helpers.py[DEBUG]: Running config-disk_setup using lock () 2018-04-25 20:22:20,586 - handlers.py[DEBUG]: finish: init-network/config-disk_setup: SUCCESS: config-disk_setup ran successfully 2018-04-25 20:22:20,586 - stages.py[DEBUG]: Running module mounts () with frequency once-per-instance 2018-04-25 20:22:20,586 - handlers.py[DEBUG]: start: init-network/config-mounts: running config-mounts with frequency once-per-instance 2018-04-25 20:22:20,586 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_mounts - wb: [644] 24 bytes 2018-04-25 20:22:20,587 - helpers.py[DEBUG]: Running config-mounts using lock () 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: mounts configuration is [] 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount ephemeral0 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: Attempting to determine the real name of swap 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: no need to setup swap 2018-04-25 20:22:20,587 - cc_mounts.py[DEBUG]: No modifications to fstab needed. 2018-04-25 20:22:20,587 - handlers.py[DEBUG]: finish: init-network/config-mounts: SUCCESS: config-mounts ran successfully 2018-04-25 20:22:20,587 - stages.py[DEBUG]: Running module set_hostname () with frequency once-per-instance 2018-04-25 20:22:20,588 - handlers.py[DEBUG]: start: init-network/config-set_hostname: running config-set_hostname with frequency once-per-instance 2018-04-25 20:22:20,588 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_set_hostname - wb: [644] 24 bytes 2018-04-25 20:22:20,588 - helpers.py[DEBUG]: Running config-set_hostname using lock () 2018-04-25 20:22:20,588 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) 2018-04-25 20:22:20,588 - util.py[DEBUG]: Read 273 bytes from /etc/hosts 2018-04-25 20:22:20,589 - cc_set_hostname.py[DEBUG]: Setting the hostname to localhost (nsn7-server) 2018-04-25 20:22:20,589 - util.py[DEBUG]: Reading from /etc/hostname (quiet=False) 2018-04-25 20:22:20,589 - util.py[DEBUG]: Read 22 bytes from /etc/hostname 2018-04-25 20:22:20,589 - util.py[DEBUG]: Writing to /etc/hostname - wb: [644] 12 bytes 2018-04-25 20:22:20,589 - __init__.py[DEBUG]: Non-persistently setting the system hostname to nsn7-server 2018-04-25 20:22:20,589 - util.py[DEBUG]: Running command ['hostname', 'nsn7-server'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,592 - handlers.py[DEBUG]: finish: init-network/config-set_hostname: SUCCESS: config-set_hostname ran successfully 2018-04-25 20:22:20,592 - stages.py[DEBUG]: Running module update_hostname () with frequency always 2018-04-25 20:22:20,593 - handlers.py[DEBUG]: start: init-network/config-update_hostname: running config-update_hostname with frequency always 2018-04-25 20:22:20,593 - helpers.py[DEBUG]: Running config-update_hostname using lock () 2018-04-25 20:22:20,593 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) 2018-04-25 20:22:20,593 - util.py[DEBUG]: Read 273 bytes from /etc/hosts 2018-04-25 20:22:20,593 - cc_update_hostname.py[DEBUG]: Updating hostname to nsn7-server (nsn7-server) 2018-04-25 20:22:20,593 - util.py[DEBUG]: Reading from /etc/hostname (quiet=False) 2018-04-25 20:22:20,593 - util.py[DEBUG]: Read 12 bytes from /etc/hostname 2018-04-25 20:22:20,593 - __init__.py[DEBUG]: Attempting to update hostname to nsn7-server in 1 files 2018-04-25 20:22:20,594 - util.py[DEBUG]: Reading from /var/lib/cloud/data/previous-hostname (quiet=False) 2018-04-25 20:22:20,594 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-hostname - wb: [644] 12 bytes 2018-04-25 20:22:20,594 - handlers.py[DEBUG]: finish: init-network/config-update_hostname: SUCCESS: config-update_hostname ran successfully 2018-04-25 20:22:20,594 - stages.py[DEBUG]: Running module update_etc_hosts () with frequency always 2018-04-25 20:22:20,595 - handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency always 2018-04-25 20:22:20,595 - helpers.py[DEBUG]: Running config-update_etc_hosts using lock () 2018-04-25 20:22:20,595 - cc_update_etc_hosts.py[DEBUG]: Configuration option 'manage_etc_hosts' is not set, not managing /etc/hosts in module update_etc_hosts 2018-04-25 20:22:20,595 - handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully 2018-04-25 20:22:20,595 - stages.py[DEBUG]: Running module ca-certs () with frequency once-per-instance 2018-04-25 20:22:20,595 - handlers.py[DEBUG]: start: init-network/config-ca-certs: running config-ca-certs with frequency once-per-instance 2018-04-25 20:22:20,595 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ca_certs - wb: [644] 24 bytes 2018-04-25 20:22:20,596 - helpers.py[DEBUG]: Running config-ca-certs using lock () 2018-04-25 20:22:20,596 - cc_ca_certs.py[DEBUG]: Skipping module named ca-certs, no 'ca-certs' key in configuration 2018-04-25 20:22:20,596 - handlers.py[DEBUG]: finish: init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully 2018-04-25 20:22:20,596 - stages.py[DEBUG]: Running module rsyslog () with frequency once-per-instance 2018-04-25 20:22:20,596 - handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance 2018-04-25 20:22:20,596 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_rsyslog - wb: [644] 24 bytes 2018-04-25 20:22:20,597 - helpers.py[DEBUG]: Running config-rsyslog using lock () 2018-04-25 20:22:20,597 - cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration 2018-04-25 20:22:20,597 - handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog ran successfully 2018-04-25 20:22:20,597 - stages.py[DEBUG]: Running module users-groups () with frequency once-per-instance 2018-04-25 20:22:20,597 - handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance 2018-04-25 20:22:20,597 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_users_groups - wb: [644] 22 bytes 2018-04-25 20:22:20,598 - helpers.py[DEBUG]: Running config-users-groups using lock () 2018-04-25 20:22:20,598 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:20,599 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:20,599 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:20,599 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:20,599 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:20,600 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:20,600 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:20,600 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:20,600 - util.py[DEBUG]: Running command ['groupadd', 'lpadmin'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,633 - __init__.py[INFO]: Created new group lpadmin 2018-04-25 20:22:20,633 - __init__.py[DEBUG]: created group 'lpadmin' for user 'andreas' 2018-04-25 20:22:20,633 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:20,633 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:20,634 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:20,634 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:20,634 - util.py[DEBUG]: Running command ['groupadd', 'sambashare'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,666 - __init__.py[INFO]: Created new group sambashare 2018-04-25 20:22:20,667 - __init__.py[DEBUG]: created group 'sambashare' for user 'andreas' 2018-04-25 20:22:20,667 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:20,667 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:20,667 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:20,668 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:20,668 - util.py[DEBUG]: Running command ['groupadd', 'debian-tor'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,700 - __init__.py[INFO]: Created new group debian-tor 2018-04-25 20:22:20,700 - __init__.py[DEBUG]: created group 'debian-tor' for user 'andreas' 2018-04-25 20:22:20,700 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:20,701 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:20,701 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:20,701 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:20,701 - util.py[DEBUG]: Running command ['groupadd', 'libvirtd'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:20,733 - __init__.py[INFO]: Created new group libvirtd 2018-04-25 20:22:20,734 - __init__.py[DEBUG]: created group 'libvirtd' for user 'andreas' 2018-04-25 20:22:20,734 - __init__.py[DEBUG]: Adding user andreas 2018-04-25 20:22:20,734 - util.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['useradd', 'andreas', '--comment', 'Andreas Hasenack', '--groups', 'adm,cdrom,dip,lpadmin,plugdev,sambashare,debian-tor,libvirtd,lxd,sudo', '--password', 'REDACTED', '--shell', '/bin/bash', '-m'] 2018-04-25 20:22:20,872 - handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups ran successfully 2018-04-25 20:22:20,872 - stages.py[DEBUG]: Running module ssh () with frequency once-per-instance 2018-04-25 20:22:20,872 - handlers.py[DEBUG]: start: init-network/config-ssh: running config-ssh with frequency once-per-instance 2018-04-25 20:22:20,873 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ssh - wb: [644] 24 bytes 2018-04-25 20:22:20,873 - helpers.py[DEBUG]: Running config-ssh using lock () 2018-04-25 20:22:20,879 - 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) 2018-04-25 20:22:20,999 - 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) 2018-04-25 20:22:21,039 - 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) 2018-04-25 20:22:21,043 - 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) 2018-04-25 20:22:21,049 - util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0 2018-04-25 20:22:21,050 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False) 2018-04-25 20:22:21,050 - util.py[DEBUG]: Read 3264 bytes from /etc/ssh/sshd_config 2018-04-25 20:22:21,051 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [600] 0 bytes 2018-04-25 20:22:21,051 - util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys to 0:0 2018-04-25 20:22:21,051 - handlers.py[DEBUG]: finish: init-network/config-ssh: SUCCESS: config-ssh ran successfully 2018-04-25 20:22:21,051 - main.py[DEBUG]: Ran 15 modules with 0 failures 2018-04-25 20:22:21,052 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) 2018-04-25 20:22:21,052 - util.py[DEBUG]: Read 11 bytes from /proc/uptime 2018-04-25 20:22:21,052 - util.py[DEBUG]: cloud-init mode 'init' took 0.708 seconds (0.71) 2018-04-25 20:22:21,052 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources 2018-04-25 20:22:22,011 - util.py[DEBUG]: Cloud-init v. 18.2 running 'modules:config' at Wed, 25 Apr 2018 20:22:21 +0000. Up 9.62 seconds. 2018-04-25 20:22:22,077 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:22,078 - stages.py[DEBUG]: Running module emit_upstart () with frequency always 2018-04-25 20:22:22,079 - handlers.py[DEBUG]: start: modules-config/config-emit_upstart: running config-emit_upstart with frequency always 2018-04-25 20:22:22,079 - helpers.py[DEBUG]: Running config-emit_upstart using lock () 2018-04-25 20:22:22,079 - cc_emit_upstart.py[DEBUG]: no /sbin/initctl located 2018-04-25 20:22:22,079 - cc_emit_upstart.py[DEBUG]: not upstart system, 'emit_upstart' disabled 2018-04-25 20:22:22,079 - handlers.py[DEBUG]: finish: modules-config/config-emit_upstart: SUCCESS: config-emit_upstart ran successfully 2018-04-25 20:22:22,079 - stages.py[DEBUG]: Running module snap () with frequency once-per-instance 2018-04-25 20:22:22,079 - handlers.py[DEBUG]: start: modules-config/config-snap: running config-snap with frequency once-per-instance 2018-04-25 20:22:22,080 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_snap - wb: [644] 25 bytes 2018-04-25 20:22:22,080 - helpers.py[DEBUG]: Running config-snap using lock () 2018-04-25 20:22:22,080 - cc_snap.py[DEBUG]: Skipping module named snap, no 'snap' key in configuration 2018-04-25 20:22:22,080 - handlers.py[DEBUG]: finish: modules-config/config-snap: SUCCESS: config-snap ran successfully 2018-04-25 20:22:22,080 - stages.py[DEBUG]: Running module snap_config () with frequency once-per-instance 2018-04-25 20:22:22,081 - handlers.py[DEBUG]: start: modules-config/config-snap_config: running config-snap_config with frequency once-per-instance 2018-04-25 20:22:22,081 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_snap_config - wb: [644] 25 bytes 2018-04-25 20:22:22,081 - helpers.py[DEBUG]: Running config-snap_config using lock () 2018-04-25 20:22:22,081 - cc_snap_config.py[DEBUG]: No snappy config provided, skipping 2018-04-25 20:22:22,081 - handlers.py[DEBUG]: finish: modules-config/config-snap_config: SUCCESS: config-snap_config ran successfully 2018-04-25 20:22:22,081 - stages.py[DEBUG]: Running module ssh-import-id () with frequency once-per-instance 2018-04-25 20:22:22,082 - handlers.py[DEBUG]: start: modules-config/config-ssh-import-id: running config-ssh-import-id with frequency once-per-instance 2018-04-25 20:22:22,082 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ssh_import_id - wb: [644] 25 bytes 2018-04-25 20:22:22,082 - helpers.py[DEBUG]: Running config-ssh-import-id using lock () 2018-04-25 20:22:22,083 - cc_ssh_import_id.py[DEBUG]: Importing ssh ids for user andreas. 2018-04-25 20:22:22,083 - util.py[DEBUG]: Running command ['sudo', '-Hu', 'andreas', 'ssh-import-id', 'gh:panlinux'] with allowed return codes [0] (shell=False, capture=False) 2018-04-25 20:22:22,320 - util.py[WARNING]: Failed to run command to import andreas ssh ids 2018-04-25 20:22:22,321 - util.py[DEBUG]: Failed to run command to import andreas ssh ids Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 104, in import_ssh_ids util.subp(cmd, capture=False) File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1957, in subp cmd=args) cloudinit.util.ProcessExecutionError: Unexpected error while running command. Command: ['sudo', '-Hu', 'andreas', 'ssh-import-id', 'gh:panlinux'] Exit code: 1 Reason: - Stdout: - Stderr: - 2018-04-25 20:22:22,329 - util.py[WARNING]: ssh-import-id failed for: andreas ['gh:panlinux'] 2018-04-25 20:22:22,329 - util.py[DEBUG]: ssh-import-id failed for: andreas ['gh:panlinux'] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 79, in handle import_ssh_ids(import_ids, user, log) File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 107, in import_ssh_ids raise exc File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 104, in import_ssh_ids util.subp(cmd, capture=False) File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1957, in subp cmd=args) cloudinit.util.ProcessExecutionError: Unexpected error while running command. Command: ['sudo', '-Hu', 'andreas', 'ssh-import-id', 'gh:panlinux'] Exit code: 1 Reason: - Stdout: - Stderr: - 2018-04-25 20:22:22,330 - handlers.py[DEBUG]: finish: modules-config/config-ssh-import-id: FAIL: running config-ssh-import-id with frequency once-per-instance 2018-04-25 20:22:22,330 - util.py[WARNING]: Running module ssh-import-id () failed 2018-04-25 20:22:22,330 - util.py[DEBUG]: Running module ssh-import-id () failed Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 792, in _run_modules freq=freq) File "/usr/lib/python3/dist-packages/cloudinit/cloud.py", line 54, in run return self._runners.run(name, functor, args, freq, clear_on_fail) File "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 187, in run results = functor(*args) File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 86, in handle raise elist[0] File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 79, in handle import_ssh_ids(import_ids, user, log) File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 107, in import_ssh_ids raise exc File "/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py", line 104, in import_ssh_ids util.subp(cmd, capture=False) File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1957, in subp cmd=args) cloudinit.util.ProcessExecutionError: Unexpected error while running command. Command: ['sudo', '-Hu', 'andreas', 'ssh-import-id', 'gh:panlinux'] Exit code: 1 Reason: - Stdout: - Stderr: - 2018-04-25 20:22:22,332 - stages.py[DEBUG]: Running module locale () with frequency once-per-instance 2018-04-25 20:22:22,332 - handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance 2018-04-25 20:22:22,333 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_locale - wb: [644] 24 bytes 2018-04-25 20:22:22,334 - helpers.py[DEBUG]: Running config-locale using lock () 2018-04-25 20:22:22,334 - util.py[DEBUG]: Reading from /etc/default/locale (quiet=False) 2018-04-25 20:22:22,334 - util.py[DEBUG]: Read 13 bytes from /etc/default/locale 2018-04-25 20:22:22,334 - cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8 2018-04-25 20:22:22,334 - debian.py[DEBUG]: Generating locales for en_US.UTF-8 2018-04-25 20:22:22,334 - util.py[DEBUG]: Running command ['locale-gen', 'en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False) 2018-04-25 20:22:23,219 - debian.py[DEBUG]: Updating /etc/default/locale with locale setting LANG=en_US.UTF-8 2018-04-25 20:22:23,219 - util.py[DEBUG]: Running command ['update-locale', '--locale-file=/etc/default/locale', 'LANG=en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False) 2018-04-25 20:22:23,248 - handlers.py[DEBUG]: finish: modules-config/config-locale: SUCCESS: config-locale ran successfully 2018-04-25 20:22:23,248 - stages.py[DEBUG]: Running module set-passwords () with frequency once-per-instance 2018-04-25 20:22:23,249 - handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance 2018-04-25 20:22:23,249 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_set_passwords - wb: [644] 25 bytes 2018-04-25 20:22:23,250 - helpers.py[DEBUG]: Running config-set-passwords using lock () 2018-04-25 20:22:23,250 - handlers.py[DEBUG]: finish: modules-config/config-set-passwords: SUCCESS: config-set-passwords ran successfully 2018-04-25 20:22:23,250 - stages.py[DEBUG]: Running module grub-dpkg () with frequency once-per-instance 2018-04-25 20:22:23,250 - handlers.py[DEBUG]: start: modules-config/config-grub-dpkg: running config-grub-dpkg with frequency once-per-instance 2018-04-25 20:22:23,250 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_grub_dpkg - wb: [644] 25 bytes 2018-04-25 20:22:23,251 - helpers.py[DEBUG]: Running config-grub-dpkg using lock () 2018-04-25 20:22:23,251 - cc_grub_dpkg.py[DEBUG]: Setting grub debconf-set-selections with '/dev/sda','false' 2018-04-25 20:22:23,251 - util.py[DEBUG]: Running command ['debconf-set-selections'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:23,456 - handlers.py[DEBUG]: finish: modules-config/config-grub-dpkg: SUCCESS: config-grub-dpkg ran successfully 2018-04-25 20:22:23,456 - stages.py[DEBUG]: Running module apt-pipelining () with frequency once-per-instance 2018-04-25 20:22:23,457 - handlers.py[DEBUG]: start: modules-config/config-apt-pipelining: running config-apt-pipelining with frequency once-per-instance 2018-04-25 20:22:23,457 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_apt_pipelining - wb: [644] 25 bytes 2018-04-25 20:22:23,458 - helpers.py[DEBUG]: Running config-apt-pipelining using lock () 2018-04-25 20:22:23,462 - util.py[DEBUG]: Writing to /etc/apt/apt.conf.d/90cloud-init-pipelining - wb: [644] 80 bytes 2018-04-25 20:22:23,463 - cc_apt_pipelining.py[DEBUG]: Wrote /etc/apt/apt.conf.d/90cloud-init-pipelining with apt pipeline depth setting 0 2018-04-25 20:22:23,463 - handlers.py[DEBUG]: finish: modules-config/config-apt-pipelining: SUCCESS: config-apt-pipelining ran successfully 2018-04-25 20:22:23,464 - stages.py[DEBUG]: Running module apt-configure () with frequency once-per-instance 2018-04-25 20:22:23,464 - handlers.py[DEBUG]: start: modules-config/config-apt-configure: running config-apt-configure with frequency once-per-instance 2018-04-25 20:22:23,464 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_apt_configure - wb: [644] 25 bytes 2018-04-25 20:22:23,465 - helpers.py[DEBUG]: Running config-apt-configure using lock () 2018-04-25 20:22:23,465 - cc_apt_configure.py[DEBUG]: debconf_selections was not set in config 2018-04-25 20:22:23,465 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:23,465 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:23,467 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:23,467 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:23,467 - cc_apt_configure.py[DEBUG]: handling apt config: {} 2018-04-25 20:22:23,467 - util.py[DEBUG]: Running command ['lsb_release', '--all'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:23,561 - util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:23,565 - cc_apt_configure.py[DEBUG]: got primary mirror: None 2018-04-25 20:22:23,566 - cc_apt_configure.py[DEBUG]: got security mirror: None 2018-04-25 20:22:23,566 - util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:23,570 - __init__.py[DEBUG]: filtered distro mirror info: {'primary': 'http://archive.ubuntu.com/ubuntu', 'security': 'http://security.ubuntu.com/ubuntu'} 2018-04-25 20:22:23,571 - cc_apt_configure.py[DEBUG]: Apt Mirror info: {'primary': 'http://archive.ubuntu.com/ubuntu', 'security': 'http://security.ubuntu.com/ubuntu', 'PRIMARY': 'http://archive.ubuntu.com/ubuntu', 'SECURITY': 'http://security.ubuntu.com/ubuntu', 'MIRROR': 'http://archive.ubuntu.com/ubuntu'} 2018-04-25 20:22:23,571 - cc_apt_configure.py[INFO]: No custom template provided, fall back to builtin 2018-04-25 20:22:23,571 - util.py[DEBUG]: Reading from /etc/cloud/templates/sources.list.ubuntu.tmpl (quiet=False) 2018-04-25 20:22:23,571 - util.py[DEBUG]: Read 2841 bytes from /etc/cloud/templates/sources.list.ubuntu.tmpl 2018-04-25 20:22:23,589 - util.py[DEBUG]: Writing to /etc/apt/sources.list - wb: [644] 3125 bytes 2018-04-25 20:22:23,590 - util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:23,594 - handlers.py[DEBUG]: finish: modules-config/config-apt-configure: SUCCESS: config-apt-configure ran successfully 2018-04-25 20:22:23,595 - stages.py[DEBUG]: Running module ubuntu-advantage () with frequency once-per-instance 2018-04-25 20:22:23,595 - handlers.py[DEBUG]: start: modules-config/config-ubuntu-advantage: running config-ubuntu-advantage with frequency once-per-instance 2018-04-25 20:22:23,596 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ubuntu_advantage - wb: [644] 25 bytes 2018-04-25 20:22:23,596 - helpers.py[DEBUG]: Running config-ubuntu-advantage using lock () 2018-04-25 20:22:23,596 - cc_ubuntu_advantage.py[DEBUG]: Skipping module named ubuntu-advantage, no 'ubuntu-advantage' key in configuration 2018-04-25 20:22:23,596 - handlers.py[DEBUG]: finish: modules-config/config-ubuntu-advantage: SUCCESS: config-ubuntu-advantage ran successfully 2018-04-25 20:22:23,597 - stages.py[DEBUG]: Running module ntp () with frequency once-per-instance 2018-04-25 20:22:23,597 - handlers.py[DEBUG]: start: modules-config/config-ntp: running config-ntp with frequency once-per-instance 2018-04-25 20:22:23,597 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ntp - wb: [644] 25 bytes 2018-04-25 20:22:23,597 - helpers.py[DEBUG]: Running config-ntp using lock () 2018-04-25 20:22:23,597 - cc_ntp.py[DEBUG]: Skipping module named ntp, not present or disabled by cfg 2018-04-25 20:22:23,597 - handlers.py[DEBUG]: finish: modules-config/config-ntp: SUCCESS: config-ntp ran successfully 2018-04-25 20:22:23,598 - stages.py[DEBUG]: Running module timezone () with frequency once-per-instance 2018-04-25 20:22:23,598 - handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance 2018-04-25 20:22:23,598 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_timezone - wb: [644] 25 bytes 2018-04-25 20:22:23,598 - helpers.py[DEBUG]: Running config-timezone using lock () 2018-04-25 20:22:23,598 - cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified 2018-04-25 20:22:23,599 - handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone ran successfully 2018-04-25 20:22:23,599 - stages.py[DEBUG]: Running module disable-ec2-metadata () with frequency always 2018-04-25 20:22:23,599 - handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always 2018-04-25 20:22:23,599 - helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock () 2018-04-25 20:22:23,599 - cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled 2018-04-25 20:22:23,599 - handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully 2018-04-25 20:22:23,599 - stages.py[DEBUG]: Running module runcmd () with frequency once-per-instance 2018-04-25 20:22:23,599 - handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance 2018-04-25 20:22:23,599 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_runcmd - wb: [644] 25 bytes 2018-04-25 20:22:23,600 - helpers.py[DEBUG]: Running config-runcmd using lock () 2018-04-25 20:22:23,600 - cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration 2018-04-25 20:22:23,600 - handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd ran successfully 2018-04-25 20:22:23,600 - stages.py[DEBUG]: Running module byobu () with frequency once-per-instance 2018-04-25 20:22:23,600 - handlers.py[DEBUG]: start: modules-config/config-byobu: running config-byobu with frequency once-per-instance 2018-04-25 20:22:23,600 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_byobu - wb: [644] 25 bytes 2018-04-25 20:22:23,601 - helpers.py[DEBUG]: Running config-byobu using lock () 2018-04-25 20:22:23,601 - cc_byobu.py[DEBUG]: Skipping module named byobu, no 'byobu' values found 2018-04-25 20:22:23,601 - handlers.py[DEBUG]: finish: modules-config/config-byobu: SUCCESS: config-byobu ran successfully 2018-04-25 20:22:23,601 - main.py[DEBUG]: Ran 15 modules with 1 failures 2018-04-25 20:22:23,602 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) 2018-04-25 20:22:23,602 - util.py[DEBUG]: Read 12 bytes from /proc/uptime 2018-04-25 20:22:23,602 - util.py[DEBUG]: cloud-init mode 'modules' took 1.717 seconds (1.72) 2018-04-25 20:22:23,602 - handlers.py[DEBUG]: finish: modules-config: FAIL: running modules for config 2018-04-25 20:22:24,353 - util.py[DEBUG]: Cloud-init v. 18.2 running 'modules:final' at Wed, 25 Apr 2018 20:22:24 +0000. Up 11.97 seconds. 2018-04-25 20:22:24,468 - stages.py[DEBUG]: Using distro class 2018-04-25 20:22:24,470 - stages.py[DEBUG]: Running module snappy () with frequency once-per-instance 2018-04-25 20:22:24,471 - handlers.py[DEBUG]: start: modules-final/config-snappy: running config-snappy with frequency once-per-instance 2018-04-25 20:22:24,471 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_snappy - wb: [644] 24 bytes 2018-04-25 20:22:24,472 - helpers.py[DEBUG]: Running config-snappy using lock () 2018-04-25 20:22:24,472 - util.py[DEBUG]: Reading from /etc/os-release (quiet=True) 2018-04-25 20:22:24,472 - util.py[DEBUG]: Read 382 bytes from /etc/os-release 2018-04-25 20:22:24,474 - util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True) 2018-04-25 20:22:24,474 - util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini 2018-04-25 20:22:24,474 - cc_snappy.py[DEBUG]: snappy: 'auto' mode, and system not snappy 2018-04-25 20:22:24,475 - handlers.py[DEBUG]: finish: modules-final/config-snappy: SUCCESS: config-snappy ran successfully 2018-04-25 20:22:24,475 - stages.py[DEBUG]: Running module package-update-upgrade-install () with frequency once-per-instance 2018-04-25 20:22:24,475 - handlers.py[DEBUG]: start: modules-final/config-package-update-upgrade-install: running config-package-update-upgrade-install with frequency once-per-instance 2018-04-25 20:22:24,475 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_package_update_upgrade_install - wb: [644] 24 bytes 2018-04-25 20:22:24,476 - helpers.py[DEBUG]: Running config-package-update-upgrade-install using lock () 2018-04-25 20:22:24,477 - handlers.py[DEBUG]: finish: modules-final/config-package-update-upgrade-install: SUCCESS: config-package-update-upgrade-install ran successfully 2018-04-25 20:22:24,477 - stages.py[DEBUG]: Running module fan () with frequency once-per-instance 2018-04-25 20:22:24,477 - handlers.py[DEBUG]: start: modules-final/config-fan: running config-fan with frequency once-per-instance 2018-04-25 20:22:24,477 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_fan - wb: [644] 25 bytes 2018-04-25 20:22:24,478 - helpers.py[DEBUG]: Running config-fan using lock () 2018-04-25 20:22:24,479 - cc_fan.py[DEBUG]: fan: no 'fan' config entry. disabling 2018-04-25 20:22:24,479 - handlers.py[DEBUG]: finish: modules-final/config-fan: SUCCESS: config-fan ran successfully 2018-04-25 20:22:24,479 - stages.py[DEBUG]: Running module landscape () with frequency once-per-instance 2018-04-25 20:22:24,479 - handlers.py[DEBUG]: start: modules-final/config-landscape: running config-landscape with frequency once-per-instance 2018-04-25 20:22:24,480 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_landscape - wb: [644] 25 bytes 2018-04-25 20:22:24,480 - helpers.py[DEBUG]: Running config-landscape using lock () 2018-04-25 20:22:24,481 - handlers.py[DEBUG]: finish: modules-final/config-landscape: SUCCESS: config-landscape ran successfully 2018-04-25 20:22:24,481 - stages.py[DEBUG]: Running module lxd () with frequency once-per-instance 2018-04-25 20:22:24,481 - handlers.py[DEBUG]: start: modules-final/config-lxd: running config-lxd with frequency once-per-instance 2018-04-25 20:22:24,481 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_lxd - wb: [644] 25 bytes 2018-04-25 20:22:24,482 - helpers.py[DEBUG]: Running config-lxd using lock () 2018-04-25 20:22:24,482 - cc_lxd.py[DEBUG]: Skipping module named lxd, not present or disabled by cfg 2018-04-25 20:22:24,483 - handlers.py[DEBUG]: finish: modules-final/config-lxd: SUCCESS: config-lxd ran successfully 2018-04-25 20:22:24,483 - stages.py[DEBUG]: Running module puppet () with frequency once-per-instance 2018-04-25 20:22:24,483 - handlers.py[DEBUG]: start: modules-final/config-puppet: running config-puppet with frequency once-per-instance 2018-04-25 20:22:24,483 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_puppet - wb: [644] 25 bytes 2018-04-25 20:22:24,484 - helpers.py[DEBUG]: Running config-puppet using lock () 2018-04-25 20:22:24,484 - cc_puppet.py[DEBUG]: Skipping module named puppet, no 'puppet' configuration found 2018-04-25 20:22:24,485 - handlers.py[DEBUG]: finish: modules-final/config-puppet: SUCCESS: config-puppet ran successfully 2018-04-25 20:22:24,485 - stages.py[DEBUG]: Running module chef () with frequency once-per-instance 2018-04-25 20:22:24,485 - handlers.py[DEBUG]: start: modules-final/config-chef: running config-chef with frequency once-per-instance 2018-04-25 20:22:24,485 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_chef - wb: [644] 24 bytes 2018-04-25 20:22:24,486 - helpers.py[DEBUG]: Running config-chef using lock () 2018-04-25 20:22:24,486 - cc_chef.py[DEBUG]: Skipping module named chef, no 'chef' key in configuration 2018-04-25 20:22:24,487 - handlers.py[DEBUG]: finish: modules-final/config-chef: SUCCESS: config-chef ran successfully 2018-04-25 20:22:24,487 - stages.py[DEBUG]: Running module mcollective () with frequency once-per-instance 2018-04-25 20:22:24,487 - handlers.py[DEBUG]: start: modules-final/config-mcollective: running config-mcollective with frequency once-per-instance 2018-04-25 20:22:24,487 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_mcollective - wb: [644] 23 bytes 2018-04-25 20:22:24,488 - helpers.py[DEBUG]: Running config-mcollective using lock () 2018-04-25 20:22:24,488 - cc_mcollective.py[DEBUG]: Skipping module named mcollective, no 'mcollective' key in configuration 2018-04-25 20:22:24,489 - handlers.py[DEBUG]: finish: modules-final/config-mcollective: SUCCESS: config-mcollective ran successfully 2018-04-25 20:22:24,489 - stages.py[DEBUG]: Running module salt-minion () with frequency once-per-instance 2018-04-25 20:22:24,489 - handlers.py[DEBUG]: start: modules-final/config-salt-minion: running config-salt-minion with frequency once-per-instance 2018-04-25 20:22:24,490 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_salt_minion - wb: [644] 25 bytes 2018-04-25 20:22:24,490 - helpers.py[DEBUG]: Running config-salt-minion using lock () 2018-04-25 20:22:24,491 - cc_salt_minion.py[DEBUG]: Skipping module named salt-minion, no 'salt_minion' key in configuration 2018-04-25 20:22:24,491 - handlers.py[DEBUG]: finish: modules-final/config-salt-minion: SUCCESS: config-salt-minion ran successfully 2018-04-25 20:22:24,491 - stages.py[DEBUG]: Running module rightscale_userdata () with frequency once-per-instance 2018-04-25 20:22:24,491 - handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance 2018-04-25 20:22:24,492 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_rightscale_userdata - wb: [644] 25 bytes 2018-04-25 20:22:24,493 - helpers.py[DEBUG]: Running config-rightscale_userdata using lock () 2018-04-25 20:22:24,493 - cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata 2018-04-25 20:22:24,493 - handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata ran successfully 2018-04-25 20:22:24,493 - stages.py[DEBUG]: Running module scripts-vendor () with frequency once-per-instance 2018-04-25 20:22:24,493 - handlers.py[DEBUG]: start: modules-final/config-scripts-vendor: running config-scripts-vendor with frequency once-per-instance 2018-04-25 20:22:24,494 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_scripts_vendor - wb: [644] 24 bytes 2018-04-25 20:22:24,495 - helpers.py[DEBUG]: Running config-scripts-vendor using lock () 2018-04-25 20:22:24,495 - handlers.py[DEBUG]: finish: modules-final/config-scripts-vendor: SUCCESS: config-scripts-vendor ran successfully 2018-04-25 20:22:24,495 - stages.py[DEBUG]: Running module scripts-per-once () with frequency once 2018-04-25 20:22:24,495 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once 2018-04-25 20:22:24,496 - util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [644] 24 bytes 2018-04-25 20:22:24,496 - helpers.py[DEBUG]: Running config-scripts-per-once using lock () 2018-04-25 20:22:24,497 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once ran successfully 2018-04-25 20:22:24,497 - stages.py[DEBUG]: Running module scripts-per-boot () with frequency always 2018-04-25 20:22:24,497 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always 2018-04-25 20:22:24,497 - helpers.py[DEBUG]: Running config-scripts-per-boot using lock () 2018-04-25 20:22:24,498 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully 2018-04-25 20:22:24,498 - stages.py[DEBUG]: Running module scripts-per-instance () with frequency once-per-instance 2018-04-25 20:22:24,498 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance 2018-04-25 20:22:24,499 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_scripts_per_instance - wb: [644] 25 bytes 2018-04-25 20:22:24,499 - helpers.py[DEBUG]: Running config-scripts-per-instance using lock () 2018-04-25 20:22:24,499 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: SUCCESS: config-scripts-per-instance ran successfully 2018-04-25 20:22:24,500 - stages.py[DEBUG]: Running module scripts-user () with frequency once-per-instance 2018-04-25 20:22:24,500 - handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance 2018-04-25 20:22:24,500 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_scripts_user - wb: [644] 25 bytes 2018-04-25 20:22:24,501 - helpers.py[DEBUG]: Running config-scripts-user using lock () 2018-04-25 20:22:24,501 - handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user ran successfully 2018-04-25 20:22:24,501 - stages.py[DEBUG]: Running module ssh-authkey-fingerprints () with frequency once-per-instance 2018-04-25 20:22:24,502 - handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance 2018-04-25 20:22:24,502 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_ssh_authkey_fingerprints - wb: [644] 25 bytes 2018-04-25 20:22:24,503 - helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock () 2018-04-25 20:22:24,504 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False) 2018-04-25 20:22:24,504 - util.py[DEBUG]: Read 3264 bytes from /etc/ssh/sshd_config 2018-04-25 20:22:24,507 - handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints ran successfully 2018-04-25 20:22:24,507 - stages.py[DEBUG]: Running module keys-to-console () with frequency once-per-instance 2018-04-25 20:22:24,508 - handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance 2018-04-25 20:22:24,508 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_keys_to_console - wb: [644] 25 bytes 2018-04-25 20:22:24,509 - helpers.py[DEBUG]: Running config-keys-to-console using lock () 2018-04-25 20:22:24,509 - util.py[DEBUG]: Running command ['/usr/lib/cloud-init/write-ssh-key-fingerprints', '', 'ssh-dss'] with allowed return codes [0] (shell=False, capture=True) 2018-04-25 20:22:24,554 - handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console ran successfully 2018-04-25 20:22:24,554 - stages.py[DEBUG]: Running module phone-home () with frequency once-per-instance 2018-04-25 20:22:24,555 - handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance 2018-04-25 20:22:24,555 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_phone_home - wb: [644] 25 bytes 2018-04-25 20:22:24,556 - helpers.py[DEBUG]: Running config-phone-home using lock () 2018-04-25 20:22:24,556 - cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found 2018-04-25 20:22:24,556 - handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home ran successfully 2018-04-25 20:22:24,556 - stages.py[DEBUG]: Running module final-message () with frequency always 2018-04-25 20:22:24,556 - handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always 2018-04-25 20:22:24,556 - helpers.py[DEBUG]: Running config-final-message using lock () 2018-04-25 20:22:24,557 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) 2018-04-25 20:22:24,557 - util.py[DEBUG]: Read 12 bytes from /proc/uptime 2018-04-25 20:22:24,562 - util.py[DEBUG]: Cloud-init v. 18.2 finished at Wed, 25 Apr 2018 20:22:24 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 12.29 seconds 2018-04-25 20:22:24,562 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [644] 50 bytes 2018-04-25 20:22:24,562 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully 2018-04-25 20:22:24,562 - stages.py[DEBUG]: Running module power-state-change () with frequency once-per-instance 2018-04-25 20:22:24,563 - handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance 2018-04-25 20:22:24,563 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/8a07db0a-c921-45c3-b7ec-46077820df37/sem/config_power_state_change - wb: [644] 25 bytes 2018-04-25 20:22:24,563 - helpers.py[DEBUG]: Running config-power-state-change using lock () 2018-04-25 20:22:24,563 - cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing 2018-04-25 20:22:24,564 - handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change ran successfully 2018-04-25 20:22:24,564 - main.py[DEBUG]: Ran 20 modules with 0 failures 2018-04-25 20:22:24,565 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json' 2018-04-25 20:22:24,565 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) 2018-04-25 20:22:24,565 - util.py[DEBUG]: Read 12 bytes from /proc/uptime 2018-04-25 20:22:24,565 - util.py[DEBUG]: cloud-init mode 'modules' took 0.324 seconds (0.32) 2018-04-25 20:22:24,565 - handlers.py[DEBUG]: finish: modules-final: SUCCESS: running modules for final