Handle terminate_connection() exception in volume manager

Bug #1263820 reported by ling-yun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
ling-yun

Bug Description

Due to the fact that we sometimes need to manually terminate a volume's connection through volume api, it's possile that these backend drivers throw exceptions while doing that. Currently exceptions are bubbled up to volume API and are not being handled. This patch logs exception in volume manager and then raises VolumeBackendAPIException to caller.

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

Reviewed: https://review.openstack.org/63862
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=1e73e64e7407294dc68af9c09323e2b396335c4a
Submitter: Jenkins
Branch: master

commit 1e73e64e7407294dc68af9c09323e2b396335c4a
Author: ling-yun <email address hidden>
Date: Tue Dec 24 11:45:16 2013 +0800

    Handle terminate_connection() exception in volume manager

    Due to the fact that we sometimes need to manually terminate a volume's
    connection through volume api, it's possile that these backend drivers
    throw exceptions while doing that. Currently exceptions are bubbled up to
    volume API not being handled. This patch logs exception in volume manager
    and then raises VolumeBackendAPIException to caller.

    Change-Id: If809f97998f52516af09ec21b3052b67d3a62f36
    Closes-bug: #1263820

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
importance: Undecided → Medium
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-2 → 2014.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.