| [root@redis-027aa9b28c65d8998 ~]# cat data.yml | |
| #cloud-config | |
| fs_setup: | |
| filesystem: ext4 | |
| device: /dev/xvdj | |
| [root@redis-027aa9b28c65d8998 ~]# rm -f /var/log/cloud-init.log && rm -f /var/log/cloud-init-output.log | |
| [root@redis-027aa9b28c65d8998 ~]# cloud-init --debug --force --file data.yml single --name disk_setup --frequency always —report | |
| 2017-06-01 21:52:22,608 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) | |
| 2017-06-01 21:52:22,608 - util.py[DEBUG]: Read 16 bytes from /proc/uptime | |
| 2017-06-01 21:52:22,608 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) | |
| 2017-06-01 21:52:22,608 - util.py[DEBUG]: Read 16 bytes from /proc/uptime | |
| 2017-06-01 21:52:22,608 - templater.py[DEBUG]: Using Cheetah as the renderer for unknown template. | |
| 2017-06-01 21:52:22,615 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) | |
| 2017-06-01 21:52:22,616 - util.py[DEBUG]: Read 2816 bytes from /etc/cloud/cloud.cfg | |
| 2017-06-01 21:52:22,616 - util.py[DEBUG]: Attempting to load yaml from string of length 2816 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,626 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
| 2017-06-01 21:52:22,626 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg | |
| 2017-06-01 21:52:22,626 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,631 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) | |
| 2017-06-01 21:52:22,631 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True) | |
| 2017-06-01 21:52:22,633 - util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True) | |
| 2017-06-01 21:52:22,636 - util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True) | |
| 2017-06-01 21:52:22,639 - util.py[DEBUG]: Reading from /proc/1/environ (quiet=False) | |
| 2017-06-01 21:52:22,639 - util.py[DEBUG]: Read 0 bytes from /proc/1/environ | |
| 2017-06-01 21:52:22,639 - util.py[DEBUG]: Reading from /proc/self/status (quiet=False) | |
| 2017-06-01 21:52:22,639 - util.py[DEBUG]: Read 1143 bytes from /proc/self/status | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Reading from /proc/cmdline (quiet=False) | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Read 193 bytes from /proc/cmdline | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: load_yaml given empty string, returning default | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Reading from /root/data.yml (quiet=False) | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Read 67 bytes from /root/data.yml | |
| 2017-06-01 21:52:22,640 - util.py[DEBUG]: Attempting to load yaml from string of length 67 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,641 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
| 2017-06-01 21:52:22,641 - util.py[DEBUG]: Read 316 bytes from /var/lib/cloud/instance/cloud-config.txt | |
| 2017-06-01 21:52:22,641 - util.py[DEBUG]: Attempting to load yaml from string of length 316 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,644 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) | |
| 2017-06-01 21:52:22,645 - util.py[DEBUG]: Read 6091 bytes from /var/lib/cloud/instance/obj.pkl | |
| 2017-06-01 21:52:22,653 - stages.py[DEBUG]: restored from cache: DataSourceEc2 | |
| 2017-06-01 21:52:22,653 - main.py[DEBUG]: Using passed in arguments ['\xe2\x80\x94report'] | |
| 2017-06-01 21:52:22,653 - main.py[DEBUG]: Using passed in frequency always | |
| 2017-06-01 21:52:22,653 - main.py[DEBUG]: Closing stdin | |
| 2017-06-01 21:52:22,654 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False) | |
| 2017-06-01 21:52:22,654 - util.py[DEBUG]: Read 2816 bytes from /etc/cloud/cloud.cfg | |
| 2017-06-01 21:52:22,654 - util.py[DEBUG]: Attempting to load yaml from string of length 2816 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,664 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
| 2017-06-01 21:52:22,664 - util.py[DEBUG]: Read 2057 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg | |
| 2017-06-01 21:52:22,664 - util.py[DEBUG]: Attempting to load yaml from string of length 2057 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,668 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) | |
| 2017-06-01 21:52:22,669 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,669 - util.py[DEBUG]: load_yaml given empty string, returning default | |
| 2017-06-01 21:52:22,669 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
| 2017-06-01 21:52:22,669 - util.py[DEBUG]: Read 316 bytes from /var/lib/cloud/instance/cloud-config.txt | |
| 2017-06-01 21:52:22,669 - util.py[DEBUG]: Attempting to load yaml from string of length 316 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,672 - util.py[DEBUG]: Reading from /root/data.yml (quiet=False) | |
| 2017-06-01 21:52:22,672 - util.py[DEBUG]: Read 67 bytes from /root/data.yml | |
| 2017-06-01 21:52:22,672 - util.py[DEBUG]: Attempting to load yaml from string of length 67 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,673 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
| 2017-06-01 21:52:22,673 - util.py[DEBUG]: Read 316 bytes from /var/lib/cloud/instance/cloud-config.txt | |
| 2017-06-01 21:52:22,673 - util.py[DEBUG]: Attempting to load yaml from string of length 316 with allowed root types (<type 'dict'>,) | |
| 2017-06-01 21:52:22,676 - util.py[DEBUG]: Redirecting <open file '<stdout>', mode 'w' at 0x7f6303a28150> to | tee -a /var/log/cloud-init-output.log | |
| 2017-06-01 21:52:22,679 - util.py[DEBUG]: Redirecting <open file '<stderr>', mode 'w' at 0x7f6303a281e0> to | tee -a /var/log/cloud-init-output.log | |
| 2017-06-01 21:52:22,679 - main.py[DEBUG]: Logging being reset, this logger may no longer be active shortly | |
| Cloud-init v. 0.7.9 running 'single' at Thu, 01 Jun 2017 21:52:22 +0000. Up 1202.37 seconds. | |
| [root@redis-027aa9b28c65d8998 ~]# cat /var/log/cloud-init.log | |
| 2017-06-01 21:52:22,682 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'single' at Thu, 01 Jun 2017 21:52:22 +0000. Up 1202.37 seconds. | |
| 2017-06-01 21:52:22,684 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.fedora.Distro'> | |
| 2017-06-01 21:52:22,684 - stages.py[DEBUG]: Running module disk_setup (<module 'cloudinit.config.cc_disk_setup' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_disk_setup.pyc'>) with frequency always | |
| 2017-06-01 21:52:22,684 - helpers.py[DEBUG]: Running config-disk_setup using lock (<cloudinit.helpers.DummyLock object at 0x28cbed0>) | |
| 2017-06-01 21:52:22,684 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) | |
| 2017-06-01 21:52:22,684 - util.py[DEBUG]: Read 16 bytes from /proc/uptime | |
| 2017-06-01 21:52:22,684 - util.py[DEBUG]: cloud-init mode 'single' took 0.076 seconds (0.07) | |
| [root@redis-027aa9b28c65d8998 ~]# cat /var/log/cloud-init-output.log | |
| 2017-06-01 21:52:22,679 - main.py[DEBUG]: Logging being reset, this logger may no longer be active shortly | |
| Cloud-init v. 0.7.9 running 'single' at Thu, 01 Jun 2017 21:52:22 +0000. Up 1202.37 seconds. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment