-
Notifications
You must be signed in to change notification settings - Fork 883
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(azure): disable use-dns for secondary nics #5314
Conversation
@danpdraper and @cjp256, I have created this PR superseding #5180. Please review it, thanks. |
de6b540
to
7955e11
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.
LGTM, thanks!! I'll be sure to verify when it lands in the daily.
DNS resolution through secondary NICs is not supported on Azure. Disable it. Without this, we see seconds of delay resolving urls in cloud-init logs from Jammy+, see SF ticket. Per cjp256's comment, the first NIC under metadata.imds.network is ensured to be the primary one. We use this to determine primary NICs instead of relying on fragile driver and/or NIC names. Fixes: SF: #00380708 Co-authored-by: Calvin Mwadime <calvin.mwadime@canonical.com>
7955e11
to
6d28fc9
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.
LGTM!
Just wanted to say thanks again @aciba90! Testing looks great so far. |
Thank you, @cjp256, for the support and testing! Let us know if anything goes wrong. |
DNS resolution through secondary NICs is not supported on Azure. Disable it. Without this, we see seconds of delay resolving urls in cloud-init logs from Jammy+, see SF ticket. Per cjp256's comment, the first NIC under metadata.imds.network is ensured to be the primary one. We use this to determine primary NICs instead of relying on fragile driver and/or NIC names. Fixes: SF: #00380708 Co-authored-by: Calvin Mwadime <calvin.mwadime@canonical.com>
Proposed Commit Message
Additional Context
Supersedes #5180, see comments for more context.
Closes:
Test Steps
Checklist
Merge type