[Crowbar] How to quickly test different network settings

Andi_Abes at Dell.com Andi_Abes at Dell.com
Fri Mar 9 09:48:58 CST 2012


Ok.. so the part you're missing is that the interfaces are only configured on a node when that node needs access to that network.
This can happen either by deploying something to the node (e.g. make the node a swift-storage node, and it's networking will be updated with what it takes to put it on the storage network).
It can also happen if you explicitly tell crowbar to make the node available on a network via the CLI.

/opt/dell/bin/crowbar network allocate_ip
 
Is what you want to use

Hth,a



-----Original Message-----
From: Martin Mailand [mailto:martin at tuxadero.com] 
Sent: Friday, March 09, 2012 10:46 AM
To: Abes, Andi
Cc: Althaus, Gregory; crowbar
Subject: Re: [Crowbar] How to quickly test different network settings

Am 09.03.2012 16:35, schrieb Andi_Abes at Dell.com:
> Ok.. looks reasonable.
> Can you be more specific about what you've done, what you expected, and what did (nt) happen?

Hi,
I installed the admin node a few days ago and everything is fine.
The client node gets an ip on eth0 from the admin range.

Now I want do give the client node a second ip on eth1, preferable without reinstalling the admin node.
So I did.

1. Change the file
/opt/dell/barclamps/network/chef/data_bags/crowbar/bc-template-network.json
2. run install admin.crowbar.org on the admin node.
3. Did a reinstall of the client node via the crowbar web-gui.
4. Check the ip config an the client node, but eth1 is not configured.


In the bc-template-network.json file I changed to things, I added the
following:

{
            "pattern": "X9SRi",
            "bus_order": [
              "0000:00/0000:00:03",
              "0000:00/0000:00:02"
            ]
          }

and which I think is the first match.

"pattern": "single/.*/.*",
            "conduit_list": {
              "intf0": {
                "if_list": [ "1g1" ]
              },
              "intf1": {
                "if_list": [ "1g2" ]  ## was 1g1 but I want to change the second 1g interface, this comment is not in the file.
              },
              "intf2": {
                "if_list": [ "1g1" ]
              }


The rest of the file is unchanged.
I attached my changed version.

-martin



More information about the Crowbar mailing list