nova-network change multi-host T to F of used network

asked 2015-11-25 16:36:45 -0500

mickey gravatar image

Hi!

When I set up Openstack, I used the same commands as in the manual stood. I used the fixed network for direct access to the internet for my VMs. in the shell: nova network-create public --bridge br100 --multi-host T --fixed ....

I didnt know that we would still use the same Hoster and expand it.

Now the pain. I added a second Compute Node with a sperate AVZ and its on fixed network. But everytime i start a new VM, the First assigned IP, is from the Subnet of a different node ..

nova network-create public --bridge br100 --multi-host F --fixed-range-v4 148.251.216.144/28

Now my new Compute-Node has 2 bridges. The 1st is the one, that should be used by the old one. The second bridge is the one that should be assigned and used, not the first.

br100     Link encap:Ethernet  HWaddr fe:16:3e:84:5e:2c  
          inet addr:148.251.216.145  Bcast:148.251.216.159  Mask:255.255.255.240
          inet6 addr: fe80::3415:d4ff:fed0:1a72/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:39357 (39.3 KB)  TX bytes:45420 (45.4 KB)

br200     Link encap:Ethernet  HWaddr fa:56:35:39:e9:3b  
          inet addr:136.243.142.17  Bcast:136.243.142.31  Mask:255.255.255.240
          inet6 addr: fe80::d821:eaff:fe45:d060/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:27198 (27.1 KB)

I cant delete and recreate the old network, because its in use by the VMs. How can i change that?

edit retag flag offensive close merge delete