I think removing that block of code makes sense.

However, a few lines below, I would add a try/except around the call to
self.driver.destroy().   It looks like it could raise if the instance is
not created at the driver level, which could be the case for an instance
that's in ERROR state.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954692

Title:
  cannot detach volume from terminated instance

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/954692/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to