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

Fix antrea-agent crashing with proxyAll enabled in networkPolicyOnly mode #6259

Merged

Commits on May 30, 2024

  1. Fix antrea-agent crashing with proxyAll enabled in networkPolicyOnly …

    …mode
    
    In networkPolicyOnly mode and proxyAll is enabled, the ifindex of antrea-gw0 in `nodeConfig`
    is uninitialized, resulting in the failure to install the ip neighbor to antrea-gw0 due to
    the fact that the ifindex of antrea-gw0 is wrong. Additionally, the ipsets storing the pairs
    of Node IP and NodePort are not initialized and periodically synced. Consequently, this results
    in the failure to sync the iptables rules that referring to the ipsets.
    
    Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
    hongliangl committed May 30, 2024
    Configuration menu
    Copy the full SHA
    de80443 View commit details
    Browse the repository at this point in the history