-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DP not up (sometimes) when reloading config through SIGHUP #4568
Comments
Would need a bit more information to debug this, I notice your capture is started after the log message so any change to TCP state of the control channel will be missing. But does the switch eventually recover and have the correct flows programmed? dp not up isn't necessarily a problem, faucet is just saying the switch reset its control channel state. |
Steps to reproduce
PCAP filesThe pcap files contains the captured packets starting at the moment the config file has 5 VLANs and the flows for those are sent down to the switch (everything was fine up until this point) and end after faucet log shows Versions
|
Thanks for the additional information. This will be caused by the default openflow hello timers for openvswitch being too low for the number of flow rules you want to push and openvswitch timing out the connection. You need to tune the following ovsdb options:
There is some documentation here on how to do that: https://bugs.launchpad.net/neutron/+bug/1817022 Also note there was a bug in certain versions of OVS (introduced in v2.12.0 and fixed in v3.3.0) where these configuration values weren't always honored, so make sure you aren't running an affected version, see details on this mailing list thread: https://mail.openvswitch.org/pipermail/ovs-dev/2023-September/408205.html |
Thank you for the reply, I will try it ASAP. Though I do have an additional question, I have not dug too much into the source code yet but I notice that, whenever there's changes in VLAN or Port, faucet "cold" starts, in other situations like changes to ACLs, faucet "warm" starts. Could you tell me why that is ? Also could you clarify the behavior of "cold" starting vs "warm" starting ? Sidenote:
File: valve.py
|
Here is the capture of the traffic between the switch and the controller when "DP not up"
Faucet version: 1.10.11
The text was updated successfully, but these errors were encountered: