-
Notifications
You must be signed in to change notification settings - Fork 165
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
OCPBUGS-34525: Add "check-api-lb" subcommand #1678
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vrutkovs 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 |
8576a70
to
4b4bb2e
Compare
pkg/cmd/checkapilb/cmd.go
Outdated
|
||
attempt := 0 | ||
return wait.PollImmediateUntil(time.Second, func() (done bool, err error) { | ||
retryCtx, retryCancel := context.WithTimeout(context.Background(), time.Second) |
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.
A 1 second context timeout seems too short.
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.
Right, I can make it 5 secs just to be safe
we need to check the @tkashem has a bash version in openshift/installer#8429 |
This command is used by bootstrap to verify that bootstrap instance is ready to be shutdown
@vrutkovs: The following tests failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
@vrutkovs: This pull request references Jira Issue OCPBUGS-34525, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Done |
/test e2e-aws-ovn-single-node |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
This command is used by bootstrap to verify that bootstrap instance is ready to be shutdown.
Similar to installer bash script, this checks that
kubernetes
endpoint has at least 2 entries andapi
/api-int
endpoints can doget
using installer kubeconfig.Tested via
test e2e 4.16,https://github.com/openshift/cluster-kube-apiserver-operator/pull/1678,https://github.com/openshift/installer/pull/8404 vsphere
Do we want to switch to endpointslices to get information about endpoint readiness?