# Pastebin 9pmFpEkD Some detail about this bug: Nova can't detach volume in init host routine Scenario: 1. create a vm using bootable volume. 2. delete this vm 3. restart service nova-compute when vm's task state is deleting. When nova-compute is up, vm became deleted successful, but the bootable volume is still in-use state and can't delete it using cinder delete volume. solve method: Add init=True in _delete_instance when init_host, and raise exception when EndpointNotFound exists. It will set vm's status to error and make user can re-issue a delete.