Fix set-name/interface DNS bug#1058
Merged
Merged
Conversation
This patch addresses an issue caused when the v2 network config directive "set-name" was used in conjunction with interface- specific DNS settings. The patch adds a test to validate the fix. For more information please see bug 1946493 as well as the issue kubernetes-sigs/image-builder#712.
TheRealFalcon
approved these changes
Oct 8, 2021
Contributor
TheRealFalcon
left a comment
There was a problem hiding this comment.
Thanks @akutz for the investigation and the fix!
|
I think there might be a bug in a similar vein at ... I applied this patch to a local setup and I got past this error but now I am hitting a KeyError here. Seems related to set-name as we are checking for a key name with what has been inputted into the "set-name" and that doesn't exist. |
Contributor
|
@zawachte-msft , Can you create a bug at https://bugs.launchpad.net/cloud-init ? Including the full traceback and the network config used to trigger the error will allow us to reproduce and fix the issue. |
|
@pradipd just posted the bug: https://bugs.launchpad.net/cloud-init/+bug/1949407. |
This was referenced May 12, 2023
Closed
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Commit Message
Additional Context
Please see kubernetes-sigs/image-builder#712 for more information.
Test Steps
Here is a patch that shows the update to a Cloud-Init test to validate the issue:
And here is the test:
Checklist: