Ask Your Question
0

[RDO - packstack] Openvswitch agent crash [closed]

asked 2014-07-21 12:30:02 -0500

juliansotoca gravatar image

Hello,

I'm having some problems on trying to deploy a 3 nodes installation:

  • 1 controller node (eth0: 192.168.1.243 - eth1: 10.142.255.202 )
  • 1 network node (eth2: 192.168.1.244 - eth1: 10.142.255.201 )
  • 1 compute node (eth0: 192.168.1.245- eth1: 10.142.255.211 )

I have used packstack to install on a fresh CentOS 6.5 installations, and I've used this packstack file: http://txt.do/kzyr I wanted to use vxlan for tunneling. I've tested it before installing neutron, and the tunnels works fine. But, when I look for the status of the neutron services I see that all the Open vSwitch agent are KO. Digging on the logs I found that there is loop writing on them. These are the messages that I found (it repeats every second):

/var/log/messages:

Jul 21 19:07:07 compute1 ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl -t 10 -- --if-exists del-br br-tun
Jul 21 19:07:07 compute1 kernel: device br-tun left promiscuous mode
Jul 21 19:07:07 compute1 ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl -t 10 -- --may-exist add-br br-tun
Jul 21 19:07:07 compute1 kernel: device br-tun entered promiscuous mode

Jul 21 19:07:07 neutron ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl -t 10 -- --if-exists del-br br-tun
Jul 21 19:07:07 neutron kernel: device br-tun left promiscuous mode
Jul 21 19:07:07 neutron ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl -t 10 -- --may-exist add-br br-tun
Jul 21 19:07:07 neutron kernel: device br-tun entered promiscuous mode

dmesg:

device br-tun entered promiscuous mode
device br-tun left promiscuous mode

/var/log/openvswitch/ovs-vswitchd.log

2014-07-21T17:08:54Z|00629|bridge|INFO|bridge br-tun: using datapath ID 00002a3bdf219143
2014-07-21T17:08:54Z|00630|connmgr|INFO|br-tun: added service controller "punix:/var/run/openvswitch/br-tun.mgmt"
2014-07-21T17:08:55Z|00631|bridge|INFO|bridge br-tun: added interface br-tun on port 65534
2014-07-21T17:08:55Z|00632|bridge|INFO|bridge br-tun: using datapath ID 0000eede40b1c241
2014-07-21T17:08:55Z|00633|connmgr|INFO|br-tun: added service controller "punix:/var/run/openvswitch/br-tun.mgmt"
2014-07-21T17:08:55Z|00634|bridge|INFO|bridge br-tun: added interface br-tun on port 65534
2014-07-21T17:08:55Z|00635|bridge|INFO|bridge br-tun: using datapath ID 00009e25fe742b43
2014-07-21T17:08:55Z|00636|connmgr|INFO|br-tun: added service controller "punix:/var/run/openvswitch/br-tun.mgmt"

/var/log/neutron/openvswitch-agent.log

2014-07-21 19:06:52.721 140829 INFO neutron.common.config [-] Logging enabled!
2014-07-21 19:06:52.889 140829 INFO neutron.openstack.common.rpc.common [req-f11e1313-54ac-4e47-a48e-e31f4b7d45ad None] Connected to AMQP server on 192.168.153.243:5672
2014-07-21 19:06:52.997 140829 INFO neutron.openstack.common.rpc.common [req-f11e1313-54ac-4e47-a48e-e31f4b7d45ad None] Connected to AMQP server on 192.168.153.243:5672
2014-07-21 19:06:54.830 140829 ERROR neutron.agent.linux.ovs_lib [req-f11e1313-54ac-4e47-a48e-e31f4b7d45ad None] Unable to execute ['ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=0,table=2,actions=drop']. Exception: 
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'add-flow ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by juliansotoca
close date 2014-07-23 11:31:22.559305

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-23 11:30:58 -0500

juliansotoca gravatar image

I've resolved the issue by deleting the file ifcfg-br-tun that packstack created. The content of the file was:

DEVICE=br-tun DEVICETYPE=ovs TYPE=OVSBridge ONBOOT=yes OVSBOOTPROTO=none

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-21 12:30:02 -0500

Seen: 573 times

Last updated: Jul 23 '14