[Openstack] network problem

Vishvananda Ishaya vishvananda at gmail.com
Thu Jan 3 18:57:46 UTC 2013


You won't be able to ping the nodes from the controller since it has no ip address on the guest network.

It looks like eth1 is bridged in properly on the compute node you showed, although I don't see it showing up in the interface list. It looks like maybe eth1 is not up? Try:

ifconfig eth1 up

you should be able to ping from 10.10.10.3 - 10.10.10.4 if your eth1s are up and plugged in and your switch isn't filtering traffic.

Vish


On Jan 3, 2013, at 10:25 AM, Umar Draz <unix.co at gmail.com> wrote:

> Hi Vish
>  
> Here is the ifconfig output of compute node
>  
> br100     Link encap:Ethernet  HWaddr 00:50:56:b2:01:5f
>           inet addr:10.10.10.3  Bcast:10.10.10.255  Mask:255.255.255.0
>           inet6 addr: fe80::c895:59ff:fe29:f708/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1646 (1.6 KB)  TX bytes:4194 (4.1 KB)
> vnet0     Link encap:Ethernet  HWaddr fe:16:3e:00:91:2c
>           inet6 addr: fe80::fc16:3eff:fe00:912c/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:1870 (1.8 KB)  TX bytes:5820 (5.8 KB)
> And here is the output of brctl show
>  
> bridge name     bridge id               STP enabled     interfaces
> br100           8000.005056b2015f       no                eth1
>                                                                                vnet0
> the virtual machine ip address is = 10.10.10.5
>  
> 1) I can ping this ip from compute node but from controller node I can't ping this.
> 2) But on controller node there is not any br100, brctl show nothing here is the ouput of ifconfig of controller node
>  
> eth0      Link encap:Ethernet  HWaddr 00:50:56:b2:01:58
>           inet addr:63.55.xx.38  Bcast:64.22.82.127  Mask:255.255.255.128
>           inet6 addr: fe80::250:56ff:feb2:158/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3136 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2636 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:941305 (941.3 KB)  TX bytes:1173739 (1.1 MB)
>  
> eth1      Link encap:Ethernet  HWaddr 00:50:56:b2:01:5e
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>  
> Best Regards,
>  
> Umar
>  
> On Thu, Jan 3, 2013 at 10:57 PM, Vishvananda Ishaya <vishvananda at gmail.com> wrote:
> Based on the below it could be :
> 
> a) eth1 is not plugged in
> 
> or
> 
> b) eth1 is plugged into a switch that is filtering traffic in the 10.10.10.0/24 range
> 
> or
> 
> c) br100 is not bridged into eth1
> 
> (this would appear in brctl show which you didn't send)
> 
> 
> Vish
> 
> On Jan 3, 2013, at 9:23 AM, Umar Draz <unix.co at gmail.com> wrote:
> 
>> Hi Vish
>>  
>> Here is .....
>>  
>> 
>> Controller (nova.conf)
>> network_manager=nova.network.manager.FlatDHCPManager
>> force_dhcp_release=True
>> dhcpbridge_flagfile=/etc/nova/nova.conf
>> firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
>> my_ip=63.55.xx.x2
>> public_interface=eth0
>> vlan_interface=eth1
>> flat_network_bridge=br100
>> flat_interface=eth1
>> fixed_range=10.10.10.0/24
>> auto eth0
>> iface eth0 inet static
>>         address 63.55.xx.x2
>>         netmask 255.255.255.128
>>         gateway 63.55.xx.x1
>>         
>> auto eth1
>> iface eth1 inet static
>> ---------------------------------------------------------------------------------------------
>>  
>>  
>> Compute (nova.conf)
>> network_manager=nova.network.manager.FlatDHCPManager
>> force_dhcp_release=True
>> dhcpbridge_flagfile=/etc/nova/nova.conf
>> firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
>> my_ip=63.55.xx.x3
>> public_interface=eth0
>> vlan_interface=eth1
>> flat_network_bridge=br100
>> flat_interface=eth1
>> fixed_range=10.10.10.0/24
>> auto eth0
>> iface eth0 inet static
>>         address 63.55.xx.x3
>>         netmask 255.255.255.128
>>         gateway 63.55.xx.x1
>>         
>> auto eth1
>> iface eth1 inet static
>> 
>> -------------------------------------------------------------------------------------------------
>> Here is the command of network
>> nova-manage network create --label=myNetwork --fixed_range_v4=10.10.10.0/24 --bridge=br100 --num_networks=1 --multi_host=T
>>  
>> Best Regards,
>>  
>> Umar
>> 
>> On Thu, Jan 3, 2013 at 10:13 PM, Vishvananda Ishaya <vishvananda at gmail.com> wrote:
>> Need a little more info:
>> 
>> a) what does your nova.config look like? Specifically what is the setting for flat_interface?
>> 
>> b) what command did you use to create your network?
>> 
>> c) what is the output of brctl show?
>> 
>> d) what is the output of ip addr show?
>> 
>> Vish
>> 
>> On Jan 2, 2013, at 11:11 PM, Umar Draz <unix.co at gmail.com> wrote:
>> 
>>> Hi
>>> 
>>> here is my setup
>>> 
>>> 1) controller -> 63.73.22.22
>>> 2) compute-1 - > 63.73.22.23
>>> 3) compute-2 -> 63.73.22.24
>>> 
>>> The Local network is 10.10.10.0/24 for virtual machines.
>>> 
>>> I have created 2 virtual machines. Controller automatically creates 1 Virtual machine on compute-1 and 2nd on compute-2.
>>> 
>>> 1) Compute-1's Virtual Machine local ip is 10.10.10.3
>>> 2) Compute-2's Virtual Machine local ip is 10.10.10.4
>>> 
>>> Now the problem is I can not ping 10.10.10.3 from Compute-2's virtual machine. and Same thing on Compute-1's virtual machine. Even I can not ping or access both virtual machines from controller node.
>>> 
>>> Compute-1 can only access its own virtual machine and Compute-2 can only access its own virtual machines.
>>> 
>>> Would you please help me what should I do?
>>> 
>>> Best Regards,
>>> 
>>> Umar
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> 
>> 
>> -- 
>> Umar Draz
>> Network Architect
> 
> 
> 
> 
> -- 
> Umar Draz
> Network Architect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130103/44c3bae9/attachment.html>


More information about the Openstack mailing list