-
Notifications
You must be signed in to change notification settings - Fork 67
[omdb] Find internal DNS servers via /etc/resolv.conf
#9674
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
Conversation
| ( | ||
| SwitchZoneState::Running { request, zone, worker }, | ||
| Some(new_request), | ||
| ) if request.addresses != new_request.addresses => { |
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.
maybe a dumb question - but if we tried to change the rack subnet after initialization, we'd presumably be taking this path?
I know the comment here is describing "moving from the bootstrap to underlay network", which is different - but I just want to know when/how the updated resolv.conf would get populated.
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.
I believe that's correct.
I tested this on dublin today. Cold booting sled 16, we see sled-agent configure the DNS install service up front: and (1 and 2 also worked on |
There are three changes in this PR:
omdbnow uses the system resolver instead of assuming a hardcoded rack subnet.network/dns/installSMF service to populate/etc/resolv.conf.network/dns/installin the site manifest.I tested changes 1 and 2 in a4x2, and things look good:
I'll need a racklette to test change 3; I'll wait until #9653 lands to do so. (Or I'll rebase on top of it to test early next week, if it hasn't landed yet.)
Fixes #9606.