[Openstack] Link is down in openvswitch port

Xeniya L xusha.msk at gmail.com
Fri May 8 19:08:10 UTC 2015


Problem resolved:

1) I added
ovs_use_veth = True
Inside
/etc/neutron/dhcp_agent.ini
and
/etc/neutron/l3_agent.ini

2) I destroy eth1.2001, eth1.2002, and else interfaces (no need if you
use openvswitch.)

May be, it is this bug:
 https://bugzilla.redhat.com/show_bug.cgi?id=1174864

2015-05-07 11:29 GMT+03:00 Xeniya L <xusha.msk at gmail.com>:
> I run ifconfig <bridge> up,
> ifconfig <bridge-tail-inside-namespace> up
> No affect. Ports is down (but bridge iface can up)
>
> 2015-05-07 11:28 GMT+03:00 Xeniya L <xusha.msk at gmail.com>:
>> Thank you for answer. Unfortunately, it is not works.
>>
>> 2015-05-07 9:18 GMT+03:00 nithish B <bestofnithish at gmail.com>:
>>> Hi Xeniya,
>>>     To put it crudely, I think the interface qg-8d652de9-58 and thus the
>>> tap-interface tap270c51fa-76 being down is causing the issue for you. Try
>>> bringing them up and then ping. Let me know if it works or not.
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Nitish B.
>>>
>>> On Thu, May 7, 2015 at 2:22 AM, Xeniya L <xusha.msk at gmail.com> wrote:
>>>>
>>>> Hi all!
>>>> I try to resolve this problem during 2 weeks :(
>>>>
>>>> I use up-to-date Centos 7 and Juno.
>>>>
>>>> I have study infrastructure:
>>>> 1) compute node // probably works fine
>>>> 2) controller node // probably works fine
>>>> 3) nethost node // here is mistery and crazy problems with openvswitch
>>>>
>>>> if I manually up interface in first and second VM, vm1 can ping vm2,
>>>> and vm2 can ping vm1, But on network node is crazy, and don't
>>>> understand situation.
>>>>
>>>> Br-int bridge has a down and no-link interfaces:
>>>>
>>>>   [root at nethost ~]# ovs-ofctl show br-int
>>>> OFPT_FEATURES_REPLY (xid=0x2): dpid:00006282de3ad749
>>>> n_tables:254, n_buffers:256
>>>> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
>>>> actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC
>>>> SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST
>>>> ENQUEUE
>>>>  3(int-br-vlan): addr:5a:8a:ac:4d:6a:41
>>>>      config:     0
>>>>      state:      0
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>>  4(int-br-ex): addr:36:a4:18:b8:59:7d
>>>>      config:     0
>>>>      state:      0
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>>  20204(tap270c51fa-76): addr:62:82:de:3a:d7:49
>>>>      config:     PORT_DOWN
>>>>      state:      LINK_DOWN
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>>  20205(qr-1a0e7fd7-63): addr:00:00:00:00:00:00
>>>>      config:     PORT_DOWN
>>>>      state:      LINK_DOWN
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>>  20206(qg-8d652de9-58): addr:62:82:de:3a:d7:49
>>>>      config:     PORT_DOWN
>>>>      state:      LINK_DOWN
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>>  LOCAL(br-int): addr:62:82:de:3a:d7:49
>>>>      config:     PORT_DOWN
>>>>      state:      LINK_DOWN
>>>>      speed: 0 Mbps now, 0 Mbps max
>>>> OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
>>>>
>>>> In compute node br-int works fine (whithout down ports)  and in
>>>> network node another bridges (br-vlan and br-ex) also works fine
>>>>
>>>> If I try to delete openvsiwtch (and rm -rf /etc/openvswitch) and
>>>> neutron-openvswitch-agent, after install it again, openvswitch create
>>>> down interfaces in namepaces again:
>>>>
>>>> But I can ping IP in router interface:
>>>>
>>>> [root at nethost ~]# ip netns exec
>>>> qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0 ifconfig
>>>> lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
>>>>         inet 127.0.0.1  netmask 255.0.0.0
>>>>         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>>>>         loop  txqueuelen 0  (Local Loopback)
>>>>         RX packets 0  bytes 0 (0.0 B)
>>>>         RX errors 0  dropped 0  overruns 0  frame 0
>>>>         TX packets 0  bytes 0 (0.0 B)
>>>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>>>
>>>> qg-8d652de9-58: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>>>         inet 10.2.57.68  netmask 255.255.255.0  broadcast 10.2.57.255
>>>>         inet6 fe80::f816:3eff:fe4e:b045  prefixlen 64  scopeid 0x20<link>
>>>>         ether fa:16:3e:4e:b0:45  txqueuelen 0  (Ethernet)
>>>>         RX packets 1027  bytes 67477 (65.8 KiB)
>>>>         RX errors 0  dropped 11  overruns 0  frame 0
>>>>         TX packets 45  bytes 2334 (2.2 KiB)
>>>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>>>
>>>> qr-1a0e7fd7-63: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>>>         inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
>>>>         inet6 fe80::f816:3eff:feac:4843  prefixlen 64  scopeid 0x20<link>
>>>>         ether fa:16:3e:ac:48:43  txqueuelen 0  (Ethernet)
>>>>         RX packets 3  bytes 230 (230.0 B)
>>>>         RX errors 0  dropped 0  overruns 0  frame 0
>>>>         TX packets 10  bytes 864 (864.0 B)
>>>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>>>
>>>> [root at nethost ~]#
>>>>
>>>> [root at nethost ~]# ip netns exec
>>>> qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d ifconfig
>>>> lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
>>>>         inet 127.0.0.1  netmask 255.0.0.0
>>>>         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>>>>         loop  txqueuelen 0  (Local Loopback)
>>>>         RX packets 0  bytes 0 (0.0 B)
>>>>         RX errors 0  dropped 0  overruns 0  frame 0
>>>>         TX packets 0  bytes 0 (0.0 B)
>>>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>>>
>>>> tap270c51fa-76: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>>>         inet 10.0.0.101  netmask 255.255.255.0  broadcast 10.0.0.255
>>>>         inet6 fe80::f816:3eff:fee8:3cd7  prefixlen 64  scopeid 0x20<link>
>>>>         ether fa:16:3e:e8:3c:d7  txqueuelen 0  (Ethernet)
>>>>         RX packets 9  bytes 782 (782.0 B)
>>>>         RX errors 0  dropped 0  overruns 0  frame 0
>>>>         TX packets 3  bytes 258 (258.0 B)
>>>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>>>
>>>> [root at nethost ~]#
>>>> [root at nethost ~]# ping -c 1 10.0.0.1
>>>> PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
>>>> 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.624 ms
>>>>
>>>> --- 10.0.0.1 ping statistics ---
>>>> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
>>>> rtt min/avg/max/mdev = 0.624/0.624/0.624/0.000 ms
>>>> [root at nethost ~]# ping -c 1 10.0.0.101
>>>> PING 10.0.0.101 (10.0.0.101) 56(84) bytes of data.
>>>> From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
>>>>
>>>> --- 10.0.0.101 ping statistics ---
>>>> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>>>>
>>>> [root at nethost ~]#
>>>>
>>>> I try to reinstall nethost node in 2 times, but problem was again.
>>>>
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to     : openstack at lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>




More information about the Openstack mailing list