Skip to content

Instantly share code, notes, and snippets.

@jtzl
Created September 23, 2013 23:22
Show Gist options
  • Save jtzl/6678363 to your computer and use it in GitHub Desktop.
Save jtzl/6678363 to your computer and use it in GitHub Desktop.
chef run, lxc cookbook hangs
[2013-09-23T19:57:34+00:00] INFO: Forking chef instance to converge...
[2013-09-23T19:57:34+00:00] INFO: *** Chef 11.6.0 ***
[2013-09-23T19:57:34+00:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2013-09-23T19:57:35+00:00] INFO: Setting the run_list to ["recipe[lxc]", "recipe[lxc::containers]", "recipe[build_lxc::default]"] from JSON
[2013-09-23T19:57:35+00:00] INFO: Run List is [recipe[lxc], recipe[lxc::containers], recipe[build_lxc::default]]
[2013-09-23T19:57:35+00:00] INFO: Run List expands to [lxc, lxc::containers, build_lxc::default]
[2013-09-23T19:57:35+00:00] INFO: Starting Chef Run for test-kitchen-client-20130923195620
[2013-09-23T19:57:35+00:00] INFO: Running start handlers
[2013-09-23T19:57:35+00:00] INFO: Start handlers complete.
[2013-09-23T19:57:35+00:00] INFO: Loading cookbooks [build_lxc, dpkg_autostart, lxc]
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/service.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/config.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/container.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/fstab.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/default.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/interface.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/resources/ephemeral.rb in the cache.
[2013-09-23T19:57:35+00:00] INFO: Storing updated cookbooks/lxc/providers/service.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/config.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/container.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/fstab.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/default.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/interface.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/providers/ephemeral.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/recipes/containers.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/recipes/install_dependencies.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/recipes/default.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/recipes/knife.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/libraries/monkey.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/libraries/lxc_expanded_resources.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/attributes/default.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/README.md in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/.kitchen.yml in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/metadata.json in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/metadata.rb in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/.gitignore in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/Gemfile in the cache.
[2013-09-23T19:57:36+00:00] INFO: Storing updated cookbooks/lxc/Vagrantfile in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/lxc/CHANGELOG.md in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/lxc/Gemfile.lock in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/recipes/default.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/attributes/default.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/README.md in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/metadata.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/Berksfile.lock in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/CHANGELOG.md in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/build_lxc/Berksfile in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/recipes/default.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/libraries/resource.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/libraries/provider.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/attributes/default.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/README.md in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/metadata.json in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/metadata.rb in the cache.
[2013-09-23T19:57:37+00:00] INFO: Storing updated cookbooks/dpkg_autostart/CHANGELOG.md in the cache.
apt-cacher-ng: unrecognized service
[2013-09-23T19:57:44+00:00] INFO: template[dpkg_autostart_file] created file /usr/sbin/policy-rc.d
[2013-09-23T19:57:44+00:00] INFO: template[dpkg_autostart_file] updated file contents /usr/sbin/policy-rc.d
[2013-09-23T19:57:44+00:00] INFO: template[dpkg_autostart_file] mode changed to 755
[2013-09-23T19:57:44+00:00] INFO: template[/etc/default/lxc] created file /etc/default/lxc
[2013-09-23T19:57:44+00:00] INFO: template[/etc/default/lxc] updated file contents /etc/default/lxc
[2013-09-23T19:57:44+00:00] INFO: template[/etc/default/lxc] mode changed to 644
[2013-09-23T19:58:06+00:00] INFO: service[lxc-net] enabled
[2013-09-23T19:58:06+00:00] INFO: service[lxc-net] started
[2013-09-23T19:58:06+00:00] INFO: service[lxc] enabled
[2013-09-23T19:58:06+00:00] INFO: directory[/opt/hw-lxc-config] created directory /opt/hw-lxc-config
[2013-09-23T19:58:06+00:00] INFO: execute[lxc host_ssh_key] ran successfully
[2013-09-23T20:01:52+00:00] INFO: execute[LXC Create: ubuntu_1204] ran successfully
[2013-09-23T20:01:53+00:00] INFO: file[lxc update_config[ubuntu_1204]] backed up to /var/chef/backup/var/lib/lxc/ubuntu_1204/config.chef-20130923200153
[2013-09-23T20:01:53+00:00] INFO: file[lxc update_config[ubuntu_1204]] updated file contents /var/lib/lxc/ubuntu_1204/config
[2013-09-23T20:01:53+00:00] INFO: ruby_block[LXC ubuntu_1204 - Run subresources] called
[2013-09-23T20:01:53+00:00] INFO: directory[/var/lib/lxc/ubuntu_1204/rootfs/opt/file_store] created directory /var/lib/lxc/ubuntu_1204/rootfs/opt/file_store
[2013-09-23T20:01:54+00:00] INFO: template[/var/lib/lxc/ubuntu_1204/fstab] backed up to /var/chef/backup/var/lib/lxc/ubuntu_1204/fstab.chef-20130923200154
[2013-09-23T20:01:54+00:00] INFO: template[/var/lib/lxc/ubuntu_1204/fstab] updated file contents /var/lib/lxc/ubuntu_1204/fstab
[2013-09-23T20:01:54+00:00] INFO: directory[/var/lib/lxc/ubuntu_1204/rootfs/root/.ssh] created directory /var/lib/lxc/ubuntu_1204/rootfs/root/.ssh
[2013-09-23T20:01:54+00:00] INFO: template[/var/lib/lxc/ubuntu_1204/rootfs/root/.ssh/authorized_keys] created file /var/lib/lxc/ubuntu_1204/rootfs/root/.ssh/authorized_keys
[2013-09-23T20:01:54+00:00] INFO: template[/var/lib/lxc/ubuntu_1204/rootfs/root/.ssh/authorized_keys] updated file contents /var/lib/lxc/ubuntu_1204/rootfs/root/.ssh/authorized_keys
[2013-09-23T20:01:54+00:00] INFO: template[/var/lib/lxc/ubuntu_1204/rootfs/root/.ssh/authorized_keys] mode changed to 600
[2013-09-23T20:01:54+00:00] INFO: ruby_block[lxc lock_default_users] called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment