Is it possible that "virsh destroy" does not stop a domain ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Oct 8 16:25:32 UTC 2020



----- On Oct 7, 2020, at 7:26 PM, Peter Crowther peter.crowther at 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 virsh destroy ever exits with a status other than zero, then
> you'll get that OCF error.

> Do you know what $VIRSH_OPTIONS ends up as in your Pacemaker config,
> particularly whether --graceful is specified?

> Cheers,

> - Peter


Hi Peter,

that means in the end that with "virsh destroy" i can't be 100% sure that a domain is stopped.
Is there another way ?

Bernd

Helmholtz Zentrum München

Helmholtz Zentrum München




More information about the libvirt-users mailing list