← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1215012] Re: _reschedule_or_error will detach other instances' volumes on Cinder side

 

patch was abandoned, marking as invalid

** Changed in: nova
       Status: In Progress => Invalid

-- 
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/1215012

Title:
  _reschedule_or_error will detach other instances' volumes on Cinder
  side

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  _reschedule_or_error will detach other instances' volumes on Cinder
  side

  The bug is related to the bug#1195947:
  https://bugs.launchpad.net/nova/+bug/1195947.

  When a user creates (in error) an instance using volumes which is already in use by another instance,
  the error is correctly detected, but the _reschedule_or_error function will incorrectly detach all BDM-volumes given in request, regardless off whether each volume has been attached to instance or not.

  It'll rewrite the record on the Cinder side, cause the conflict.

  So we need a protection here, volume-rollback would only permit to
  detach the volume which is truly belonging to the instance.

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