Skip to content

Conversation

@ramiro-gamarra
Copy link
Contributor

Reason for Change:

When ipv6 is enabled, if the azure HNS network is not present, CNI adds some default routes to vEthernet (Ethernet 2) before creating the network. On subsequent invocations, CNI recognizes that the network exists, and does not try to add the routes again.

If the vEthernet (Ethernet 2) interface is not present for some extraneous reason, adding default routes will continue to fail and thus the azure network never gets created, thus making CNI never succeed for any containers.

This PR removes addition of these routes since they are just an optimization, and always letting CNI create the azure network.

@ramiro-gamarra ramiro-gamarra requested a review from a team as a code owner July 14, 2023 20:58
@ramiro-gamarra ramiro-gamarra enabled auto-merge (squash) July 14, 2023 21:50
@ramiro-gamarra ramiro-gamarra merged commit 5593e97 into Azure:master Jul 17, 2023
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

Successfully merging this pull request may close these issues.

2 participants