Created
June 19, 2013 17:37
-
-
Save slyness/5816223 to your computer and use it in GitHub Desktop.
vagabond init Failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GreenLantern :: Planet/ninefold/ninefold-vagabond » vagabond init 1 ↵ | |
Ensuring expected system state (creating required base containers) | |
- This can take a while on first run or new templates... | |
Expected process to exit with [0], but received '1' | |
---- Begin output of sudo chef-solo -j /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/dna.json -c /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/solo.rb ---- | |
STDOUT: [2013-06-19T10:34:52-07:00] INFO: *** Chef 11.4.4 *** | |
[2013-06-19T10:34:52-07:00] INFO: Setting the run_list to ["recipe[vagabond]"] from JSON | |
[2013-06-19T10:34:52-07:00] INFO: Run List is [recipe[vagabond]] | |
[2013-06-19T10:34:52-07:00] INFO: Run List expands to [vagabond] | |
[2013-06-19T10:34:52-07:00] INFO: Starting Chef Run for GreenLantern | |
[2013-06-19T10:34:52-07:00] INFO: Running start handlers | |
[2013-06-19T10:34:52-07:00] INFO: Start handlers complete. | |
[2013-06-19T10:34:52-07:00] INFO: Lxc light-weight provider already initialized -- overriding! | |
================================================================================ | |
Recipe Compile Error in /usr/local/rvm/gems/ruby-1.9.3-p429/gems/vagabond-0.2.2/lib/vagabond/cookbooks/vagabond/recipes/default.rb | |
================================================================================ | |
ArgumentError | |
------------- | |
comparison of Array with Array failed | |
Cookbook Trace: | |
--------------- | |
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/vagabond-0.2.2/lib/vagabond/cookbooks/vagabond/recipes/default.rb:16:in `each' | |
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/vagabond-0.2.2/lib/vagabond/cookbooks/vagabond/recipes/default.rb:16:in `max' | |
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/vagabond-0.2.2/lib/vagabond/cookbooks/vagabond/recipes/default.rb:16:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/vagabond-0.2.2/lib/vagabond/cookbooks/vagabond/recipes/default.rb: | |
9: | |
10: dpkg_autostart 'lxc-net' do | |
11: allow false | |
12: end | |
13: =end | |
14: # Start at 0 and increment up if found | |
15: unless(node[:network][:interfaces][:lxcbr0]) | |
16>> max = node.network.interfaces.map do |name, val| | |
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: | |
[2013-06-19T10:34:52-07:00] ERROR: Running exception handlers | |
[2013-06-19T10:34:52-07:00] ERROR: Exception handlers complete | |
[2013-06-19T10:34:52-07:00] FATAL: Stacktrace dumped to /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/chef_cache/chef-stacktrace.out | |
[2013-06-19T10:34:52-07:00] FATAL: ArgumentError: comparison of Array with Array failed | |
STDERR: | |
---- End output of sudo chef-solo -j /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/dna.json -c /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/solo.rb ---- | |
Ran sudo chef-solo -j /tmp/vagabond/solos/home/aaronb/Planet/ninefold/ninefold/vagabond/.vagabond/dna.json -c /tmp/vagabond/solos/home/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