Skip to content

Instantly share code, notes, and snippets.

@slyness
Created June 18, 2013 17:33
Show Gist options
  • Save slyness/5807528 to your computer and use it in GitHub Desktop.
Save slyness/5807528 to your computer and use it in GitHub Desktop.
vagabond init error
Aarons-MacBook-Air :: hw/private-docs/ninefold ‹master› » cat jira.md * https://jira.ninefold.com* user: chris@hw-ops.com* https://jira.ninefold.com* user: chris@hw-ops.com
17: Array(val[:routes]).map do |route|
18: if(route[:family] == 'inet' && route[:destination].start_with?('10.0'))
19: route[:destination].split('/').first.split('.')[3].to_i
20: end
21: end
22: end.compact.max
23:
24>> node.default[:vagabond][:lxc_network][:oct] = max ? max + 1 : 0
25:
26: # Test for existing bridge. Use different subnet if found
27: l_net = "10.0.#{node[:vagabond][:lxc_network][:oct]}"
28:
29: node.set[:lxc][:addr] = "#{l_net}.1"
30: node.set[:lxc][:network] = "#{l_net}.0/24"
31: node.set[:lxc][:dhcp_range] = "#{l_net}.2,#{l_net}.199"
32: node.set[:lxc][:dhcp_max] = '199'
33: end
[2013-06-18T10:31:48-07:00] ERROR: Running exception handlers
[2013-06-18T10:31:48-07:00] ERROR: Exception handlers complete
[2013-06-18T10:31:48-07:00] FATAL: Stacktrace dumped to /tmp/vagabond/solos/Users/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/chef_cache/chef-stacktrace.out
[2013-06-18T10:31:48-07:00] FATAL: TypeError: can't convert Fixnum into Array
STDERR:
---- End output of sudo chef-solo -j /tmp/vagabond/solos/Users/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/dna.json -c /tmp/vagabond/solos/Users/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/solo.rb ----
Ran sudo chef-solo -j /tmp/vagabond/solos/Users/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/dna.json -c /tmp/vagabond/solos/Users/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/solo.rb returned 1 -> FAILED!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment