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

Support Only reboot Action #54

Merged
merged 4 commits into from
Jul 27, 2023

Conversation

razo7
Copy link
Member

@razo7 razo7 commented Jun 8, 2023

Support only reboot action - we build the FA command with reboot action, when --action equals to reboot or this attribute is missing (since reboot is the default action), otherwise we return an error and end reconcile

ECOPROJECT-1323

EDIT: Another valid action use case could be the off which ensure fencing, just without recovering the node. When then the admin/user will be responsible to turn the node on (or to recover the node) after a possible further investigation.

@openshift-ci openshift-ci bot requested review from beekhof and mshitrit June 8, 2023 10:30
@openshift-ci openshift-ci bot added the approved label Jun 8, 2023
@razo7
Copy link
Member Author

razo7 commented Jun 8, 2023

E2E test is expected to fail as we don't support reboot action in E2E. Hopefully with the merge of #20 the E2E test could be tested.
/hold

@razo7 razo7 changed the title Verify Fence Agent CLI Output [WIP] Verify Fence Agent CLI Output Jun 8, 2023
@razo7 razo7 changed the title [WIP] Verify Fence Agent CLI Output [WIP] Support Only reboot Action Jun 8, 2023
@razo7 razo7 mentioned this pull request Jun 15, 2023
@razo7 razo7 changed the title [WIP] Support Only reboot Action Support Only reboot Action Jun 28, 2023
@razo7
Copy link
Member Author

razo7 commented Jul 24, 2023

/retest

Raise a warning when a different action was asked, and either way try to reboot the node
Check on Reconcile that stdout from running the FA equlas to SuccessFAResponse
We log an error prior to every time that the function returns an error
@razo7 razo7 force-pushed the verify-cli-output branch 2 times, most recently from 3c0722d to a5f4761 Compare July 26, 2023 05:01
@razo7
Copy link
Member Author

razo7 commented Jul 26, 2023

/retest

Limit the usage of FAs to reboot action only
@mshitrit
Copy link
Member

/lgtm

@razo7
Copy link
Member Author

razo7 commented Jul 26, 2023

/unhold

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: razo7, slintes

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

@razo7
Copy link
Member Author

razo7 commented Jul 27, 2023

/retest

@openshift-merge-robot openshift-merge-robot merged commit a033de0 into medik8s:main Jul 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants