[Crowbar] Adding an extra network
Kimball Johnson
kimball at bowerham.net
Tue Mar 13 08:19:41 CDT 2012
On 12 March 2012 17:20, <Kris_Applegate at dell.com> wrote:
> On the crowbar dashboard can you verify that the Network Barclamp is applied to the server already correct (in its current state without the new changes)? I checked your syntax on the knife command to allocate an IP and it was correct (assuming that hostname is already part of the network barclamp), so it must be something else.
The barclamp was applied fine, and when I alter the barclamp to
include the new network that is also fine.
I then run and get:
root at crowbar:~# /opt/dell/bin/crowbar network allocate_ip default
d00-26-55-d3-3e-1c.m2.infra.local netapp host
Failed to edit: default : Not Found
I then realise there is an 'enable_interface' command which I run:
root at crowbar:~# /opt/dell/bin/crowbar network enable_interface default
d00-26-55-d3-3e-1c.m2.infra.local netapp
Edited default "{}"
Then apply the network barclamp again in the UI, and get:
Failed to apply the proposal to: d00-26-55-d3-3e-1c.m2.infra.local [clear]
On inspection of the node in /var/cache/chef/chef-stacktrace.out I have:
RangeError: No conduit to interface map for
/var/cache/chef/cookbooks/network/recipes/default.rb:185:in `crowbar_interfaces'
/usr/lib/ruby/vendor_ruby/chef/node/attribute.rb:136:in `call'
/usr/lib/ruby/vendor_ruby/chef/node/attribute.rb:136:in `each'
/usr/lib/ruby/vendor_ruby/chef/node/attribute.rb:129:in `each'
/var/cache/chef/cookbooks/network/recipes/default.rb:176:in `crowbar_interfaces'
/var/cache/chef/cookbooks/network/recipes/default.rb:336:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in
`include_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in
`include_recipe'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
/usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
/usr/bin/chef-client:25
Kimball
More information about the Crowbar
mailing list