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 1814589: [OCPCLOUD-774] Add Node startup timeout API field #501

Merged

Conversation

JoelSpeed
Copy link
Contributor

@JoelSpeed JoelSpeed commented Feb 27, 2020

This allows users to set the previously hard coded timeoutForMachineToHaveNode value in the machine health checking algorithm as part of the MachineHealthCheckSpec.

If the value is not set, we default to the original hard coded 10 minute timeout.

Ideally the field would be a metav1.Duration but I've put it as a string because of the same reasons as the UnhealthyCondition.Timeout field.

/cherry-pick release-4.4

/cc @enxebre

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 27, 2020
@JoelSpeed
Copy link
Contributor Author

/retest

@enxebre
Copy link
Member

enxebre commented Mar 3, 2020

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enxebre

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2020
@enxebre
Copy link
Member

enxebre commented Mar 3, 2020

@bison PTAL

@enxebre
Copy link
Member

enxebre commented Mar 6, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 6, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@JoelSpeed
Copy link
Contributor Author

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 8fff6d5 into openshift:master Mar 6, 2020
@openshift-ci-robot
Copy link
Contributor

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

Test name Commit Details Rerun command
ci/prow/e2e-azure f0ce33e link /test e2e-azure

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@JoelSpeed JoelSpeed deleted the node-startup-timeout branch March 9, 2020 09:02
@JoelSpeed
Copy link
Contributor Author

/cherry-pick release-4.4

@openshift-cherrypick-robot

@JoelSpeed: new pull request created: #523

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.

@JoelSpeed JoelSpeed changed the title [OCPCLOUD-774] Add Node startup timeout API field Bug 1814589: [OCPCLOUD-774] Add Node startup timeout API field Mar 18, 2020
@openshift-ci-robot
Copy link
Contributor

@JoelSpeed: All pull requests linked via external trackers have merged. Bugzilla bug 1814589 has been moved to the MODIFIED state.

In response to this:

Bug 1814589: [OCPCLOUD-774] Add Node startup timeout API field

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.

@JoelSpeed
Copy link
Contributor Author

/cherry-pick release-4.4

@openshift-cherrypick-robot

@JoelSpeed: #501 failed to apply on top of branch "release-4.4":

Applying: Use NodeStartupTimeout from MHC rather than const
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pkg/controller/machinehealthcheck/machinehealthcheck_controller.go
M	pkg/controller/machinehealthcheck/machinehealthcheck_controller_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/controller/machinehealthcheck/machinehealthcheck_controller_test.go
CONFLICT (content): Merge conflict in pkg/controller/machinehealthcheck/machinehealthcheck_controller_test.go
Auto-merging pkg/controller/machinehealthcheck/machinehealthcheck_controller.go
CONFLICT (content): Merge conflict in pkg/controller/machinehealthcheck/machinehealthcheck_controller.go
Patch failed at 0002 Use NodeStartupTimeout from MHC rather than const

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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants