Skip to content

Make kube-api-server to return errors from healthcheck#585

Merged
mangelajo merged 1 commit intoopenshift:mainfrom
mangelajo:kube-api-server-return-errors
Feb 3, 2022
Merged

Make kube-api-server to return errors from healthcheck#585
mangelajo merged 1 commit intoopenshift:mainfrom
mangelajo:kube-api-server-return-errors

Conversation

@mangelajo
Copy link
Copy Markdown
Contributor

Signed-off-by: Miguel Angel Ajo majopela@redhat.com

Signed-off-by: Miguel Angel Ajo <majopela@redhat.com>
@openshift-ci openshift-ci Bot requested review from husky-parul and oglok January 27, 2022 17:31
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 28, 2022

@mangelajo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-rpm-install bcfc022 link false /test e2e-rpm-install

Full PR test history. Your PR dashboard.

Details

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.

@fzdarsky
Copy link
Copy Markdown
Contributor

Had to wrap my head around the various conditions on the error channel, but that makes much sense.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2022
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 28, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fzdarsky

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

The pull request process is described here

Details 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 openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2022
@fzdarsky
Copy link
Copy Markdown
Contributor

fzdarsky commented Jan 28, 2022

Just noticed that returning an error instead of panicing means the ServiceManager just logs the service as stopped (with error) but MicroShift continues running in an undefined state. Need to either panic on error here or globally.

@fzdarsky fzdarsky removed the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2022
@copejon
Copy link
Copy Markdown
Contributor

copejon commented Jan 28, 2022

/retest

@mangelajo
Copy link
Copy Markdown
Contributor Author

mangelajo commented Feb 2, 2022

Just noticed that returning an error instead of panicing means the ServiceManager just logs the service as stopped (with error) but MicroShift continues running in an undefined state. Need to either panic on error here or globally.

Not after #575 , I think it's ok now to move back to LGTM :-)

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants