Distinguishing between host and guest initiated VM shutdown

Daniel P. Berrangé berrange at redhat.com
Thu Aug 27 08:11:01 UTC 2020


On Thu, Aug 27, 2020 at 10:06:25AM +0200, Milan Zamazal wrote:
> "Daniel P. Berrange" <dan at berrange.com> writes:
> 
> > On Wed, Aug 26, 2020 at 10:35:22PM +0200, Milan Zamazal wrote:
> >> Hi,
> >> 
> >
> >> we have a problem in oVirt that highly available VMs don't restart after
> >> host poweroff because Vdsm identifies the case as a user initiated
> >> shutdown (https://bugzilla.redhat.com/1800966).
> >> 
> >> When poweroff is run on the host, libvirt-guests service takes an
> >> action.
> >
> > If oVirt is initiating a graceful host shutdown, 
> 
> I meant host shutdown not initiated by oVirt.

Well oVirt still knows at any point in time what VMs are currently
running on a host, so if it sees the host shutdown, it already
knows that needs restarting.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list