← Back to team overview

openstack team mailing list archive

Re: Nova network problem on rhel6.4 and folsom

 

On Feb 26, 2013, at 10:11 AM, mohammad kashif <kashif.alig@xxxxxxxxx> wrote:

> Hi
> I am installing openstack folsom on rhel6.4 with multi_host nova network. I have  a working setup with ubuntu 12.04 and Essex and  I am using almost same network setup  with rhel with folsom. I don't understand that what is going wrong with rhel.
> 
> I have two machines with everything including nova-compute on one machine and an extra machine running nova-compute, nova-network and nova-metadata-api.
> 
> Main problem is that I can create vm and it is getting  private ip address from dhcp but that address is not being attached to bridge br100. Nova network is creating bridge but it stay in unknown state
> 
> ip link show br100
> 
> 7: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
>     link/ether 00:30:48:35:3d:ff brd ff:ff:ff:ff:ff:ff
> 
> Some of network related setting is
> 
> public_interface = eth0
> flat_interface = eth1

These needs to be set explicitly to em1 / em2 on the second machine. If you do brctl show i suspect em2 is not being added to the bridge. You could also manually add it to the bridge:
brctl addif br100 em2

Also the private ip address is not added to the bridge. if you do:
brctl show br100

you will see that each vm gets a vnet* device that is added to the bridge. The ip only exists internally to the vm.

> fixed_range = 192.168.9.32/27
> flat_network_dhcp_start = 192.168.9.33
> connection_type = libvirt
> flat_injected = False
> multi_host = True
> flat_network_dns = <public_ip>
> flat_network_bridge = br100
> 
> first machine have 
> eth0 = public ip
> eth1 = 192.168.9.1
> 
> second machine
> em1 = public ip
> em2 = 192.168.9.2
> 
> 
> I am creating nova network like this
> nova-manage network create private --fixed_range_v4=192.168.9.32/27 --num_network=1 --bridge=br100  --network_size=32 --multi_host=True 
> 
> 
> Can some one suggest some thing. 
> 
> Thanks
> Kashif
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References