Skip to content
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

Open
TVKain opened this issue Sep 12, 2024 · 2 comments
Open

DP not up (sometimes) when reloading config through SIGHUP #4568

TVKain opened this issue Sep 12, 2024 · 2 comments

Comments

@TVKain
Copy link

TVKain commented Sep 12, 2024

image

  • When reloading the config through SIGHUP, faucet sometimes logs out DP not up and new flows are not sent down to the switch
  • This behavior seems to be inconsistent

Here is the capture of the traffic between the switch and the controller when "DP not up"
image

Faucet version: 1.10.11

@gizmoguy
Copy link
Member

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.

@TVKain
Copy link
Author

TVKain commented Sep 19, 2024

Steps to reproduce

  1. A process send SIGHUP to the faucet controller every 5 seconds
  2. Faucet controller running listening to port 6653
  3. One Open vSwitch switch connected to the faucet controller
ovs-vsctl set-controller br-f1 tcp:127.0.0.1:6653
  1. Faucet config file contains 5 VLANs each with 3 ACL rules
  2. New flows are sent down to OVS
  3. Populate faucet config file with 3000 VLANs each with 3 ACL rules
  4. Faucet log shows DP down and new flows aren't sent down to the OVS switch

dp_down

PCAP files

The 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 DP down
faucet.zip

Versions

  • Faucet 1.10.11
  • Open vSwitch 3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants