-
Notifications
You must be signed in to change notification settings - Fork 370
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
IP address and routes are configured twice on RHEL 8.4 on azure cloud after ExternalNode is created #5192
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
github-actions
bot
added
the
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
label
Oct 2, 2023
luolanzone
removed
the
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
label
Nov 13, 2023
Anandkumar26
added a commit
to antrea-io/nephe
that referenced
this issue
Nov 15, 2023
On Azure RHEL VM, when ExternalNode is added and deleted repeatedly, antrea-agent goes into a weired state where ExternalNode add event is ignored, as agent things there is no change in the ExternalNode interface. Tracking issue on antrea: antrea-io/antrea#5192 antrea-io/antrea#5111 Signed-off-by: Anand Kumar <[email protected]>
reachjainrahul
pushed a commit
to antrea-io/nephe
that referenced
this issue
Nov 15, 2023
* Expose ANP priority in test templates for Agented VMs Signed-off-by: Anand Kumar <[email protected]> * Use ubuntu Vms for Azure agented tests On Azure RHEL VM, when ExternalNode is added and deleted repeatedly, antrea-agent goes into a weired state where ExternalNode add event is ignored, as agent things there is no change in the ExternalNode interface. Tracking issue on antrea: antrea-io/antrea#5192 antrea-io/antrea#5111 Signed-off-by: Anand Kumar <[email protected]> --------- Signed-off-by: Anand Kumar <[email protected]>
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
github-actions
bot
added
the
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
label
Feb 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Describe the bug
On a RHEL 8.4 VM running on azure cloud, two copies of IP addresses and routes are configured after an ExternalNode is created.
This is the configuretions before creating ExternalNode,
After an ExternalNode is created for the VM, there two copies of ip address and routes, one is configured on eth0 which is an OVS internal port created by antrea-agent, and the other is configured on
eth0~
which is renamed by antrea-agent and expected to work as the uplink.After listing the processes, we can see that dhclient is working on the uplink (eth0~) who configures the IP and routes.
This is observed only on RHEL 8.4 on azure cloud. After some comparation, we found that RHEL defaultly configure NetworkManager to use dhclient for dhcp on azure, and NetworkManager will start dhclient process on the uplink although it is renamed.
The two copies of ip routes is possibly to introduce unpredictable behaviors on the VM, e.g., an outbound traffic is possibly to leave the VM from the uplink directly, and the ANP rules are not working because the packets have bypassed the openflow entries.
To Reproduce
Expected
After the ExternalNode is created, the IP address and routes are exposed to move to the host internal interface only, and they are not existing on the uplink before the ExternalNode resource is deleted.
Actual behavior
IP address and routes are configured both on the host internal interface and uplink.
Versions:
It is supposed to exist in all antrea releases even on the main branch.
Additional context
The text was updated successfully, but these errors were encountered: