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

Bug 1840222: Fail if no upstream DNS servers are found #63

Merged
merged 1 commit into from May 26, 2020

Conversation

cybertron
Copy link
Member

Coredns will fail to start if we configure the forward plugin with
no upstream servers. The init container responsible for rendering
the config needs to fail if that situation arises so it can be
retried later when hopefully resolv.conf has been populated correctly.

We're not sure how it happens that there are no upstream servers,
but it's clearly wrong for us to render an invalid config so this
is the safe thing to do anyway.

Coredns will fail to start if we configure the forward plugin with
no upstream servers. The init container responsible for rendering
the config needs to fail if that situation arises so it can be
retried later when hopefully resolv.conf has been populated correctly.

We're not sure how it happens that there are no upstream servers,
but it's clearly wrong for us to render an invalid config so this
is the safe thing to do anyway.
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels May 26, 2020
@openshift-ci-robot
Copy link
Contributor

@cybertron: This pull request references Bugzilla bug 1840222, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1840222: Fail if no upstream DNS servers are found

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 26, 2020
@stbenjam
Copy link
Member

stbenjam commented May 26, 2020

Looks like we had a problem mirroring the release:

error: unable to copy layer sha256:6ea9b246b9163dc9297843da94730f1401e3c51bc4af722289fbfc349115d988 to virthost.ostest.test.metalkube.org:5000/localimages/local-release-image: Patch https://virthost.ostest.test.metalkube.org:5000/v2/localimages/local-release-image/blobs/uploads/cf5b1dc0-41e8-4001-980a-8a780e18081d?_state=Z10ByozM9R2F1skrvapaZqtkfvPj6E3FFP2k9N1SilJ7Ik5hbWUiOiJsb2NhbGltYWdlcy9sb2NhbC1yZWxlYXNlLWltYWdlIiwiVVVJRCI6ImNmNWIxZGMwLTQxZTgtNDAwMS05ODBhLThhNzgwZTE4MDgxZCIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyMC0wNS0yNlQxNTo0MDo1My40NTQ2NDI3NDJaIn0%3D: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"

/test e2e-metal-ipi

@stbenjam
Copy link
Member

/hold

Please don't lgtm yet, want to see how e2e-metal-ipi job does

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 26, 2020
@stbenjam
Copy link
Member

Passed! That's encouraging.

/hold cancel
/lgtm

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 26, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, cybertron, stbenjam

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2020
@stbenjam
Copy link
Member

/cherry-pick release-4.4

@openshift-cherrypick-robot

@stbenjam: once the present PR merges, I will cherry-pick it on top of release-4.4 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit 3705468 into openshift:master May 26, 2020
@openshift-ci-robot
Copy link
Contributor

@cybertron: All pull requests linked via external trackers have merged: openshift/baremetal-runtimecfg#63. Bugzilla bug 1840222 has been moved to the MODIFIED state.

In response to this:

Bug 1840222: Fail if no upstream DNS servers are found

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-cherrypick-robot

@stbenjam: new pull request created: #64

In response to this:

/cherry-pick release-4.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants