medik8s / fence-agents-remediation

Kubernetes Operator for providing high availability between nodes by automatically remediating them using well-known fence-agents.
https://www.medik8s.io/
Apache License 2.0
9 stars 8 forks source link

Rework running Fence Agent command #106

Closed clobrano closed 8 months ago

clobrano commented 9 months ago

Run the fence agent command asynchronously in a dedicated goroutine on the same controller's container. The goroutine is also responsible to update FAR status with the command outcome. For this reason two new Status Conditions have been added to take into account fence agents failures or timeouts.

The fence agent command has three new, optional, Spec values:


TODO

openshift-ci[bot] commented 9 months ago

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

openshift-ci[bot] commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano

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: - ~~[OWNERS](https://github.com/medik8s/fence-agents-remediation/blob/main/OWNERS)~~ [clobrano] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
clobrano commented 9 months ago

/test

openshift-ci[bot] commented 9 months ago

@clobrano: The /test command needs one or more targets. The following commands are available to trigger required jobs:

Use /test all to run all jobs.

In response to [this](https://github.com/medik8s/fence-agents-remediation/pull/106#issuecomment-1820849765): >/test Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
clobrano commented 9 months ago

/test 4.15-openshift-e2e

clobrano commented 9 months ago

Working on a different approach for testing, so you might want to wait before reviewing this PR

clobrano commented 9 months ago

/test 4.14-openshift-e2e

mshitrit commented 9 months ago

Working on a different approach for testing, so you might want to wait before reviewing this PR

Might want to add a [WIP] suffix on the PR until ready for review

clobrano commented 9 months ago

/test 4.14-openshift-e2e

clobrano commented 9 months ago

/test 4.14-openshift-e2e

clobrano commented 9 months ago

/retest

clobrano commented 9 months ago

/test 4.14-openshift-e2e

clobrano commented 9 months ago

/retest

clobrano commented 8 months ago

/retest

clobrano commented 8 months ago

/retest

razo7 commented 8 months ago

/lgtm

clobrano commented 8 months ago

/hold waiting for @mshitrit feedback on his change request

clobrano commented 8 months ago

/retest

clobrano commented 8 months ago

/retest

razo7 commented 8 months ago

/lgtm

mshitrit commented 8 months ago

I'm unholding this PR since only contain Nits and it has an E2E fix which is relevant for other PRs. As @clobrano mentioned in case needed it can be addressed in followup PR. /unhold