Ask Your Question
1

OVS flows disappear [closed]

asked 2014-02-11 11:48:20 -0500

ironhardchaw gravatar image

updated 2014-02-14 19:09:55 -0500

smaffulli gravatar image

Hi all,

I'm running a three-node Havana installation; two compute nodes and a controller. After initial installation, the setup worked just fine for a few weeks. Then I started having networking problems where previously responsive instances were unable to communicate with the outside world, and new instances couldn't get DHCP addresses. Much Googling yielded no answers that actually worked.

I did manage to get it back up and running, but I'm not sure how to be honest. Again, after a while, networking just died. This time, I'm noticing that OVS doesn't have any of the flows that it used to. Restarting the Neutron services and/or OVS makes no difference. Last time, I rebooted the compute and controller nodes and everything came back up fine (and this shouldn't be necessary for that matter). This time, I've rebooted repeatedly to no effect.

I'm not really sure what you need from me in order to troubleshoot the situation, but ask and I will deliver.

Thanks!!

Controller/Networking Node:

ovs-vsctl show (note that I have 9 running instances, and they're not here)

ovs-vswitchd.log (See all the weird entries that occur on restart)

neutron.conf

plugin.ini

edit retag flag offensive reopen delete

Closed for the following reason question is not relevant or outdated by Closed for the following reason "question is not relevant or outdated" by ironhardchaw
close date 2014-02-18 10:31:02.246286

Comments

Check the ovs agent logs for errors. OVS has a kernel module, and I have seen dkms not working with kernel updates.

darragh-oreilly ( 2014-02-11 15:18:11 -0500 )edit

Nothing unusual at all in the logs. The kernel hasn't been upgraded in a while and this only became a problem today. I'd upload configs and whatnot, but I'm too new :) I'll pastebin some stuff in a bit.

ironhardchaw ( 2014-02-11 15:54:05 -0500 )edit

Thanks for the links prathamesh! Unfortunately, I've already had everything working, and then it just stopped. If I rebuild my entire network by destroying it and then building step by step it works, but then after a while it stops again. When I check, OVS has lost some of the flows.

ironhardchaw ( 2014-02-12 06:54:42 -0500 )edit

The bridge br-tun has no ports - I guess they were cleaned out when the l2 agent started on the reboot. Check the rows in the ovs_tunnel_endpoints table in the ovs database are correct. Is the L2 agent RPCing the server? Really need the l2 agent logs here.

darragh-oreilly ( 2014-02-12 15:18:37 -0500 )edit

I'm running two L2 agents, one for WAN and one for LAN. Unfortunately, we really needed our OpenStack installation back, so I just disassociated all the networks from all the instances and reassociated and that seemed to do the trick. I'm going to try to replicate the issue and then I'll post logs.

ironhardchaw ( 2014-02-18 10:30:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-12 00:06:22 -0500

prathamesh_deshpande gravatar image

Hi ironhardchaw, Maybe this will help you troubleshoot: http://docs.openstack.org/admin-guide-cloud/content/ch_networking.html#section_networking-scenarios http://openstack.redhat.com/Networking_in_too_much_detail

edit flag offensive delete publish link more

Question Tools

Follow
1 follower

Stats

Asked: 2014-02-11 11:48:20 -0500

Seen: 77 times

Last updated: Feb 14