Skip to content

Remove machine finalizer under machine health check test - #62

Closed
cynepco3hahue wants to merge 1 commit into
openshift:masterfrom
cynepco3hahue:increase_timeouts
Closed

cynepco3hahue wants to merge 1 commit into
openshift:masterfrom
cynepco3hahue:increase_timeouts

Conversation

@cynepco3hahue

@cynepco3hahue cynepco3hahue commented Apr 14, 2019 •

Copy link
Copy Markdown
Contributor

Possible the situation that finalizer remove fails, in this case, I still
want to pass the test and just to remove finalizer under the AfterEach
section.

@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: michaelgugino

If they are not already assigned, you can assign the PR to them by writing /assign @michaelgugino in a comment when ready.

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-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 14, 2019
@cynepco3hahue

Copy link
Copy Markdown
Contributor Author

/retest

Possible situation that finalizer remove fails, in this case I still
want to pass the test and just to remove finalizer under the AfterEach
section.
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 14, 2019
@cynepco3hahue cynepco3hahue changed the title Increase timeouts for tests that require node re-creation Remove machine finalizer under machine health check test Apr 14, 2019
@cynepco3hahue

Copy link
Copy Markdown
Contributor Author

@enxebre @ingvagabund Hm additional strange portion of logs

I0414 14:02:48.064880       1 machinehealthcheck_controller.go:247] No remediaton action was taken. Machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt with node ip-10-0-129-91.ec2.internal is healthy
...
W0414 14:03:30.745720       1 machinehealthcheck_controller.go:226] Machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt has unhealthy node ip-10-0-129-91.ec2.internal with the condition Ready and the timeout 300s for 745.711424ms. Requeuing...
...
W0414 14:03:30.751568       1 machinehealthcheck_controller.go:226] Machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt has unhealthy node ip-10-0-129-91.ec2.internal with the condition Ready and the timeout 300s for 751.558587ms. Requeuing...
...
W0414 14:03:36.093085       1 machinehealthcheck_controller.go:226] Machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt has unhealthy node ip-10-0-129-91.ec2.internal with the condition Ready and the timeout 300s for 6.09307686s. Requeuing...
...
I do not understand from where comming this re-queue, 5 minutes still not pass
W0414 14:06:26.962224       1 machinehealthcheck_controller.go:226] Machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt has unhealthy node ip-10-0-129-91.ec2.internal with the condition Ready and the timeout 300s for 2m56.962215706s. Requeuing...
...
and here it waited for 5 minutes
I0414 14:11:26.963016       1 machinehealthcheck_controller.go:216] machine ci-op-276h1nb1-79b09-26vpg-worker-us-east-1a-hbgnt has been unhealthy for too long, deleting
...

@cynepco3hahue

Copy link
Copy Markdown
Contributor Author

/retest

@enxebre

enxebre commented Apr 15, 2019

Copy link
Copy Markdown
Member

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2019
@openshift-ci-robot

Copy link
Copy Markdown

@cynepco3hahue: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-operator b2362ad link /test e2e-aws-operator

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.

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.

@vikaschoudhary16

Copy link
Copy Markdown
Contributor

I believe this PR is not required.
#60 (comment)

@cynepco3hahue

Copy link
Copy Markdown
Contributor Author

@vikaschoudhary16 I still do not understand from what is coming additional reconciliation under #62 (comment). Do you have any ideas?

@ingvagabund

Copy link
Copy Markdown
Member

No matter what is happening on the machine controller the side, removing the machine finalizer outside of the machine controller does not make sense.

@ingvagabund

Copy link
Copy Markdown
Member

As pointed out in #62 (comment) the HC controller starts deleting the machine after ~8m30s after noticing the machine is unhealthy. I don't see any connection with the finalizer here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants