Skip to content

Poll for server start using impersonation#17613

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
stevekuznetsov:skuznets/server-startup-logic
Dec 5, 2017
Merged

Poll for server start using impersonation#17613
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
stevekuznetsov:skuznets/server-startup-logic

Conversation

@stevekuznetsov
Copy link
Copy Markdown
Contributor

When we poll for server start on /healthz and/or /healthz/ready with
the administrative $KUBECONFIG we do so as part of the
system:masters group and therefore the response fromt these endpoints
will succeed before the RBAC system is initialized as we bypass it.
Using impersonation here allows the poll on these endpoints to not only
wait for the server to start but also to wait for the RBAC
initialization.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com

/cc @liggitt @deads2k @enj
Fixes #17574

When we poll for server start on `/healthz` and/or `/healthz/ready` with
the administrative `$KUBECONFIG` we do so as part of the
`system:masters` group and therefore the response fromt these endpoints
will succeed before the RBAC system is initialized as we bypass it.
Using impersonation here allows the poll on these endpoints to not only
wait for the server to start but also to wait for the RBAC
initialization.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 5, 2017
@stevekuznetsov stevekuznetsov added area/tests kind/bug Categorizes issue or PR as related to a bug. kind/test-flake Categorizes issue or PR as related to test flakes. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. priority/P0 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 5, 2017
@enj
Copy link
Copy Markdown
Contributor

enj commented Dec 5, 2017

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 5, 2017
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enj, stevekuznetsov

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@stevekuznetsov
Copy link
Copy Markdown
Contributor Author

/retest
#17556

@openshift-merge-robot
Copy link
Copy Markdown
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot
Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue.

@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 3, 2018

/cherrypick release-3.8

@openshift-cherrypick-robot
Copy link
Copy Markdown

@liggitt: new pull request created: #17975

Details

In response to this:

/cherrypick release-3.8

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 added a commit that referenced this pull request Jan 5, 2018
…-17613-to-release-3.8

Automatic merge from submit-queue.

[release-3.8] Poll for server start using impersonation

This is an automated cherry-pick of #17613

/assign liggitt
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. area/tests kind/bug Categorizes issue or PR as related to a bug. kind/test-flake Categorizes issue or PR as related to test flakes. lgtm Indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. priority/P0 size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants