[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Stretch AMI - user-data doesn't run, but cloud-init claims SUCCESS ?



2018-10-01 stretch AMI (no idea if this is a regression?) /var/log/cloud-init.log claims user-data was run, when it fact it was not, with tracebacks and log messages (attached) leading me to think that failure is somehow getting mis-cast as success?

Any confirmations of other failures/successes of user-data would be much appreciated ...

Many thanks,
...jfree
/var/log/cloud-init.log :
...
2018-11-02 22:36:11,162 - helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/consume_data'>)
...
2018-11-02 22:36:11,162 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data
2018-11-02 22:36:11,162 - launch_index.py[DEBUG]: Discarding 0 multipart messages which do not match launch index 0
2018-11-02 22:36:11,163 - stages.py[DEBUG]: Added default handler for {'text/cloud-config', 'text/cloud-config-jsonp'} from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']]
2018-11-02 22:36:11,163 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript'} from ShellScriptPartHandler: [['text/x-shellscript']]
2018-11-02 22:36:11,163 - stages.py[DEBUG]: Added default handler for {'text/cloud-boothook'} from BootHookPartHandler: [['text/cloud-boothook']]
2018-11-02 22:36:11,163 - stages.py[DEBUG]: Added default handler for {'text/upstart-job'} from UpstartJobPartHandler: [['text/upstart-job']]
2018-11-02 22:36:11,163 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
2018-11-02 22:36:11,163 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,164 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,164 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,164 - __init__.py[DEBUG]: {'Content-Disposition': 'attachment; filename="part-001"', 'Content-Type': 'text/x-shellscript', 'MIME-Version': '1.0'}
2018-11-02 22:36:11,164 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency once-per-instance
2018-11-02 22:36:11,164 - util.py[WARNING]: Failed calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency once-per-instance
2018-11-02 22:36:11,170 - util.py[DEBUG]: Failed calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency once-per-instance
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cloudinit/handlers/__init__.py", line 103, in run_part
    payload, frequency)
  File "/usr/lib/python3/dist-packages/cloudinit/handlers/shell_script.py", line 43, in handle_part
    util.write_file(path, payload, 0o700)
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1747, in write_file
    content = encode_text(content)
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 154, in encode_text
    return text.encode(encoding)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udca9' in position 14: surrogates not allowed
2018-11-02 22:36:11,173 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
2018-11-02 22:36:11,173 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/cloud-config.txt - wb: [384] 0 bytes
2018-11-02 22:36:11,174 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,174 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,174 - __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
2018-11-02 22:36:11,174 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data
2018-11-02 22:36:11,174 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data
2018-11-02 22:36:11,174 - stages.py[DEBUG]: no vendordata from datasource
2018-11-02 22:36:11,174 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data
2018-11-02 22:36:11,175 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2018-11-02 22:36:11,175 - util.py[DEBUG]: Read 2518 bytes from /etc/cloud/cloud.cfg
2018-11-02 22:36:11,175 - util.py[DEBUG]: Attempting to load yaml from string of length 2518 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,195 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg (quiet=False)
2018-11-02 22:36:11,195 - util.py[DEBUG]: Read 28 bytes from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
2018-11-02 22:36:11,195 - util.py[DEBUG]: Attempting to load yaml from string of length 28 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,196 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
2018-11-02 22:36:11,196 - util.py[DEBUG]: Read 87 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
2018-11-02 22:36:11,196 - util.py[DEBUG]: Attempting to load yaml from string of length 87 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,196 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2018-11-02 22:36:11,197 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2018-11-02 22:36:11,197 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,207 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg (quiet=False)
2018-11-02 22:36:11,207 - util.py[DEBUG]: Read 336 bytes from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg
2018-11-02 22:36:11,207 - util.py[DEBUG]: Attempting to load yaml from string of length 336 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,209 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_debian.cfg (quiet=False)
2018-11-02 22:36:11,209 - util.py[DEBUG]: Read 93 bytes from /etc/cloud/cloud.cfg.d/00_debian.cfg
2018-11-02 22:36:11,209 - util.py[DEBUG]: Attempting to load yaml from string of length 93 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,211 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,211 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-02 22:36:11,211 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-11-02 22:36:11,211 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2018-11-02 22:36:11,211 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,211 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-02 22:36:11,220 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-11-02 22:36:11,220 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2018-11-02 22:36:11,220 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-02 22:36:11,221 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-02 22:36:11,222 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 6070 bytes
2018-11-02 22:36:11,248 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-02 22:36:11,249 - stages.py[DEBUG]: Running module migrator (<module 'cloudinit.config.cc_migrator' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_migrator.py'>) with frequency always
2018-11-02 22:36:11,249 - handlers.py[DEBUG]: start: init-network/config-migrator: running config-migrator with frequency always
2018-11-02 22:36:11,249 - helpers.py[DEBUG]: Running config-migrator using lock (<cloudinit.helpers.DummyLock object at 0x7f70c0ac1a90>)
2018-11-02 22:36:11,253 - cc_migrator.py[DEBUG]: Migrated 0 semaphore files to there canonicalized names
2018-11-02 22:36:11,253 - handlers.py[DEBUG]: finish: init-network/config-migrator: SUCCESS: config-migrator ran successfully
2018-11-02 22:36:11,253 - stages.py[DEBUG]: Running module seed_random (<module 'cloudinit.config.cc_seed_random' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_seed_random.py'>) with frequency once-per-instance
2018-11-02 22:36:11,253 - handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance
2018-11-02 22:36:11,253 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_seed_random - wb: [420] 24 bytes
2018-11-02 22:36:11,254 - helpers.py[DEBUG]: Running config-seed_random using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_seed_random'>)
2018-11-02 22:36:11,254 - cc_seed_random.py[DEBUG]: no command provided
2018-11-02 22:36:11,254 - handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully
2018-11-02 22:36:11,254 - stages.py[DEBUG]: Running module bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_bootcmd.py'>) with frequency always
2018-11-02 22:36:11,254 - handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always
2018-11-02 22:36:11,254 - helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7f70c0ac4f28>)
2018-11-02 22:36:11,255 - cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
2018-11-02 22:36:11,255 - handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully
2018-11-02 22:36:11,255 - stages.py[DEBUG]: Running module write-files (<module 'cloudinit.config.cc_write_files' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_write_files.py'>) with frequency once-per-instance
2018-11-02 22:36:11,255 - handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance
2018-11-02 22:36:11,255 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_write_files - wb: [420] 23 bytes
2018-11-02 22:36:11,255 - helpers.py[DEBUG]: Running config-write-files using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_write_files'>)
2018-11-02 22:36:11,256 - cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration
2018-11-02 22:36:11,256 - handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files ran successfully
2018-11-02 22:36:11,256 - stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py'>) with frequency always
2018-11-02 22:36:11,256 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
2018-11-02 22:36:11,256 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f70c1007630>)
2018-11-02 22:36:11,256 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg.  Using default: {'mode': 'auto', 'ignore_growroot_disabled': False, 'devices': ['/']}
2018-11-02 22:36:11,256 - util.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,271 - util.py[DEBUG]: Reading from /proc/444/mountinfo (quiet=False)
2018-11-02 22:36:11,272 - util.py[DEBUG]: Read 2469 bytes from /proc/444/mountinfo
2018-11-02 22:36:11,278 - util.py[DEBUG]: Reading from /sys/class/block/xvda1/partition (quiet=False)
2018-11-02 22:36:11,278 - util.py[DEBUG]: Read 2 bytes from /sys/class/block/xvda1/partition
2018-11-02 22:36:11,278 - util.py[DEBUG]: Reading from /sys/devices/vbd-51712/block/xvda/dev (quiet=False)
2018-11-02 22:36:11,278 - util.py[DEBUG]: Read 6 bytes from /sys/devices/vbd-51712/block/xvda/dev
2018-11-02 22:36:11,278 - util.py[DEBUG]: Running command ['growpart', '--dry-run', '/dev/xvda', '1'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,354 - util.py[DEBUG]: resize_devices took 0.083 seconds
2018-11-02 22:36:11,355 - cc_growpart.py[DEBUG]: '/' NOCHANGE: no change necessary (/dev/xvda, 1)
2018-11-02 22:36:11,355 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
2018-11-02 22:36:11,355 - stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_resizefs.py'>) with frequency always
2018-11-02 22:36:11,355 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
2018-11-02 22:36:11,355 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f70c10078d0>)
2018-11-02 22:36:11,355 - util.py[DEBUG]: Reading from /proc/444/mountinfo (quiet=False)
2018-11-02 22:36:11,356 - util.py[DEBUG]: Read 2469 bytes from /proc/444/mountinfo
2018-11-02 22:36:11,356 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/xvda1 mnt_point=/ path=/
2018-11-02 22:36:11,356 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,359 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,360 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,361 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
2018-11-02 22:36:11,361 - util.py[DEBUG]: Read 139 bytes from /proc/1/environ
2018-11-02 22:36:11,362 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
2018-11-02 22:36:11,362 - util.py[DEBUG]: Read 972 bytes from /proc/self/status
2018-11-02 22:36:11,362 - cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/xvda1
2018-11-02 22:36:11,362 - util.py[DEBUG]: Running command ('resize2fs', '/dev/xvda1') with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,368 - util.py[DEBUG]: Resizing took 0.006 seconds
2018-11-02 22:36:11,368 - cc_resizefs.py[DEBUG]: Resized root filesystem (type=ext4, val=True)
2018-11-02 22:36:11,368 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully
2018-11-02 22:36:11,369 - stages.py[DEBUG]: Running module disk_setup (<module 'cloudinit.config.cc_disk_setup' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_disk_setup.py'>) with frequency once-per-instance
2018-11-02 22:36:11,369 - handlers.py[DEBUG]: start: init-network/config-disk_setup: running config-disk_setup with frequency once-per-instance
2018-11-02 22:36:11,369 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_disk_setup - wb: [420] 24 bytes
2018-11-02 22:36:11,370 - helpers.py[DEBUG]: Running config-disk_setup using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_disk_setup'>)
2018-11-02 22:36:11,370 - handlers.py[DEBUG]: finish: init-network/config-disk_setup: SUCCESS: config-disk_setup ran successfully
2018-11-02 22:36:11,370 - stages.py[DEBUG]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_mounts.py'>) with frequency once-per-instance
2018-11-02 22:36:11,370 - handlers.py[DEBUG]: start: init-network/config-mounts: running config-mounts with frequency once-per-instance
2018-11-02 22:36:11,370 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_mounts - wb: [420] 24 bytes
2018-11-02 22:36:11,371 - helpers.py[DEBUG]: Running config-mounts using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_mounts'>)
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: mounts configuration is []
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
2018-11-02 22:36:11,371 - DataSourceEc2.py[DEBUG]: Unable to convert ephemeral0 to a device
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount ephemeral0
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
2018-11-02 22:36:11,371 - DataSourceEc2.py[DEBUG]: Unable to convert swap to a device
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: no need to setup swap
2018-11-02 22:36:11,371 - cc_mounts.py[DEBUG]: No modifications to fstab needed.
2018-11-02 22:36:11,371 - handlers.py[DEBUG]: finish: init-network/config-mounts: SUCCESS: config-mounts ran successfully
2018-11-02 22:36:11,371 - stages.py[DEBUG]: Running module set_hostname (<module 'cloudinit.config.cc_set_hostname' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_set_hostname.py'>) with frequency once-per-instance
2018-11-02 22:36:11,372 - handlers.py[DEBUG]: start: init-network/config-set_hostname: running config-set_hostname with frequency once-per-instance
2018-11-02 22:36:11,372 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_set_hostname - wb: [420] 23 bytes
2018-11-02 22:36:11,372 - helpers.py[DEBUG]: Running config-set_hostname using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_set_hostname'>)
2018-11-02 22:36:11,372 - cc_set_hostname.py[DEBUG]: Setting the hostname to ip-10-36-233-16.ec2.internal (ip-10-36-233-16)
2018-11-02 22:36:11,372 - util.py[DEBUG]: Reading from /etc/hostname (quiet=False)
2018-11-02 22:36:11,372 - util.py[DEBUG]: Read 16 bytes from /etc/hostname
2018-11-02 22:36:11,373 - util.py[DEBUG]: Writing to /etc/hostname - wb: [420] 16 bytes
2018-11-02 22:36:11,373 - __init__.py[DEBUG]: Non-persistently setting the system hostname to ip-10-36-233-16
2018-11-02 22:36:11,373 - util.py[DEBUG]: Running command ['hostname', 'ip-10-36-233-16'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,377 - handlers.py[DEBUG]: finish: init-network/config-set_hostname: SUCCESS: config-set_hostname ran successfully
2018-11-02 22:36:11,377 - stages.py[DEBUG]: Running module update_hostname (<module 'cloudinit.config.cc_update_hostname' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_update_hostname.py'>) with frequency always
2018-11-02 22:36:11,378 - handlers.py[DEBUG]: start: init-network/config-update_hostname: running config-update_hostname with frequency always
2018-11-02 22:36:11,378 - helpers.py[DEBUG]: Running config-update_hostname using lock (<cloudinit.helpers.DummyLock object at 0x7f70c0ac0048>)
2018-11-02 22:36:11,378 - cc_update_hostname.py[DEBUG]: Updating hostname to ip-10-36-233-16.ec2.internal (ip-10-36-233-16)
2018-11-02 22:36:11,378 - util.py[DEBUG]: Reading from /var/lib/cloud/data/previous-hostname (quiet=False)
2018-11-02 22:36:11,378 - util.py[DEBUG]: Read 16 bytes from /var/lib/cloud/data/previous-hostname
2018-11-02 22:36:11,378 - util.py[DEBUG]: Reading from /etc/hostname (quiet=False)
2018-11-02 22:36:11,378 - util.py[DEBUG]: Read 16 bytes from /etc/hostname
2018-11-02 22:36:11,379 - __init__.py[INFO]: /var/lib/cloud/data/previous-hostname differs from /etc/hostname, assuming user maintained hostname.
2018-11-02 22:36:11,379 - handlers.py[DEBUG]: finish: init-network/config-update_hostname: SUCCESS: config-update_hostname ran successfully
2018-11-02 22:36:11,379 - stages.py[DEBUG]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_update_etc_hosts.py'>) with frequency always
2018-11-02 22:36:11,379 - handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency always
2018-11-02 22:36:11,379 - helpers.py[DEBUG]: Running config-update_etc_hosts using lock (<cloudinit.helpers.DummyLock object at 0x7f70c0ac0ba8>)
2018-11-02 22:36:11,379 - util.py[DEBUG]: Reading from /etc/cloud/templates/hosts.debian.tmpl (quiet=False)
2018-11-02 22:36:11,380 - util.py[DEBUG]: Read 887 bytes from /etc/cloud/templates/hosts.debian.tmpl
2018-11-02 22:36:11,380 - templater.py[DEBUG]: Rendering content of '/etc/cloud/templates/hosts.debian.tmpl' using renderer jinja
2018-11-02 22:36:11,383 - util.py[DEBUG]: Writing to /etc/hosts - wb: [420] 619 bytes
2018-11-02 22:36:11,383 - handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully
2018-11-02 22:36:11,384 - stages.py[DEBUG]: Running module ca-certs (<module 'cloudinit.config.cc_ca_certs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ca_certs.py'>) with frequency once-per-instance
2018-11-02 22:36:11,384 - handlers.py[DEBUG]: start: init-network/config-ca-certs: running config-ca-certs with frequency once-per-instance
2018-11-02 22:36:11,384 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ca_certs - wb: [420] 24 bytes
2018-11-02 22:36:11,384 - helpers.py[DEBUG]: Running config-ca-certs using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ca_certs'>)
2018-11-02 22:36:11,384 - cc_ca_certs.py[DEBUG]: Skipping module named ca-certs, no 'ca-certs' key in configuration
2018-11-02 22:36:11,385 - handlers.py[DEBUG]: finish: init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully
2018-11-02 22:36:11,385 - stages.py[DEBUG]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_rsyslog.py'>) with frequency once-per-instance
2018-11-02 22:36:11,385 - handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance
2018-11-02 22:36:11,385 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_rsyslog - wb: [420] 24 bytes
2018-11-02 22:36:11,385 - helpers.py[DEBUG]: Running config-rsyslog using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_rsyslog'>)
2018-11-02 22:36:11,385 - cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration
2018-11-02 22:36:11,386 - handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog ran successfully
2018-11-02 22:36:11,386 - stages.py[DEBUG]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_users_groups.py'>) with frequency once-per-instance
2018-11-02 22:36:11,386 - handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance
2018-11-02 22:36:11,386 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_users_groups - wb: [420] 23 bytes
2018-11-02 22:36:11,386 - helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_users_groups'>)
2018-11-02 22:36:11,387 - __init__.py[INFO]: User admin already exists, skipping.
2018-11-02 22:36:11,387 - util.py[DEBUG]: Running command ['passwd', '-l', 'admin'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:11,402 - util.py[DEBUG]: Reading from /etc/sudoers (quiet=False)
2018-11-02 22:36:11,402 - util.py[DEBUG]: Read 669 bytes from /etc/sudoers
2018-11-02 22:36:11,403 - util.py[DEBUG]: Writing to /etc/sudoers.d/90-cloud-init-users - ab: [None] 53 bytes
2018-11-02 22:36:11,404 - handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups ran successfully
2018-11-02 22:36:11,404 - stages.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh.py'>) with frequency once-per-instance
2018-11-02 22:36:11,404 - handlers.py[DEBUG]: start: init-network/config-ssh: running config-ssh with frequency once-per-instance
2018-11-02 22:36:11,404 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh - wb: [420] 24 bytes
2018-11-02 22:36:11,405 - helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh'>)
2018-11-02 22:36:11,405 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_ed25519_key.pub
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_rsa_key
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_dsa_key.pub
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_rsa_key.pub
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_dsa_key
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_ecdsa_key
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_ed25519_key
2018-11-02 22:36:11,406 - util.py[DEBUG]: Attempting to remove /etc/ssh/ssh_host_ecdsa_key.pub
2018-11-02 22:36:11,406 - 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-11-02 22:36:11,531 - 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-11-02 22:36:11,682 - 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-11-02 22:36:11,687 - 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-11-02 22:36:11,693 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2018-11-02 22:36:11,693 - util.py[DEBUG]: Read 3344 bytes from /etc/ssh/sshd_config
2018-11-02 22:36:11,694 - util.py[DEBUG]: Reading from /home/admin/.ssh/authorized_keys (quiet=False)
2018-11-02 22:36:11,694 - util.py[DEBUG]: Read 0 bytes from /home/admin/.ssh/authorized_keys
2018-11-02 22:36:11,695 - util.py[DEBUG]: Writing to /home/admin/.ssh/authorized_keys - wb: [384] 404 bytes
2018-11-02 22:36:11,695 - util.py[DEBUG]: Changing the ownership of /home/admin/.ssh/authorized_keys to 1000:1000
2018-11-02 22:36:11,695 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2018-11-02 22:36:11,695 - util.py[DEBUG]: Read 3344 bytes from /etc/ssh/sshd_config
2018-11-02 22:36:11,696 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [384] 558 bytes
2018-11-02 22:36:11,697 - util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys to 0:0
2018-11-02 22:36:11,697 - handlers.py[DEBUG]: finish: init-network/config-ssh: SUCCESS: config-ssh ran successfully
2018-11-02 22:36:11,697 - main.py[DEBUG]: Ran 15 modules with 0 failures
2018-11-02 22:36:11,698 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2018-11-02 22:36:11,698 - util.py[DEBUG]: Read 10 bytes from /proc/uptime
2018-11-02 22:36:11,698 - util.py[DEBUG]: cloud-init mode 'init' took 0.755 seconds (0.76)
2018-11-02 22:36:11,698 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
2018-11-02 22:36:13,455 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:config' at Fri, 02 Nov 2018 22:36:13 +0000. Up 7.39 seconds.
2018-11-02 22:36:13,473 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-02 22:36:13,474 - stages.py[DEBUG]: Running module emit_upstart (<module 'cloudinit.config.cc_emit_upstart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_emit_upstart.py'>) with frequency always
2018-11-02 22:36:13,474 - handlers.py[DEBUG]: start: modules-config/config-emit_upstart: running config-emit_upstart with frequency always
2018-11-02 22:36:13,475 - helpers.py[DEBUG]: Running config-emit_upstart using lock (<cloudinit.helpers.DummyLock object at 0x7f5d0a3f5fd0>)
2018-11-02 22:36:13,475 - cc_emit_upstart.py[DEBUG]: no /sbin/initctl located
2018-11-02 22:36:13,475 - cc_emit_upstart.py[DEBUG]: not upstart system, 'emit_upstart' disabled
2018-11-02 22:36:13,475 - handlers.py[DEBUG]: finish: modules-config/config-emit_upstart: SUCCESS: config-emit_upstart ran successfully
2018-11-02 22:36:13,475 - stages.py[DEBUG]: Running module ssh-import-id (<module 'cloudinit.config.cc_ssh_import_id' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py'>) with frequency once-per-instance
2018-11-02 22:36:13,481 - handlers.py[DEBUG]: start: modules-config/config-ssh-import-id: running config-ssh-import-id with frequency once-per-instance
2018-11-02 22:36:13,481 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh_import_id - wb: [420] 24 bytes
2018-11-02 22:36:13,482 - helpers.py[DEBUG]: Running config-ssh-import-id using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh_import_id'>)
2018-11-02 22:36:13,482 - handlers.py[DEBUG]: finish: modules-config/config-ssh-import-id: SUCCESS: config-ssh-import-id ran successfully
2018-11-02 22:36:13,482 - stages.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_locale.py'>) with frequency once-per-instance
2018-11-02 22:36:13,482 - handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance
2018-11-02 22:36:13,483 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_locale - wb: [420] 24 bytes
2018-11-02 22:36:13,483 - helpers.py[DEBUG]: Running config-locale using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_locale'>)
2018-11-02 22:36:13,483 - cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8
2018-11-02 22:36:13,483 - util.py[DEBUG]: Running command ['locale-gen', 'en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False)
2018-11-02 22:36:15,495 - util.py[DEBUG]: Running command ['update-locale', 'en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False)
2018-11-02 22:36:15,543 - util.py[DEBUG]: Writing to /etc/default/locale - wb: [420] 87 bytes
2018-11-02 22:36:15,544 - handlers.py[DEBUG]: finish: modules-config/config-locale: SUCCESS: config-locale ran successfully
2018-11-02 22:36:15,544 - stages.py[DEBUG]: Running module set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_set_passwords.py'>) with frequency once-per-instance
2018-11-02 22:36:15,545 - handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance
2018-11-02 22:36:15,545 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_set_passwords - wb: [420] 24 bytes
2018-11-02 22:36:15,545 - helpers.py[DEBUG]: Running config-set-passwords using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_set_passwords'>)
2018-11-02 22:36:15,546 - handlers.py[DEBUG]: finish: modules-config/config-set-passwords: SUCCESS: config-set-passwords ran successfully
2018-11-02 22:36:15,546 - stages.py[DEBUG]: Running module grub-dpkg (<module 'cloudinit.config.cc_grub_dpkg' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_grub_dpkg.py'>) with frequency once-per-instance
2018-11-02 22:36:15,546 - handlers.py[DEBUG]: start: modules-config/config-grub-dpkg: running config-grub-dpkg with frequency once-per-instance
2018-11-02 22:36:15,546 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_grub_dpkg - wb: [420] 24 bytes
2018-11-02 22:36:15,546 - helpers.py[DEBUG]: Running config-grub-dpkg using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_grub_dpkg'>)
2018-11-02 22:36:15,546 - cc_grub_dpkg.py[DEBUG]: Setting grub debconf-set-selections with '/dev/xvda','false'
2018-11-02 22:36:15,546 - util.py[DEBUG]: Running command ['debconf-set-selections'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:15,765 - handlers.py[DEBUG]: finish: modules-config/config-grub-dpkg: SUCCESS: config-grub-dpkg ran successfully
2018-11-02 22:36:15,765 - stages.py[DEBUG]: Running module apt-pipelining (<module 'cloudinit.config.cc_apt_pipelining' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_pipelining.py'>) with frequency once-per-instance
2018-11-02 22:36:15,766 - handlers.py[DEBUG]: start: modules-config/config-apt-pipelining: running config-apt-pipelining with frequency once-per-instance
2018-11-02 22:36:15,766 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_apt_pipelining - wb: [420] 24 bytes
2018-11-02 22:36:15,767 - helpers.py[DEBUG]: Running config-apt-pipelining using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_apt_pipelining'>)
2018-11-02 22:36:15,767 - util.py[DEBUG]: Writing to /etc/apt/apt.conf.d/90cloud-init-pipelining - wb: [420] 80 bytes
2018-11-02 22:36:15,767 - cc_apt_pipelining.py[DEBUG]: Wrote /etc/apt/apt.conf.d/90cloud-init-pipelining with apt pipeline depth setting 0
2018-11-02 22:36:15,767 - handlers.py[DEBUG]: finish: modules-config/config-apt-pipelining: SUCCESS: config-apt-pipelining ran successfully
2018-11-02 22:36:15,767 - stages.py[DEBUG]: Running module apt-configure (<module 'cloudinit.config.cc_apt_configure' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py'>) with frequency once-per-instance
2018-11-02 22:36:15,768 - handlers.py[DEBUG]: start: modules-config/config-apt-configure: running config-apt-configure with frequency once-per-instance
2018-11-02 22:36:15,768 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_apt_configure - wb: [420] 23 bytes
2018-11-02 22:36:15,768 - helpers.py[DEBUG]: Running config-apt-configure using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_apt_configure'>)
2018-11-02 22:36:15,768 - cc_apt_configure.py[DEBUG]: apt config: convert V2 to V3 format for keys 'apt_preserve_sources_list'
2018-11-02 22:36:15,768 - cc_apt_configure.py[DEBUG]: handling apt (module apt-configure) with apt config '{'preserve_sources_list': True}'
2018-11-02 22:36:15,768 - util.py[DEBUG]: Running command ['lsb_release', '--all'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:15,859 - util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:15,876 - cc_apt_configure.py[DEBUG]: got primary mirror: None
2018-11-02 22:36:15,876 - cc_apt_configure.py[DEBUG]: got security mirror: None
2018-11-02 22:36:15,876 - util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True)
2018-11-02 22:36:15,892 - __init__.py[DEBUG]: filtered distro mirror info: {'security': 'http://security.debian.org/', 'primary': 'http://deb.debian.org/debian'}
2018-11-02 22:36:15,892 - cc_apt_configure.py[DEBUG]: Apt Mirror info: {'security': 'http://security.debian.org/', 'MIRROR': 'http://deb.debian.org/debian', 'primary': 'http://deb.debian.org/debian', 'SECURITY': 'http://security.debian.org/', 'PRIMARY': 'http://deb.debian.org/debian'}
2018-11-02 22:36:15,893 - cc_apt_configure.py[DEBUG]: debconf_selections was not set in config
2018-11-02 22:36:15,893 - handlers.py[DEBUG]: finish: modules-config/config-apt-configure: SUCCESS: config-apt-configure ran successfully
2018-11-02 22:36:15,893 - stages.py[DEBUG]: Running module ntp (<module 'cloudinit.config.cc_ntp' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ntp.py'>) with frequency once-per-instance
2018-11-02 22:36:15,893 - handlers.py[DEBUG]: start: modules-config/config-ntp: running config-ntp with frequency once-per-instance
2018-11-02 22:36:15,893 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ntp - wb: [420] 24 bytes
2018-11-02 22:36:15,894 - helpers.py[DEBUG]: Running config-ntp using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ntp'>)
2018-11-02 22:36:15,894 - cc_ntp.py[DEBUG]: Skipping module named ntp,not present or disabled by cfg
2018-11-02 22:36:15,894 - handlers.py[DEBUG]: finish: modules-config/config-ntp: SUCCESS: config-ntp ran successfully
2018-11-02 22:36:15,894 - stages.py[DEBUG]: Running module timezone (<module 'cloudinit.config.cc_timezone' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_timezone.py'>) with frequency once-per-instance
2018-11-02 22:36:15,894 - handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance
2018-11-02 22:36:15,895 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_timezone - wb: [420] 24 bytes
2018-11-02 22:36:15,895 - helpers.py[DEBUG]: Running config-timezone using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_timezone'>)
2018-11-02 22:36:15,895 - cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified
2018-11-02 22:36:15,895 - handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone ran successfully
2018-11-02 22:36:15,895 - stages.py[DEBUG]: Running module disable-ec2-metadata (<module 'cloudinit.config.cc_disable_ec2_metadata' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_disable_ec2_metadata.py'>) with frequency always
2018-11-02 22:36:15,895 - handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always
2018-11-02 22:36:15,900 - helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7f5d0a3f86d8>)
2018-11-02 22:36:15,900 - cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
2018-11-02 22:36:15,900 - handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully
2018-11-02 22:36:15,900 - stages.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py'>) with frequency once-per-instance
2018-11-02 22:36:15,900 - handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance
2018-11-02 22:36:15,900 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_runcmd - wb: [420] 24 bytes
2018-11-02 22:36:15,901 - helpers.py[DEBUG]: Running config-runcmd using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_runcmd'>)
2018-11-02 22:36:15,901 - cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration
2018-11-02 22:36:15,902 - handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd ran successfully
2018-11-02 22:36:15,902 - stages.py[DEBUG]: Running module byobu (<module 'cloudinit.config.cc_byobu' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_byobu.py'>) with frequency once-per-instance
2018-11-02 22:36:15,902 - handlers.py[DEBUG]: start: modules-config/config-byobu: running config-byobu with frequency once-per-instance
2018-11-02 22:36:15,902 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_byobu - wb: [420] 24 bytes
2018-11-02 22:36:15,903 - helpers.py[DEBUG]: Running config-byobu using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_byobu'>)
2018-11-02 22:36:15,903 - cc_byobu.py[DEBUG]: Skipping module named byobu, no 'byobu' values found
2018-11-02 22:36:15,911 - handlers.py[DEBUG]: finish: modules-config/config-byobu: SUCCESS: config-byobu ran successfully
2018-11-02 22:36:15,912 - main.py[DEBUG]: Ran 12 modules with 0 failures
2018-11-02 22:36:15,913 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2018-11-02 22:36:15,913 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2018-11-02 22:36:15,913 - util.py[DEBUG]: cloud-init mode 'modules' took 2.609 seconds (2.61)
2018-11-02 22:36:15,913 - handlers.py[DEBUG]: finish: modules-config: SUCCESS: running modules for config
2018-11-02 22:36:17,146 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'modules:final' at Fri, 02 Nov 2018 22:36:17 +0000. Up 11.13 seconds.
2018-11-02 22:36:17,175 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-02 22:36:17,176 - stages.py[DEBUG]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) with frequency once-per-instance
2018-11-02 22:36:17,176 - handlers.py[DEBUG]: start: modules-final/config-package-update-upgrade-install: running config-package-update-upgrade-install with frequency once-per-instance
2018-11-02 22:36:17,176 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_package_update_upgrade_install - wb: [420] 25 bytes
2018-11-02 22:36:17,177 - helpers.py[DEBUG]: Running config-package-update-upgrade-install using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_package_update_upgrade_install'>)
2018-11-02 22:36:17,177 - handlers.py[DEBUG]: finish: modules-final/config-package-update-upgrade-install: SUCCESS: config-package-update-upgrade-install ran successfully
2018-11-02 22:36:17,177 - stages.py[DEBUG]: Running module fan (<module 'cloudinit.config.cc_fan' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_fan.py'>) with frequency once-per-instance
2018-11-02 22:36:17,177 - handlers.py[DEBUG]: start: modules-final/config-fan: running config-fan with frequency once-per-instance
2018-11-02 22:36:17,177 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_fan - wb: [420] 25 bytes
2018-11-02 22:36:17,178 - helpers.py[DEBUG]: Running config-fan using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_fan'>)
2018-11-02 22:36:17,178 - cc_fan.py[DEBUG]: fan: no 'fan' config entry. disabling
2018-11-02 22:36:17,178 - handlers.py[DEBUG]: finish: modules-final/config-fan: SUCCESS: config-fan ran successfully
2018-11-02 22:36:17,178 - stages.py[DEBUG]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_puppet.py'>) with frequency once-per-instance
2018-11-02 22:36:17,178 - handlers.py[DEBUG]: start: modules-final/config-puppet: running config-puppet with frequency once-per-instance
2018-11-02 22:36:17,178 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_puppet - wb: [420] 25 bytes
2018-11-02 22:36:17,179 - helpers.py[DEBUG]: Running config-puppet using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_puppet'>)
2018-11-02 22:36:17,179 - cc_puppet.py[DEBUG]: Skipping module named puppet, no 'puppet' configuration found
2018-11-02 22:36:17,179 - handlers.py[DEBUG]: finish: modules-final/config-puppet: SUCCESS: config-puppet ran successfully
2018-11-02 22:36:17,179 - stages.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) with frequency once-per-instance
2018-11-02 22:36:17,179 - handlers.py[DEBUG]: start: modules-final/config-chef: running config-chef with frequency once-per-instance
2018-11-02 22:36:17,183 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_chef - wb: [420] 25 bytes
2018-11-02 22:36:17,184 - helpers.py[DEBUG]: Running config-chef using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_chef'>)
2018-11-02 22:36:17,184 - cc_chef.py[DEBUG]: Skipping module named chef, no 'chef' key in configuration
2018-11-02 22:36:17,184 - handlers.py[DEBUG]: finish: modules-final/config-chef: SUCCESS: config-chef ran successfully
2018-11-02 22:36:17,184 - stages.py[DEBUG]: Running module salt-minion (<module 'cloudinit.config.cc_salt_minion' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_salt_minion.py'>) with frequency once-per-instance
2018-11-02 22:36:17,184 - handlers.py[DEBUG]: start: modules-final/config-salt-minion: running config-salt-minion with frequency once-per-instance
2018-11-02 22:36:17,184 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_salt_minion - wb: [420] 25 bytes
2018-11-02 22:36:17,185 - helpers.py[DEBUG]: Running config-salt-minion using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_salt_minion'>)
2018-11-02 22:36:17,185 - cc_salt_minion.py[DEBUG]: Skipping module named salt-minion, no 'salt_minion' key in configuration
2018-11-02 22:36:17,185 - handlers.py[DEBUG]: finish: modules-final/config-salt-minion: SUCCESS: config-salt-minion ran successfully
2018-11-02 22:36:17,185 - stages.py[DEBUG]: Running module mcollective (<module 'cloudinit.config.cc_mcollective' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_mcollective.py'>) with frequency once-per-instance
2018-11-02 22:36:17,185 - handlers.py[DEBUG]: start: modules-final/config-mcollective: running config-mcollective with frequency once-per-instance
2018-11-02 22:36:17,185 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_mcollective - wb: [420] 25 bytes
2018-11-02 22:36:17,186 - helpers.py[DEBUG]: Running config-mcollective using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_mcollective'>)
2018-11-02 22:36:17,186 - cc_mcollective.py[DEBUG]: Skipping module named mcollective, no 'mcollective' key in configuration
2018-11-02 22:36:17,186 - handlers.py[DEBUG]: finish: modules-final/config-mcollective: SUCCESS: config-mcollective ran successfully
2018-11-02 22:36:17,186 - stages.py[DEBUG]: Running module rightscale_userdata (<module 'cloudinit.config.cc_rightscale_userdata' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_rightscale_userdata.py'>) with frequency once-per-instance
2018-11-02 22:36:17,186 - handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance
2018-11-02 22:36:17,186 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_rightscale_userdata - wb: [420] 25 bytes
2018-11-02 22:36:17,187 - helpers.py[DEBUG]: Running config-rightscale_userdata using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_rightscale_userdata'>)
2018-11-02 22:36:17,187 - cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata
2018-11-02 22:36:17,187 - handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata ran successfully
2018-11-02 22:36:17,187 - stages.py[DEBUG]: Running module scripts-vendor (<module 'cloudinit.config.cc_scripts_vendor' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_vendor.py'>) with frequency once-per-instance
2018-11-02 22:36:17,187 - handlers.py[DEBUG]: start: modules-final/config-scripts-vendor: running config-scripts-vendor with frequency once-per-instance
2018-11-02 22:36:17,187 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_vendor - wb: [420] 25 bytes
2018-11-02 22:36:17,192 - helpers.py[DEBUG]: Running config-scripts-vendor using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_vendor'>)
2018-11-02 22:36:17,192 - handlers.py[DEBUG]: finish: modules-final/config-scripts-vendor: SUCCESS: config-scripts-vendor ran successfully
2018-11-02 22:36:17,192 - stages.py[DEBUG]: Running module scripts-per-once (<module 'cloudinit.config.cc_scripts_per_once' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_once.py'>) with frequency once
2018-11-02 22:36:17,192 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once
2018-11-02 22:36:17,192 - helpers.py[DEBUG]: config-scripts-per-once already ran (freq=once)
2018-11-02 22:36:17,192 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once previously ran
2018-11-02 22:36:17,192 - stages.py[DEBUG]: Running module scripts-per-boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_boot.py'>) with frequency always
2018-11-02 22:36:17,193 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always
2018-11-02 22:36:17,193 - helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7f9a036adb70>)
2018-11-02 22:36:17,195 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully
2018-11-02 22:36:17,196 - stages.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_instance.py'>) with frequency once-per-instance
2018-11-02 22:36:17,196 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance
2018-11-02 22:36:17,196 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_per_instance - wb: [420] 25 bytes
2018-11-02 22:36:17,196 - helpers.py[DEBUG]: Running config-scripts-per-instance using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_per_instance'>)
2018-11-02 22:36:17,197 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: SUCCESS: config-scripts-per-instance ran successfully
2018-11-02 22:36:17,197 - stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) with frequency once-per-instance
2018-11-02 22:36:17,197 - handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance
2018-11-02 22:36:17,197 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_user - wb: [420] 25 bytes
2018-11-02 22:36:17,198 - helpers.py[DEBUG]: Running config-scripts-user using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_scripts_user'>)
2018-11-02 22:36:17,198 - handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user ran successfully
2018-11-02 22:36:17,198 - stages.py[DEBUG]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py'>) with frequency once-per-instance
2018-11-02 22:36:17,198 - handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance
2018-11-02 22:36:17,198 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh_authkey_fingerprints - wb: [420] 25 bytes
2018-11-02 22:36:17,199 - helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_ssh_authkey_fingerprints'>)
2018-11-02 22:36:17,199 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
2018-11-02 22:36:17,199 - util.py[DEBUG]: Read 3344 bytes from /etc/ssh/sshd_config
2018-11-02 22:36:17,204 - util.py[DEBUG]: Reading from /home/admin/.ssh/authorized_keys (quiet=False)
2018-11-02 22:36:17,204 - util.py[DEBUG]: Read 404 bytes from /home/admin/.ssh/authorized_keys
2018-11-02 22:36:17,239 - handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints ran successfully
2018-11-02 22:36:17,239 - stages.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_keys_to_console.py'>) with frequency once-per-instance
2018-11-02 22:36:17,239 - handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance
2018-11-02 22:36:17,239 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_keys_to_console - wb: [420] 25 bytes
2018-11-02 22:36:17,243 - helpers.py[DEBUG]: Running config-keys-to-console using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_keys_to_console'>)
2018-11-02 22:36:17,247 - 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-11-02 22:36:17,368 - handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console ran successfully
2018-11-02 22:36:17,368 - stages.py[DEBUG]: Running module phone-home (<module 'cloudinit.config.cc_phone_home' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_phone_home.py'>) with frequency once-per-instance
2018-11-02 22:36:17,368 - handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance
2018-11-02 22:36:17,368 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_phone_home - wb: [420] 24 bytes
2018-11-02 22:36:17,369 - helpers.py[DEBUG]: Running config-phone-home using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_phone_home'>)
2018-11-02 22:36:17,369 - cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found
2018-11-02 22:36:17,369 - handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home ran successfully
2018-11-02 22:36:17,369 - stages.py[DEBUG]: Running module final-message (<module 'cloudinit.config.cc_final_message' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_final_message.py'>) with frequency always
2018-11-02 22:36:17,370 - handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always
2018-11-02 22:36:17,370 - helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7f9a03648048>)
2018-11-02 22:36:17,370 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2018-11-02 22:36:17,370 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2018-11-02 22:36:17,377 - util.py[DEBUG]: Cloud-init v. 0.7.9 finished at Fri, 02 Nov 2018 22:36:17 +0000. Datasource DataSourceEc2.  Up 11.46 seconds
2018-11-02 22:36:17,377 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [420] 51 bytes
2018-11-02 22:36:17,377 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
2018-11-02 22:36:17,378 - stages.py[DEBUG]: Running module power-state-change (<module 'cloudinit.config.cc_power_state_change' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_power_state_change.py'>) with frequency once-per-instance
2018-11-02 22:36:17,378 - handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance
2018-11-02 22:36:17,378 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/sem/config_power_state_change - wb: [420] 23 bytes
2018-11-02 22:36:17,378 - helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/lib/cloud/instances/i-07aba3566e7114097/sem/config_power_state_change'>)
2018-11-02 22:36:17,378 - cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
2018-11-02 22:36:17,378 - handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change ran successfully
2018-11-02 22:36:17,379 - main.py[DEBUG]: Ran 17 modules with 0 failures
2018-11-02 22:36:17,379 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
2018-11-02 22:36:17,379 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2018-11-02 22:36:17,384 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2018-11-02 22:36:17,384 - util.py[DEBUG]: cloud-init mode 'modules' took 0.338 seconds (0.34)
2018-11-02 22:36:17,384 - handlers.py[DEBUG]: finish: modules-final: SUCCESS: running modules for final
2018-11-04 03:04:36,396 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init-local' at Sun, 04 Nov 2018 03:04:36 +0000. Up 2.46 seconds.
2018-11-04 03:04:36,399 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2018-11-04 03:04:36,399 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:4
2018-11-04 03:04:36,400 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2018-11-04 03:04:36,400 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2018-11-04 03:04:36,400 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
2018-11-04 03:04:36,400 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2018-11-04 03:04:36,401 - util.py[DEBUG]: Read 6070 bytes from /var/lib/cloud/instance/obj.pkl
2018-11-04 03:04:36,405 - stages.py[DEBUG]: cache invalid in datasource: DataSourceEc2
2018-11-04 03:04:36,406 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: cache invalid in datasource: DataSourceEc2
2018-11-04 03:04:36,406 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2018-11-04 03:04:36,409 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-04 03:04:36,409 - __init__.py[DEBUG]: Looking for for data source in: ['Ec2'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2018-11-04 03:04:36,409 - __init__.py[DEBUG]: Searching for local data source in: []
2018-11-04 03:04:36,409 - main.py[DEBUG]: No local datasource found
2018-11-04 03:04:36,410 - stages.py[DEBUG]: network config disabled by system_cfg
2018-11-04 03:04:36,410 - stages.py[INFO]: network config is disabled by system_cfg
2018-11-04 03:04:36,410 - main.py[DEBUG]: [local] Exiting without datasource in local mode
2018-11-04 03:04:36,410 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2018-11-04 03:04:36,410 - util.py[DEBUG]: Read 10 bytes from /proc/uptime
2018-11-04 03:04:36,410 - util.py[DEBUG]: cloud-init mode 'init' took 0.054 seconds (0.05)
2018-11-04 03:04:36,411 - handlers.py[DEBUG]: finish: init-local: SUCCESS: searching for local datasources
2018-11-04 03:04:38,977 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init' at Sun, 04 Nov 2018 03:04:38 +0000. Up 5.06 seconds.
2018-11-04 03:04:38,979 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2018-11-04 03:04:38,980 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:4
2018-11-04 03:04:38,980 - util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
2018-11-04 03:04:38,986 - util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
2018-11-04 03:04:38,991 - util.py[DEBUG]: Running command ['netstat', '-A', 'inet6', '-n'] with allowed return codes [0] (shell=False, capture=True)
2018-11-04 03:04:38,994 - 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-11-04 03:04:38,994 - main.py[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early.
2018-11-04 03:04:38,994 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust]
2018-11-04 03:04:38,994 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2018-11-04 03:04:38,994 - stages.py[DEBUG]: no cache found
2018-11-04 03:04:38,994 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: no cache found
2018-11-04 03:04:38,994 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2018-11-04 03:04:38,996 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-04 03:04:38,996 - __init__.py[DEBUG]: Looking for for data source in: ['Ec2'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2018-11-04 03:04:38,998 - __init__.py[DEBUG]: Searching for network data source in: ['DataSourceEc2']
2018-11-04 03:04:38,999 - handlers.py[DEBUG]: start: init-network/search-Ec2: searching for network data from DataSourceEc2
2018-11-04 03:04:38,999 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceEc2.DataSourceEc2'>
2018-11-04 03:04:38,999 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/ec2/meta-data (quiet=False)
2018-11-04 03:04:39,059 - DataSourceEc2.py[DEBUG]: Removed the following from metadata urls: ['http://instance-data.:8773']
2018-11-04 03:04:39,060 - url_helper.py[DEBUG]: [0/1] open 'http://169.254.169.254/2009-04-04/meta-data/instance-id' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-id', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 50.0} configuration
2018-11-04 03:04:39,069 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/instance-id (200, 19b) after 1 attempts
2018-11-04 03:04:39,069 - DataSourceEc2.py[DEBUG]: Using metadata source: 'http://169.254.169.254'
2018-11-04 03:04:39,069 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/user-data' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/user-data', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,071 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/user-data (200, 597b) after 1 attempts
2018-11-04 03:04:39,071 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,074 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/ (200, 203b) after 1 attempts
2018-11-04 03:04:39,074 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,077 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/ (200, 8b) after 1 attempts
2018-11-04 03:04:39,078 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/root' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/root', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,080 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/root (200, 4b) after 1 attempts
2018-11-04 03:04:39,080 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/ami' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/ami', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,082 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/block-device-mapping/ami (200, 4b) after 1 attempts
2018-11-04 03:04:39,082 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/placement/' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/placement/', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,085 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/placement/ (200, 17b) after 1 attempts
2018-11-04 03:04:39,085 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/placement/availability-zone' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/placement/availability-zone', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,087 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/placement/availability-zone (200, 10b) after 1 attempts
2018-11-04 03:04:39,087 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/public-keys/' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/public-keys/', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,090 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/public-keys/ (200, 24b) after 1 attempts
2018-11-04 03:04:39,090 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/public-keys/0/openssh-key' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/public-keys/0/openssh-key', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,092 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/public-keys/0/openssh-key (200, 404b) after 1 attempts
2018-11-04 03:04:39,092 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/instance-action' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-action', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,094 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/instance-action (200, 4b) after 1 attempts
2018-11-04 03:04:39,095 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/profile' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/profile', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,097 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/profile (200, 11b) after 1 attempts
2018-11-04 03:04:39,097 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/ami-id' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/ami-id', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,099 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/ami-id (200, 12b) after 1 attempts
2018-11-04 03:04:39,100 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/ami-manifest-path' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/ami-manifest-path', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,102 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/ami-manifest-path (200, 9b) after 1 attempts
2018-11-04 03:04:39,102 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/ami-launch-index' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/ami-launch-index', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,105 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/ami-launch-index (200, 1b) after 1 attempts
2018-11-04 03:04:39,105 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/instance-type' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-type', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,107 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/instance-type (200, 8b) after 1 attempts
2018-11-04 03:04:39,107 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/reservation-id' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/reservation-id', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,109 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/reservation-id (200, 19b) after 1 attempts
2018-11-04 03:04:39,110 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/security-groups' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/security-groups', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,112 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/security-groups (200, 7b) after 1 attempts
2018-11-04 03:04:39,113 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/instance-id' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-id', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,115 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/instance-id (200, 19b) after 1 attempts
2018-11-04 03:04:39,115 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/local-hostname' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/local-hostname', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,117 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/local-hostname (200, 28b) after 1 attempts
2018-11-04 03:04:39,118 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/local-ipv4' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/local-ipv4', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,120 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/local-ipv4 (200, 12b) after 1 attempts
2018-11-04 03:04:39,120 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2009-04-04/meta-data/hostname' with {'allow_redirects': True, 'url': 'http://169.254.169.254/2009-04-04/meta-data/hostname', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'timeout': 5.0} configuration
2018-11-04 03:04:39,122 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2009-04-04/meta-data/hostname (200, 28b) after 1 attempts
2018-11-04 03:04:39,122 - DataSourceEc2.py[DEBUG]: Crawl of metadata service took 0 seconds
2018-11-04 03:04:39,123 - handlers.py[DEBUG]: finish: init-network/search-Ec2: SUCCESS: found network data from DataSourceEc2
2018-11-04 03:04:39,123 - stages.py[INFO]: Loaded datasource DataSourceEc2 - DataSourceEc2
2018-11-04 03:04:39,123 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2018-11-04 03:04:39,123 - util.py[DEBUG]: Read 2518 bytes from /etc/cloud/cloud.cfg
2018-11-04 03:04:39,123 - util.py[DEBUG]: Attempting to load yaml from string of length 2518 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,133 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg (quiet=False)
2018-11-04 03:04:39,133 - util.py[DEBUG]: Read 28 bytes from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
2018-11-04 03:04:39,133 - util.py[DEBUG]: Attempting to load yaml from string of length 28 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,134 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
2018-11-04 03:04:39,134 - util.py[DEBUG]: Read 87 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
2018-11-04 03:04:39,134 - util.py[DEBUG]: Attempting to load yaml from string of length 87 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,134 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2018-11-04 03:04:39,134 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2018-11-04 03:04:39,135 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,138 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg (quiet=False)
2018-11-04 03:04:39,138 - util.py[DEBUG]: Read 336 bytes from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg
2018-11-04 03:04:39,138 - util.py[DEBUG]: Attempting to load yaml from string of length 336 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,141 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_debian.cfg (quiet=False)
2018-11-04 03:04:39,141 - util.py[DEBUG]: Read 93 bytes from /etc/cloud/cloud.cfg.d/00_debian.cfg
2018-11-04 03:04:39,141 - util.py[DEBUG]: Attempting to load yaml from string of length 93 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,142 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,142 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-04 03:04:39,143 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2018-11-04 03:04:39,143 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/i-07aba3566e7114097'
2018-11-04 03:04:39,144 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/i-07aba3566e7114097/datasource (quiet=False)
2018-11-04 03:04:39,145 - util.py[DEBUG]: Read 29 bytes from /var/lib/cloud/instances/i-07aba3566e7114097/datasource
2018-11-04 03:04:39,145 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/datasource - wb: [420] 29 bytes
2018-11-04 03:04:39,145 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 29 bytes
2018-11-04 03:04:39,146 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
2018-11-04 03:04:39,146 - util.py[DEBUG]: Read 20 bytes from /var/lib/cloud/data/instance-id
2018-11-04 03:04:39,146 - stages.py[DEBUG]: previous iid found to be i-07aba3566e7114097
2018-11-04 03:04:39,146 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 20 bytes
2018-11-04 03:04:39,147 - util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 20 bytes
2018-11-04 03:04:39,147 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 20 bytes
2018-11-04 03:04:39,148 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 6526 bytes
2018-11-04 03:04:39,148 - main.py[DEBUG]: [net] init will now be targeting instance id: i-07aba3566e7114097. new=False
2018-11-04 03:04:39,149 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
2018-11-04 03:04:39,149 - util.py[DEBUG]: Read 2518 bytes from /etc/cloud/cloud.cfg
2018-11-04 03:04:39,149 - util.py[DEBUG]: Attempting to load yaml from string of length 2518 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,158 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg (quiet=False)
2018-11-04 03:04:39,158 - util.py[DEBUG]: Read 28 bytes from /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
2018-11-04 03:04:39,159 - util.py[DEBUG]: Attempting to load yaml from string of length 28 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,159 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
2018-11-04 03:04:39,159 - util.py[DEBUG]: Read 87 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
2018-11-04 03:04:39,159 - util.py[DEBUG]: Attempting to load yaml from string of length 87 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,160 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2018-11-04 03:04:39,160 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
2018-11-04 03:04:39,160 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,163 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg (quiet=False)
2018-11-04 03:04:39,163 - util.py[DEBUG]: Read 336 bytes from /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg
2018-11-04 03:04:39,163 - util.py[DEBUG]: Attempting to load yaml from string of length 336 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,166 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_debian.cfg (quiet=False)
2018-11-04 03:04:39,166 - util.py[DEBUG]: Read 93 bytes from /etc/cloud/cloud.cfg.d/00_debian.cfg
2018-11-04 03:04:39,166 - util.py[DEBUG]: Attempting to load yaml from string of length 93 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,167 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,167 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-04 03:04:39,168 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-11-04 03:04:39,168 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
2018-11-04 03:04:39,168 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
2018-11-04 03:04:39,168 - util.py[DEBUG]: load_yaml given empty string, returning default
2018-11-04 03:04:39,169 - stages.py[DEBUG]: network config disabled by system_cfg
2018-11-04 03:04:39,169 - stages.py[INFO]: network config is disabled by system_cfg
2018-11-04 03:04:39,169 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/user-data.txt - wb: [384] 597 bytes
2018-11-04 03:04:39,173 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/user-data.txt.i - wb: [384] 903 bytes
2018-11-04 03:04:39,174 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/vendor-data.txt - wb: [384] 0 bytes
2018-11-04 03:04:39,175 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/vendor-data.txt.i - wb: [384] 308 bytes
2018-11-04 03:04:39,176 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.debian.Distro'>
2018-11-04 03:04:39,177 - helpers.py[DEBUG]: consume_data already ran (freq=once-per-instance)
2018-11-04 03:04:39,177 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data
2018-11-04 03:04:39,177 - launch_index.py[DEBUG]: Discarding 0 multipart messages which do not match launch index 0
2018-11-04 03:04:39,178 - stages.py[DEBUG]: Added default handler for {'text/cloud-config', 'text/cloud-config-jsonp'} from CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']]
2018-11-04 03:04:39,178 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript'} from ShellScriptPartHandler: [['text/x-shellscript']]
2018-11-04 03:04:39,178 - stages.py[DEBUG]: Added default handler for {'text/cloud-boothook'} from BootHookPartHandler: [['text/cloud-boothook']]
2018-11-04 03:04:39,178 - stages.py[DEBUG]: Added default handler for {'text/upstart-job'} from UpstartJobPartHandler: [['text/upstart-job']]
2018-11-04 03:04:39,178 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] (__begin__, None, 3) with frequency always
2018-11-04 03:04:39,178 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency always
2018-11-04 03:04:39,178 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency always
2018-11-04 03:04:39,179 - __init__.py[DEBUG]: {'MIME-Version': '1.0', 'Content-Type': 'text/x-shellscript', 'Content-Disposition': 'attachment; filename="part-001"'}
2018-11-04 03:04:39,179 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency always
2018-11-04 03:04:39,179 - util.py[WARNING]: Failed calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency always
2018-11-04 03:04:39,185 - util.py[DEBUG]: Failed calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency always
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cloudinit/handlers/__init__.py", line 103, in run_part
    payload, frequency)
  File "/usr/lib/python3/dist-packages/cloudinit/handlers/shell_script.py", line 43, in handle_part
    util.write_file(path, payload, 0o700)
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1747, in write_file
    content = encode_text(content)
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 154, in encode_text
    return text.encode(encoding)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udca9' in position 14: surrogates not allowed
2018-11-04 03:04:39,192 - __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config-jsonp', 'text/cloud-config']] (__end__, None, 3) with frequency always
2018-11-04 03:04:39,192 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-07aba3566e7114097/cloud-config.txt - wb: [384] 0 bytes
2018-11-04 03:04:39,193 - __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency always
2018-11-04 03:04:39,193 - __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency always
2018-11-04 03:04:39,193 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data
...
2018-11-04 03:04:39,194 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data

Reply to: