search for: force_stop

Displaying 3 results from an estimated 3 matches for "force_stop".

2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
...ruptible sleep). So if the process of the domain is in "D" state, it can't be finished. Right ? Pacemaker tries to shutdown or destroy a domain with a resource agent, which is a shell script, similar to an init script. Here is an excerp from the resource agent for virtual domains: force_stop() { local out ex translate local status=0 ocf_log info "Issuing forced shutdown (destroy) request for domain ${DOMAIN_NAME}." out=$(LANG=C virsh $VIRSH_OPTIONS destroy ${DOMAIN_NAME} 2>&1) # hier wird die domain destroyed ex=$?...
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
Bernd, another option would be a mismatch between the message that "virsh destroy" issues and the message that force_stop() in the pacemaker agent expects to receive. Pacemaker is trying to determine the success or failure of the destroy based on the concatenation of the text of the exit code and the text output by virsh; if either of those have changed between virsh versions, and especially if virsh destroy ever exi...
2020 Oct 08
1
Re: Is it possible that "virsh destroy" does not stop a domain ?
----- On Oct 7, 2020, at 7:26 PM, Peter Crowther peter.crowther@melandra.com wrote: > Bernd, another option would be a mismatch between the message that "virsh > destroy" issues and the message that force_stop() in the pacemaker agent > expects to receive. Pacemaker is trying to determine the success or failure of > the destroy based on the concatenation of the text of the exit code and the > text output by virsh; if either of those have changed between virsh versions, > and especially if vir...