[openstack-dev] [nova][libvirt] why use domain destroy instead of shutdown?

Day, Phil philip.day at hp.com
Fri Jul 4 10:06:06 UTC 2014


Hi Melanie,

I have a BP (https://review.openstack.org/#/c/89650) and the first couple of bits of implementation (https://review.openstack.org/#/c/68942/  https://review.openstack.org/#/c/99916/) out for review on this very topic ;-)

Phil

> -----Original Message-----
> From: melanie witt [mailto:melwitt at outlook.com]
> Sent: 04 July 2014 03:13
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: [openstack-dev] [nova][libvirt] why use domain destroy instead of
> shutdown?
> 
> Hi all,
> 
> I noticed in nova/virt/libvirt/driver.py we use domain destroy instead of
> domain shutdown in most cases (except for soft reboot). Is there a special
> reason we don't use shutdown to do a graceful shutdown of the guest for
> the stop, shelve, migrate, etc functions? Using destroy can corrupt the guest
> file system.
> 
> Thanks,
> Melanie



More information about the OpenStack-dev mailing list