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

Automated cherry pick of #2555: Handle iptables-restore failures correctly in NPL #2575

Commits on Aug 11, 2021

  1. Handle iptables-restore failures correctly in NPL Controller

    Add a retry mechanism in the Controller initialization, which will keep
    trying to sync iptables rules until the operation is successful. On
    success, the NPL Controller is notified through a channel and can start
    its event handlers.
    
    Fixes antrea-io#2554
    
    Signed-off-by: Antonin Bas <abas@vmware.com>
    antoninbas committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    b153614 View commit details
    Browse the repository at this point in the history
  2. Wait for cache synced before initializing rules

    Signed-off-by: Antonin Bas <abas@vmware.com>
    antoninbas committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    01d4d10 View commit details
    Browse the repository at this point in the history
  3. Use structured logging for error log

    Signed-off-by: Antonin Bas <abas@vmware.com>
    antoninbas committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a83d550 View commit details
    Browse the repository at this point in the history