← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1662483] [NEW] detach_volume races with delete

 

Public bug reported:

If a client does:

nova volume-detach foo vol
nova delete foo

Assuming the volume-detach takes a moment, which it normally does, the
delete will race with it also also attempt to detach the same volume.
It's possible there are no side effects from this other than untidy log
messages, but this is difficult to prove.

I found this looking through CI logs.

Note that volume-detach can also race with other instance operations,
including itself. I'm almost certain that if you poke hard enough you'll
find some combination that breaks things badly.

** Affects: nova
     Importance: Undecided
     Assignee: Matthew Booth (mbooth-9)
         Status: In Progress

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

Title:
  detach_volume races with delete

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  If a client does:

  nova volume-detach foo vol
  nova delete foo

  Assuming the volume-detach takes a moment, which it normally does, the
  delete will race with it also also attempt to detach the same volume.
  It's possible there are no side effects from this other than untidy
  log messages, but this is difficult to prove.

  I found this looking through CI logs.

  Note that volume-detach can also race with other instance operations,
  including itself. I'm almost certain that if you poke hard enough
  you'll find some combination that breaks things badly.

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


Follow ups