Volume remains in "Detaching" state if libvirtd goes down during detach volume

Bug #1101079 reported by Rohit Karajgi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Tushar Patil

Bug Description

If libvirtd is down, detaching volume makes the state of the volume stuck at "detaching".

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

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

Changed in nova:
assignee: nobody → Tushar Patil (tpatil)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/20047
Committed: http://github.com/openstack/nova/commit/2c5712a7911738edb71aa983449f8fc8b6ec7095
Submitter: Jenkins
Branch: master

commit 2c5712a7911738edb71aa983449f8fc8b6ec7095
Author: Tushar Patil <email address hidden>
Date: Wed Jan 23 01:40:04 2013 -0800

    Fixes unhandled exception in detach_volume

    * Fixes the use case where an exception should have been raised when libvirtd
    goes down and a volume is being detached.
    * Added unit tests for detach_volume, but skipped one unit test for compute
    cells as it is giving an error (TypeError: detach_volume() takes exactly
    3 arguments (4 given))

    Fixes bug #1101079
    Change-Id: I6d83947a0344c5f2d91014de6a2052a881198bb4

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-3 → 2013.1
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.