-
Notifications
You must be signed in to change notification settings - Fork 240
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
change apipa network gw address from .1 to .2 #2933
Conversation
what's the impact of this change? is it backwards compatible? |
thanks for adding this context. what happens if this change goes out to a node where containers are already running with the old .1 address? |
This change only applies on new created apipa network/endpoints. It does not impact existed containers unless recreate them. @ashvindeodhar |
@ZetaoZhuang did we test this with existing clusters with old cns and new cni, with all combinations? |
This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days |
Pull request closed due to inactivity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple clarifications:
- how do the apipa gw and loopback adapter come up the first time with no restart if they both use 169.254.128.1?
- is the long term fix that we get the gw address from elsewhere and cns consumes it?
- is the hns default gw address not changeable?
ffdc341
to
db64cfa
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a TODO to redesign the hnsclient on windows
dc859b8
to
a71947c
Compare
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
* change gw address to .2 * refactor and add UTs * fix lint * fix loopback adapter default gw address * remote address should always be .1 * address comment * adjust comment * ddress comment * fix func comment * fix loopback adapter gw
Reason for Change:
currently cns using the same ip address "169.254.128.1" for both apipa gw and loopback adapter. This cause conflict issue when hns get restarted and not able to rehydrate the apipa endpoints. our long-term goal is to make this gw address configurable in dnc. But for a short-term fix, in cns, we want to overwrite the address to 169.254.128.2, so customer can recreate apipa endpoints by restarting the cns.
Issue Fixed:
Requirements:
Notes: