Skip to content

Instantly share code, notes, and snippets.

@slyness
Created January 7, 2014 00:02
Show Gist options
  • Save slyness/8292328 to your computer and use it in GitHub Desktop.
Save slyness/8292328 to your computer and use it in GitHub Desktop.
vagrant 1.4.2
vagabond 0.2.10
.vagabond/Cheffile
site 'http://community.opscode.com/api/v1'
cookbook 'vagabond', '1.0.4'
cookbook 'lxc', '1.1.4'
cookbook 'chef-server-populator', '0.3.0'
cookbook 'chef-server', '2.0.0'%
building the base runing bundle exec vagabond statu
return:
[2014-01-06T15:50:17-08:00] INFO: Processing lxc_config[ubuntu_1204] action create (/home/aaronb/Planet/ninefold/ninefold-test/.vagabond/cookbooks/lxc/providers/container.rb line 54)
================================================================================
Error executing action `create` on resource 'lxc_config[ubuntu_1204]'
================================================================================
NoMethodError
-------------
undefined method `each' for Chef::Resource::LxcConfig
Cookbook Trace:
---------------
/home/aaronb/Planet/ninefold/ninefold-test/.vagabond/cookbooks/lxc/providers/config.rb:77:in `block (2 levels) in class_from_file'
/home/aaronb/Planet/ninefold/ninefold-test/.vagabond/cookbooks/lxc/providers/config.rb:75:in `block in class_from_file'
Resource Declaration:
---------------------
# In /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/cookbooks/lxc/providers/container.rb
54: lxc_config new_resource.name do
55: action :create
56: default_bridge new_resource.default_bridge
57: end
58: end
Compiled Resource:
------------------
# Declared in /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/cookbooks/lxc/providers/container.rb:54:in `block in class_from_file'
lxc_config("ubuntu_1204") do
action [:create]
retries 0
retry_delay 2
cookbook_name :vagabond
default_bridge "lxcbr0"
utsname "ubuntu_1204"
rootfs "/var/lib/lxc/ubuntu_1204/rootfs"
mount "/var/lib/lxc/ubuntu_1204/fstab"
network {"type"=>"veth", "link"=>"lxcbr0", "flags"=>"up", "hwaddr"=>"00:16:3e:b8:07:97"}
cgroup {"devices.deny"=>"a", "devices.allow"=>["c *:* m", "b *:* m", "c 1:3 rwm", "c 1:5 rwm", "c 5:1 rwm", "c 5:0 rwm", "c 1:9 rwm", "c 1:8 rwm", "c 136:* rwm", "c 5:2 rwm", "c 254:0 rwm", "c 10:229 rwm", "c 10:200 rwm", "c 1:7 rwm", "c 10:228 rwm", "c 10:232 rwm"]}
end
[2014-01-06T15:50:17-08:00] INFO: Running queued delayed notifications before re-raising exception
[2014-01-06T15:50:17-08:00] ERROR: Running exception handlers
[2014-01-06T15:50:17-08:00] ERROR: Exception handlers complete
[2014-01-06T15:50:17-08:00] FATAL: Stacktrace dumped to /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/chef_cache/chef-stacktrace.out
[2014-01-06T15:50:17-08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
STDERR:
---- End output of rvmsudo bundle exec chef-solo -j /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/dna.json -c /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/solo.rb ----
Ran rvmsudo bundle exec chef-solo -j /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/dna.json -c /home/aaronb/Planet/ninefold/ninefold-test/.vagabond/solo.rb returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment