Ask Your Question

OVS flows disappear [closed]

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

ironhardchaw gravatar image

updated 2014-06-03 08:37:26 -0500

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.


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)




I just upgraded my installation from Havana to IceHouse, and I am no longer running into this issue, or several of the other issues that I experienced previously.

edit retag flag offensive reopen merge delete

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


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

darragh-oreilly gravatar imagedarragh-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 gravatar imageironhardchaw ( 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 gravatar imageironhardchaw ( 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 gravatar imagedarragh-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 gravatar imageironhardchaw ( 2014-02-18 10:30:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

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

prathamesh_deshpande gravatar image
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 511 times

Last updated: Jun 03 '14