{"body":"Some detail about this bug: \n\nNova can't detach volume in init host routine\n\nScenario:\n1. create a vm using bootable volume.\n2. delete this vm\n3. restart service nova-compute when vm's task state is deleting.\nWhen nova-compute is up, vm became deleted successful, but the bootable\nvolume is still in-use state and can't delete it using cinder delete volume.\nsolve method:\nAdd init=True in _delete_instance when init_host, and raise exception\nwhen EndpointNotFound exists. It will set vm's status to error and\nmake user can re-issue a delete.","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/9pmFpEkD","modified":1429516275,"id":"9pmFpEkD","size":541,"lines":14,"own_paste":false,"theme":"","date":1429516275}