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 1888663: wait for oauth-apiserver accessibility #403

Merged
merged 1 commit into from Oct 15, 2020

Conversation

deads2k
Copy link

@deads2k deads2k commented Oct 12, 2020

This has impacts on z-stream upgrade availability. We added an oauth-apiserver as part of a transition for keycloak and other external authentication providers. This change provides logic for waiting on SDN routability to those pods the same as we did for the openshift-apiserver. We have seen in upgrade logs that there is meaningful time that we have to wait.

/hold

holding so we can see the output in the log showing we made contact with oauth APIs.

/cherrypick release-4.6

@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 Oct 12, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2020
@sttts
Copy link

sttts commented Oct 12, 2020

Lgtm

@openshift-ci-robot
Copy link

@deads2k: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/unit 8e9b1a334345288c74b5e9628e8113608d35efff link /test unit
ci/prow/verify 8e9b1a334345288c74b5e9628e8113608d35efff link /test verify
ci/prow/e2e-cmd 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-cmd
ci/prow/e2e-aws-serial 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-aws-serial
ci/prow/e2e-aws-csi 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-aws-csi
ci/prow/k8s-e2e-gcp 8e9b1a334345288c74b5e9628e8113608d35efff link /test k8s-e2e-gcp
ci/prow/e2e-gcp 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-gcp
ci/prow/k8s-e2e-gcp-serial 8e9b1a334345288c74b5e9628e8113608d35efff link /test k8s-e2e-gcp-serial
ci/prow/e2e-upgrade 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-upgrade
ci/prow/e2e-azure-upgrade 8e9b1a334345288c74b5e9628e8113608d35efff link /test e2e-azure-upgrade

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@deads2k
Copy link
Author

deads2k commented Oct 15, 2020

/hold cancel

this is working as expected.

@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 Oct 15, 2020
@deads2k
Copy link
Author

deads2k commented Oct 15, 2020

/retest

@deads2k deads2k changed the title wait for oauth-apiserver accessibility bug 1888663: wait for oauth-apiserver accessibility Oct 15, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Oct 15, 2020
@openshift-ci-robot
Copy link

@deads2k: This pull request references Bugzilla bug 1888663, 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.7.0) matches configured target release for branch (4.7.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 1888663: wait for oauth-apiserver accessibility

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 bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Oct 15, 2020
@deads2k
Copy link
Author

deads2k commented Oct 15, 2020

/cherrypick release-4.6

@openshift-cherrypick-robot

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

In response to this:

/cherrypick release-4.6

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.

@@ -109,18 +129,18 @@ func (c *openshiftAPIServiceAvailabilityCheck) checkForConnection(context generi
select {
case <-time.After(60 * time.Second):
// if we timeout, always return ok so that we can start from a case where all kube-apiservers are down and the SDN isn't coming up
utilruntime.HandleError(fmt.Errorf("openshift.io-openshift-apiserver-reachable never reached openshift apiservice"))
utilruntime.HandleError(fmt.Errorf("%s never reached openshift apiservice", c.Name()))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: rm openshift since c.Name() already contains the service name and the namespace

@p0lyn0mial
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, p0lyn0mial

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 removed the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2020
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@deads2k
Copy link
Author

deads2k commented Oct 15, 2020

fixed verify, relableing

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2020
@openshift-merge-robot openshift-merge-robot merged commit 9138396 into openshift:master Oct 15, 2020
@openshift-ci-robot
Copy link

@deads2k: All pull requests linked via external trackers have merged:

Bugzilla bug 1888663 has been moved to the MODIFIED state.

In response to this:

bug 1888663: wait for oauth-apiserver accessibility

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

@deads2k: new pull request created: #410

In response to this:

/cherrypick release-4.6

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-high Referenced Bugzilla bug's severity is high 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