You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
We confirmed the operation in an OCP 4.17 environment with the RHEL9.5 bundled version and the PR applied version.
After causing a kernel panic on the VM targeted for STONITH, we executed fence_kubevirt off from the command line on the other node.
@RHEL9.5 bundled version
[root@rh95-01 ~]# time fence_kubevirt --namespace ocp-virt -o off -n ocp-rh95-02 --disable-timeout=1
Success: Powered OFF
real 3m12.882s
user 0m0.567s
sys 0m0.052s
@PR applied version
[root@rh95-01 ~]# time fence_kubevirt_test --namespace ocp-virt -o off -n ocp-rh95-02 --disable-timeout=1
Success: Powered OFF
real 3m4.811s
user 0m0.553s
sys 0m0.046s
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.
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: