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

change apipa network gw address from .1 to .2 #2933

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ZetaoZhuang
Copy link
Contributor

@ZetaoZhuang ZetaoZhuang commented Aug 20, 2024

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:

@ZetaoZhuang ZetaoZhuang requested a review from a team as a code owner August 20, 2024 05:20
@ZetaoZhuang ZetaoZhuang requested a review from nddq August 20, 2024 05:20
@rbtr
Copy link
Contributor

rbtr commented Aug 20, 2024

what's the impact of this change? is it backwards compatible?

@ZetaoZhuang
Copy link
Contributor Author

ZetaoZhuang commented Aug 21, 2024

here are some screenshots from my set up to test this change
image

vm ipconfig
image

container ipconfig
image

@rbtr
Copy link
Contributor

rbtr commented Aug 21, 2024

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?

@ZetaoZhuang
Copy link
Contributor Author

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

@tamilmani1989
Copy link
Member

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?

@ZetaoZhuang did we test this with existing clusters with old cns and new cni, with all combinations?

Copy link

github-actions bot commented Sep 7, 2024

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

@github-actions github-actions bot added the stale Stale due to inactivity. label Sep 7, 2024
Copy link

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Sep 15, 2024
@github-actions github-actions bot deleted the change_gw_address branch September 15, 2024 00:01
@ZetaoZhuang ZetaoZhuang restored the change_gw_address branch September 19, 2024 05:48
@ZetaoZhuang ZetaoZhuang reopened this Sep 19, 2024
@github-actions github-actions bot removed the stale Stale due to inactivity. label Sep 20, 2024
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.

3 participants