-
Notifications
You must be signed in to change notification settings - Fork 448
OCPEDGE-2188: embed fencing validator into TNF MCO #5285
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
OCPEDGE-2188: embed fencing validator into TNF MCO #5285
Conversation
Signed-off-by: nhamza <[email protected]>
@Neilhamza: This pull request references OCPEDGE-2188 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@Neilhamza: This pull request references OCPEDGE-2188 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, I had some suggestions and questions. This is my initial pass, I'll give it another review once I deploy and test it on a cluster.
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: nhamza <[email protected]>
Signed-off-by: nhamza <[email protected]>
@Neilhamza: This pull request references OCPEDGE-2188 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@Neilhamza: This pull request references OCPEDGE-2188 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had some more minor suggestinos
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: nhamza <[email protected]>
Signed-off-by: nhamza <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, had some small suggestions
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Show resolved
Hide resolved
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: nhamza <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
templates/master/00-master/two-node-with-fencing/files/fencing-validator.yaml
Show resolved
Hide resolved
/test e2e-metal-ovn-two-node-fencing |
/lgtm |
/approve |
@pablintino: This PR has been marked as verified by In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eggfoobar, Neilhamza, pablintino 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 |
/retest-required |
@Neilhamza: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
b0470ee
into
openshift:main
What I did
Added a new MachineConfig template file under templates/master/00-master/two-node-with-fencing/files/ that installs the fencing_validator.sh script to /usr/local/bin/ on control-plane nodes for Two-Node Fencing clusters.
How to verify it
Deploy a Two-Node Fencing cluster.
Verify the MachineConfig for masters includes the new file.
On a master node, run:
oc debug node/ -- chroot /host ls -l /usr/local/bin/fencing_validator
oc debug node/ -- chroot /host /usr/local/bin/fencing_validator --help
copy it into the hypervisor:
oc debug node/ -- chroot /host cat /usr/local/bin/fencing_validator > fencing_validator
chmod +x fencing_validator
The script should be present, executable (0755), and runnable.
Ship /usr/local/bin/fencing_validator.sh via MCO for Two-Node Fencing clusters.