Ask Your Question
1

Link is down in openvswitch port

asked 2015-05-05 15:17:03 -0500

Xeniya Lisovskaya gravatar image

updated 2015-05-05 15:27:25 -0500

SGPJ gravatar image

I have probably same problem in juno:

(here is url, I can't post it becouse my carma is low) ${ack-openstack-domain} / question/11920/router-interfaces-down/

But I have different infrastructure. I have dedicated network node.

  [root@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

But in the compute node this problem is not:

root@study-node1 ~]# ovs-ofctl show br-int
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000921686a17848
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
 1(int-br-vlan): addr:b6:9e:98:e2:31:e4
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 2(int-br-ex): addr:1a:5a:dc:82:75:c4
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 5(qvoab4d8929-f4): addr:be:f4:19:e3:10:01
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 6(qvo0299a927-ae): addr:76:d2:b4:bf:f3:a4
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 LOCAL(br-int): addr:92:16:86:a1:78:48
     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

And pings between VMs work, but it can't get the IP by dhcp. It is namespaces in network node:

[root@nethost ~]# ip netns 
qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0
qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d
[root@nethost ~]#

The ping is works from root namespace to router, but from root to dhcp is not:

[root@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 ...
(more)
edit retag flag offensive close merge delete

Comments

  1. Which OS are your Network , Controller, Compute Nodes running ?
  2. Was it manual deployment procedure ?
dbaxps gravatar imagedbaxps ( 2015-05-05 15:47:21 -0500 )edit

Thank you for answer

1) Centos 7

2) I use official yum installation guide. But I'm not use gre, I use vlan and vlan bridge for communication.

Xeniya Lisovskaya gravatar imageXeniya Lisovskaya ( 2015-05-06 04:16:39 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-05-08 14:07:33 -0500

Xeniya Lisovskaya gravatar image

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 (https://bugzilla.redhat.com/show_bug....)

edit flag offensive delete link more

Comments

Option was used on CentOS 6.4 for kernel with limited "namespaces suport". Deprecated in 6.5 due to https://bugs.launchpad.net/openstack-...
Not needed on CentOS 7, Fedora 21,20 ( in *ini files under /etc/neutron )

dbaxps gravatar imagedbaxps ( 2015-05-08 14:49:00 -0500 )edit
0

answered 2015-05-06 04:38:01 -0500

dbaxps gravatar image

updated 2015-05-06 05:13:41 -0500

I realize, that feed bellow is not addressing your question, but on CentOS 7 you can avoid following official guides directives. I would suggest you prepare 3 clean CentOS 7.1 hosts yum updated.
From one of them run :-

packstack --answer-file= --> press enter

and answer all questions been asked to satisfy your needs . Correct answer-file will automatically generated and you will be prompted to proceed with deployment or no. It works in meantime. You may check RDO Mailing archives 05/2015 in particular :-
https://www.redhat.com/archives/rdo-l...
Install repos per https://www.rdoproject.org/RDO_test_d...

edit flag offensive delete link more

Comments

This setup is a study lab. I use my own puppet module for deploy. May be in future, in production installation, I will use openstack-packstack-puppet, but now it is not my task, I think.

yum update and reboot nethost node don't help me.

Xeniya Lisovskaya gravatar imageXeniya Lisovskaya ( 2015-05-06 05:22:03 -0500 )edit

Make clean systems? For new deploy? But how it can help me? If I will only want get works configuration, I will install fuel-based distro, or another case. But I want to study openstack! Please help me with this installation with troubleshooting.

Xeniya Lisovskaya gravatar imageXeniya Lisovskaya ( 2015-05-06 12:37:37 -0500 )edit

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: 2015-05-05 15:17:03 -0500

Seen: 4,613 times

Last updated: May 08 '15