Re: [Openstack] virt driver interface and exceptions

2011-12-04 Thread Vishvananda Ishaya
IIRC it was to ensure that the instance could be deleted from the db even if the virt layer didn't know about it. It seems equally valid to raise an exception and catch it in manager and continue the delete process. Vish On Dec 4, 2011, at 7:30 AM, Mark Washenberger wrote: > Team, > > I was

[Openstack] virt driver interface and exceptions

2011-12-04 Thread Mark Washenberger
Team, I was poking around in nova/virt/driver.py and found this comment: def destroy(self, instance, network_info, block_device_info=None, cleanup=True): """Destroy (shutdown and delete) the specified instance. If the instance is not found (for example if netw