← Back to team overview

openstack team mailing list archive

Re: Nova network problem on rhel6.4 and folsom

 

Hi Vish
Thanks for looking into it. For the simplicity, I have disabled second
compute node for time being. I am checking it as single node installation.

Like one VM is running on controller node
 aad411aa-dc50-4fad-ab2f-8fd283ed94e8 | rrrr | ACTIVE |
private=192.168.9.34

brctl show br100
bridge name     bridge id               STP enabled     interfaces
br100           8000.003048353dff       no              eth1
                                                                      vnet0

 ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet 169.254.169.254/32 scope link lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:30:48:35:3d:fe brd ff:ff:ff:ff:ff:ff
    inet 163.1.5.243/24 brd 163.1.5.255 scope global eth0
    inet6 fe80::230:48ff:fe35:3dfe/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:30:48:35:3d:ff brd ff:ff:ff:ff:ff:ff
    inet6 fe80::230:48ff:fe35:3dff/64 scope link
       valid_lft forever preferred_lft forever
4: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
    link/ether 52:54:00:e4:6d:24 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
    link/ether 52:54:00:e4:6d:24 brd ff:ff:ff:ff:ff:ff
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
    inet 192.168.9.33/27 brd 192.168.9.63 scope global br100
    inet 192.168.9.1/24 brd 192.168.9.255 scope global br100
    inet6 fe80::8cc4:2cff:feb2:2233/64 scope link
       valid_lft forever preferred_lft forever
8: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN qlen 500
    link/ether fe:16:3e:5f:b2:0a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe5f:b20a/64 scope link
       valid_lft forever preferred_lft forever

I don't understand that why br100 is displaying unknown state.

Thanks
Kashif





On Tue, Feb 26, 2013 at 7:19 PM, Vishvananda Ishaya
<vishvananda@xxxxxxxxx>wrote:

>
> 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