-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Have nodeup retry kops-controller bootstrapping sooner if DNS isn't setup #11101
Conversation
09a798b
to
6151995
Compare
hm looks like these errors are being hit over 10 minutes after the dns record is created. Will need some additional troubleshooting |
Yeah, not sure what's going on there but I see the same thing. Maybe log the error and the host name we're resolving? |
} else { | ||
for _, ip := range ips { | ||
if ip.String() == cloudup.PlaceholderIP { | ||
return nil, fi.NewTryAgainLaterError("kops-controller DNS not setup yet") |
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.
Probably also a good idea to differentiate the two messages e.g. ("kops-controller DNS not setup yet (placeholder IP found)" vs "kops-controller DNS not setup yet (error was %v)"
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.
Good idea, it turns out URL.Host
includes the port number which will never resolve. Updating it to URL.Hostname()
seems to have shaved off a couple minutes on the kops validate cluster
time in this small sample size of presubmit jobs.
/retest Review the full test history for this PR. Silence the bot with an |
6151995
to
de2ad2a
Compare
de2ad2a
to
639c9c4
Compare
639c9c4
to
763d1e2
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olemarkus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…101-origin-release-1.20 Automated cherry pick of #11101: Have nodeup retry kops-controller bootstrapping sooner if DNS
ref: #11050 (comment)