Public bug reported:

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)

** Affects: nova
     Importance: Low
         Status: New

** Changed in: nova
   Importance: Undecided => Low

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to