-
Notifications
You must be signed in to change notification settings - Fork 164
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
[Question] About forcibly stopping a virtual machine with fence_kubevirt. #615
Comments
Can you test this patch (you might also need to update the openshift library for it to work)? |
Hi @oalbrigt Thank you for your comment and for providing the patch. I'll take a little time to check the patch. Many thanks, |
Hi @oalbrigt We confirmed the operation in an OCP 4.17 environment with the RHEL9.5 bundled version and the PR applied version.
Apparently, this forced stop is not effective in an OCP 4.17 environment. As of now, we are unable to check the released OCP 4.18 as we are unable to prepare the environment. However, we may be able to check for OCP 4.18 in the near future, so please leave this issue and the fix PR open. Best Regards, |
We have tested, and it doesnt work, while it works from virtctl on same setup, so I have created an issue to get it fixed (or suggestion how to use it) in the kubernetes repo: |
Hi @oalbrigt
Okay! Hideo Yamauchi. |
Hi All,
The fence_kubevirt STONITH off operation performs a shutdown operation on the STONITH target.
The shutdown operation does not stop immediately, so it takes long time until Fail Over.
The virtctl command, which is a management command, has a forced stop function, so it seems possible to stop a virtual machine immediately.
I am not familiar with the kubevirt API, but would it be possible to improve the operation of fence_kubevirt's STONITH so that it stops instantly, like an operation from virtctl?
(Alternatively, it would be useful to have an option to stop it immediately.)
Best Regards,
Hideo Yamauchi.
The text was updated successfully, but these errors were encountered: