← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1489304] Re: Lack of volume status checks when detaching volume in rebuild.

 

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

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

Title:
  Lack of volume status checks when detaching volume in rebuild.

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) stein series:
  Fix Released
Status in OpenStack Compute (nova) train series:
  Fix Released
Status in OpenStack Compute (nova) ussuri series:
  Fix Released

Bug description:
  Currently, when rebuilding an instance with volume attached, the Nova
  compute manager will directly call _detach_volume() which will skip
  the checks of volume status (volume_api.check_detach) and setting the
  volume to 'detaching' (volume_api.begin_detaching) at Cinder side.
  This is different with the normal volume detach process.

  Besides, when rebuilding, we should only allow detaching the volume
  with in-use status, volume in status such as 'retyping' should not
  allowed.

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


References