Ask Your Question
0

Lost internet connectivity after nova install on single instance

asked 2011-10-18 20:33:41 -0500

eoghank gravatar image

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)

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-20 19:05:11 -0500

eoghank gravatar image

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.

edit flag offensive delete link more
0

answered 2011-10-24 12:47:11 -0500

eoghank gravatar image

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

edit flag offensive delete link more
0

answered 2011-10-20 18:47:26 -0500

heckj gravatar image

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.

edit flag offensive delete link more
0

answered 2011-10-20 16:09:00 -0500

eoghank gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-18 20:33:41 -0500

Seen: 62 times

Last updated: Oct 24 '11