-
Notifications
You must be signed in to change notification settings - Fork 237
OCPBUGS-26008: installer pods: consider Pod
s with phase Failed
and no container statuses as terminated
#1967
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
base: master
Are you sure you want to change the base?
OCPBUGS-26008: installer pods: consider Pod
s with phase Failed
and no container statuses as terminated
#1967
Conversation
Signed-off-by: Bryce Palmer <[email protected]>
…t runtime Signed-off-by: Bryce Palmer <[email protected]>
@everettraven: This pull request references Jira Issue OCPBUGS-26008, which is invalid:
Comment 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: everettraven The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// TODO: Open Question - Should this be more nuanced? Under what conditions should this logic | ||
// _not_ apply? |
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.
This is an open question for reviewers - I couldn't think of any specific scenarios where this logic shouldn't apply, but I could definitely be missing something.
Signed-off-by: Bryce Palmer <[email protected]>
Not sure why unit tests failed here. Running /retest |
/retest |
@everettraven: all tests passed! 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. |
OCPBUGS-26008 identified an edge case where installer pods could get stuck and continuously time out while waiting for an installer pod that entered a state where it had a
.status.phase = Failed
with.status.reason = NodeShutdown
.Because the installer pods have a
restartPolicy = Never
, the installer pod in this case never ran and future installer pods were stuck waiting for the previous installer pod to get populated with container statuses. Because it failed due to aNodeShutdown
, the containers never ran and thus no container statuses were populated.This PR updates the logic installer pods use to check that all other installer pods are terminated to include installer pods with phase
Failed
and no container statuses populated as "terminated".