← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1341738] Re: Multiple delete_on_terminate volumes may not get deleted

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1341738

Title:
  Multiple delete_on_terminate volumes may not get deleted

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  There's no catching of exceptions in _cleanup_volumes in
  compute/manager.py so a raised exception will short circuit cleaning
  up later volumes.

      def _cleanup_volumes(self, context, instance_uuid, bdms):
          for bdm in bdms:
              LOG.debug("terminating bdm %s", bdm,
                        instance_uuid=instance_uuid)
              if bdm.volume_id and bdm.delete_on_termination:
                  self.volume_api.delete(context, bdm.volume_id)

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


References