Hitachi: wrong exception when deleted volume is busy

Bug #2024418 reported by Atsushi Kawai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Unassigned

Bug Description

When delete_volume() is called and the deleted volume is busy,
Hitachi Cinder driver should be issued the exception with the name ``VolumeIsBusy``,
but ``VolumeDriverException`` is issued.
User would be confused by wrong exception.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/885986

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
tags: added: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/885986
Committed: https://opendev.org/openstack/cinder/commit/a0d075219a1776f255e44982ffae652d5ab80506
Submitter: "Zuul (22348)"
Branch: master

commit a0d075219a1776f255e44982ffae652d5ab80506
Author: Atsushi Kawai <email address hidden>
Date: Tue Jun 20 19:24:01 2023 +0900

    Hitachi: Fix exception when deleted volume is busy

    This patch is to fix an exception name when deleted volume is busy
    in delete_volume().
    Although exception ``VolumeIsBusy`` should be issued in that case,
    ``VolumeDriverException`` is issued. It should be fixed.

    Closes-Bug: #2024418
    Change-Id: I5405790c7cd4ca513ceea70380be723a54c3fe3c

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 24.0.0.0rc1

This issue was fixed in the openstack/cinder 24.0.0.0rc1 release candidate.

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.