Lost internet connectivity after nova install on single instance

Asked by Eoghan

Installed all nova components on a single box and all nova services are running and am able to run and connect to instances but I have lost all internet connectivity on the box.

Has anyone seen this before?

This is what my networking looks like:

ifconfig
br100 Link encap:Ethernet HWaddr 00:50:56:81:00:23
          inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
          inet6 addr: fe80::f0d0:c0ff:fea6:a2cd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:5934 errors:0 dropped:13 overruns:0 frame:0
          TX packets:1388 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:392915 (392.9 KB) TX bytes:8271046 (8.2 MB)

eth0 Link encap:Ethernet HWaddr 00:50:56:81:00:23
          inet6 addr: fe80::250:56ff:fe81:23/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:6680 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6343 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:546499 (546.4 KB) TX bytes:8548715 (8.5 MB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:6363 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6363 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3827653 (3.8 MB) TX bytes:3827653 (3.8 MB)

virbr0 Link encap:Ethernet HWaddr ca:dc:b5:b0:04:61
          inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:4374 (4.3 KB)

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
Eoghan
Solved:
Last query:
Last reply:
Revision history for this message
Eoghan (eoghank) said :
#1

The cause of this appears to be the addition of a nova private network. If I delete the nova private network eth0 gets its static IP address back and external internet connectivity comes back.

This is the command I am using to add the nova network.

nova-manage network create private \
    --fixed_range_v4=10.0.0.0/24 \
    --num_networks=1 \
    --network_size=256 \
    --bridge=br100 \
    --bridge_interface=eth0 \
    --multi_host=T

Revision history for this message
Joseph Heck (heckj) said :
#2

Make sure your nova.conf has a --public-interface entry as well - maybe something like:

(nova.conf snippet):
--network_manager=nova.network.manager.FlatDHCPManager
--flat_network_bridge=br100
--flat_injected=False
--flat_interface=eth0
--public_interface=eth0

And then the command shouldn't remove the internet access IP address, although it will also be bound to the br100 interface, which is using eth0.

I'm assuming you have a single-nic node there.

Revision history for this message
Eoghan (eoghank) said :
#3

I do have the public-interface specified in the nova.conf file exactly as above and I still see the problem. And yes I just have one nic on the node.

Revision history for this message
Eoghan (eoghank) said :
#4

Found the problem in my network config, changed to FLAT networking.