openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

OVS service stopped state #276

Open tamilmani1989 opened 1 year ago

tamilmani1989 commented 1 year ago

We are using openvswitch service for our scenarios. We noticed ovs-vswtichd service in stopped state (dead) for some reason. When we start service manually, all flow state is lost and nothing exists when we dump flows for openvswitch.

we have couple of questions:

  1. Need to understand why ovs service stopped. couldn't figure out from the logs we collected from /var/log/openvswitch.
  2. Does starting ovs service will cause its ovsdb to lose state.? ovs-ofctl dump-flows showed empty and all rules programmed are lost.
patil-abhishek commented 3 months ago

not sure why ovs stopped - could be thousands of reasons but flows are not stored in ovsdb, you need to use ovs_save or some other mechanism to restore flows only interfaces, bridges and such data is stored in ovsdb