_show_msg_check_clone_v2_api only catches AttributeError

Bug #1942210 reported by Sofia Enriquez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Sofia Enriquez

Bug Description

_show_msg_check_clone_v2_api won't log the message for any exception raised by `op_features` other than AttributeError.

Tags: rbd snapshot
Changed in cinder:
status: New → In Progress
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :
summary: - _show_msg_check_clone_v2_api raise AttributeError
+ _show_msg_check_clone_v2_api only catches AttributeError
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit 98acb8222135ed01d0d89c5f49247b4fd7d85add
Author: Sofia Enriquez <email address hidden>
Date: Tue Feb 23 00:24:55 2021 +0000

    RBD: Fix _show_msg_check_clone_v2_api

    There might be a case where the exception raised by `op_features`
    could be other than AttributeError. When any exception other than
    AttributeError is raised, we should log and avoid raising an
    exception.

    Closes-Bug: #1942210
    Co-Authored-By: Gorka Eguileor <email address hidden>
    Change-Id: I513abe980b73d7e7b1a3cd9c7ff89490f7fd6b08

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

This issue was fixed in the openstack/cinder 21.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.