23.10.2020 21:08, Lentes, Bernd пишет:
> 
> Surprisingly if the virsh destroy is successfull the RA waits until the 
> domain isn't running anymore:
> 
...
> 
> I need someting like that which waits for some time (maybe 30s) if the domain 
> nevertheless stops although
> "virsh destroy" gaves an error back. Because the SIGKILL is delivered if the 
> process wakes up from D state.

So why not ignore virsh error and just wait always? You probably need to
retain "domain not found" exit condition still.
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to