Volume detach will be attempted if volume stats is "in-use" OR attach_status is "attached"

Bug #1337088 reported by Ryan McNair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Ryan McNair

Bug Description

In begin_detaching, the detach will be attempted if volume state is "in-use" OR attach_status is "attached" but the error message states that detach will only be attempted if volume state is "in-use" AND attach_status is "attached"

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/104445

Changed in cinder:
assignee: nobody → Ryan McNair (rdmcnair)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/104445
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=87cd23419bdd5724e742eda21bc23876b558e0d1
Submitter: Jenkins
Branch: master

commit 87cd23419bdd5724e742eda21bc23876b558e0d1
Author: Ryan McNair <email address hidden>
Date: Thu Jul 3 04:35:05 2014 +0000

    Fix begin_detach logic

    Fix begin_detach logic so it checks that a volume is in-use AND
    attached.

    Change-Id: I6f0e584070a5fc02c55c26ea92cb8b0c2a2cda3e
    Closes-Bug: #1337088

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.