[Crowbar] Changing crowbar default network settings.

Pierre Amadio pierre.amadio at canonical.com
Wed Jul 4 04:54:23 CDT 2012


Hi there !

I am trying to change some default settings in order to have crowbar
running in an different network than 192.168.124.0 (in this case
192.168.125.0).

All my tests are run in some kvms machine.

I have several networks to play with:

192.168.122.0/24 to 192.168.128.0/24

I have installed  a system http://crowbar.zehicle.com/openstack-fred.iso

Once installed, i changed /etc/network/interfaces so the box ip is
192.168.125.2 and rebooted.

I then changed
/opt/dell/barclamps/network/chef/data_bags/crowbar/bc-template-network.json
so the admin networks is 192.168.125.0 (see attachement).

I then start the crowbar installation with:


cd /tftpboot/ubuntu_dvd/extra
./install crowbar125.mydomain.com

However, the installation fails (see attached error.txt). It looks like
something is trying to connect to the wrong adress, so i am guessing i
may have missed some steps.

- Can someone tell what i may have missed ?

- If i was to change all the other settings in bc-template-network.json
without using any vlans, how can i tell crowbar that a given network is
available on a given nic on the crowbar host ? Should it detect it
automatically based on the local addresses associated to the nic, or is
it something to set somewhere ?






-------------- next part --------------
A non-text attachment was scrubbed...
Name: bc-template-network.json
Type: application/json
Size: 6761 bytes
Desc: not available
Url : http://lists.us.dell.com/pipermail/crowbar/attachments/20120704/5078ea8a/attachment.bin 
-------------- next part --------------
2012-07-03 09:45:55 -0500: Bringing up Crowbar...
2012-07-03 09:47:22 -0500: service chef-server restart failed.
See /var/log/install-svc.log and /var/log/install-svc.err for more information.
/opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command': /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command': /usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
        from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
        from /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
        from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
        from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
        from /opt/dell/bin/barclamp_lib.rb:109:in `authenticate'
        from /opt/dell/bin/barclamp_lib.rb:131:in `get_json'
        from /opt/dell/bin/barclamp_lib.rb:243:in `proposal_list'
        from (eval):1:in `run_sub_command'
        from (eval):1:in `eval'
        from /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command'
        from (eval):1:in `run_sub_command'
        from /opt/dell/bin/barclamp_lib.rb:450:in `eval'
        from /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command'
        from /opt/dell/bin/barclamp_lib.rb:450:in `run_command'
        from /opt/dell/bin/barclamp_lib.rb:455:in `main'
        from /opt/dell/bin/crowbar_crowbar:21
/opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command': /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command': /usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
        from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
        from /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
        from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
        from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
        from /opt/dell/bin/barclamp_lib.rb:109:in `authenticate'
        from /opt/dell/bin/barclamp_lib.rb:162:in `put_json'
        from /opt/dell/bin/barclamp_lib.rb:278:in `proposal_create'
        from (eval):1:in `run_sub_command'
        from (eval):1:in `eval'
        from /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command'
        from (eval):1:in `run_sub_command'
        from /opt/dell/bin/barclamp_lib.rb:450:in `eval'
        from /opt/dell/bin/barclamp_lib.rb:446:in `run_sub_command'
        from /opt/dell/bin/barclamp_lib.rb:450:in `run_command'
        from /opt/dell/bin/barclamp_lib.rb:455:in `main'
        from /opt/dell/bin/crowbar_crowbar:21
Proposal create failed, pass 1.  Will kick Chef and try again.
Created default
Committed default
Expander Queue Total =        158
Expander Queue Total =        158



More information about the Crowbar mailing list