Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow power_off when instance doesn't exist
Certain errors that can occur while booting an instance may leave no VM on the Xen hypervisor. This can make that instance undeletable, since the first step in soft_delete() is to power_off the instance, and nothing catches the NotFound error thrown if the instance doesn't exist. The libvirt support handles the case of a non-existant instance by ignoring NotFound--after all, a non-existant instance is, by definition, powered off, right? Fixes bug 1029132. Change-Id: I5bffe3b61fe92fc32fb70cab941fa5ecd250df77
- Loading branch information