Displaying 2 results from an estimated 2 matches for "ocf_exit_reason".
2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
...;*"domain is not running"*|*"error:"*"domain not found"*|\
*"error:"*"failed to get domain"*)
: ;; # unexpected path to the intended outcome, all is well sucess
[!0]*)
ocf_exit_reason "forced stop failed" # <============ fail of destroy seems to be possible
return $OCF_ERR_GENERIC ;;
0*)
while [ $status != $OCF_NOT_RUNNING ]; do
VirtualDomain_status...
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
...quot;*|*"error:"*"domain not
> found"*|\
> *"error:"*"failed to get domain"*)
> : ;; # unexpected path to the intended outcome,
> all is well sucess
> [!0]*)
> ocf_exit_reason "forced stop failed" #
> <============ fail of destroy seems to be possible
> return $OCF_ERR_GENERIC ;;
> 0*)
> while [ $status != $OCF_NOT_RUNNING ]; do
> VirtualDomain_st...