'RBDDriver' object has no attribute 'get_manageable_snapshots'

Bug #1796784 reported by LIU Yulong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sean McGinnis

Bug Description

ENV: stable/queens
exception:
'RBDDriver' object has no attribute 'get_manageable_snapshots'

LOG:
http://paste.openstack.org/show/731727/

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/608988

Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
status: New → In Progress
Revision history for this message
Eric Harney (eharney) wrote :

The RBD driver supports this functionality in Rocky:
    https://review.openstack.org/#/c/552936/

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

Reviewed: https://review.openstack.org/608988
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=b07c91abda47abb3432759f8a68625ce2585f823
Submitter: Zuul
Branch: master

commit b07c91abda47abb3432759f8a68625ce2585f823
Author: Sean McGinnis <email address hidden>
Date: Tue Oct 9 08:44:17 2018 -0500

    Handle drivers that do not support list manageable

    Listing manageable volumes and snapshots is not a required feature for
    drivers and not all of them support it. If a user attempts to list
    objects when using a backend that does not support it, they currently
    get a somewhat cryptic and internally-exposing error message:

    AttributeError: 'RBDDriver' object has no attribute 'get_manageable_snapshots'

    This updates the manager to better handle the case where a driver does
    not support listing volumes and snapshots.

    Closes-bug: #1796784

    Change-Id: Ib6cdbe22ad22841c7a166f722eee981913396af4
    Signed-off-by: Sean McGinnis <email address hidden>

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/639753

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 14.0.0.0rc1

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/rocky)

Reviewed: https://review.openstack.org/639753
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d7c240f01a763273353b8bc07d880479941d6b84
Submitter: Zuul
Branch: stable/rocky

commit d7c240f01a763273353b8bc07d880479941d6b84
Author: Sean McGinnis <email address hidden>
Date: Tue Oct 9 08:44:17 2018 -0500

    Handle drivers that do not support list manageable

    Listing manageable volumes and snapshots is not a required feature for
    drivers and not all of them support it. If a user attempts to list
    objects when using a backend that does not support it, they currently
    get a somewhat cryptic and internally-exposing error message:

    AttributeError: 'RBDDriver' object has no attribute 'get_manageable_snapshots'

    This updates the manager to better handle the case where a driver does
    not support listing volumes and snapshots.

    Closes-bug: #1796784

    Change-Id: Ib6cdbe22ad22841c7a166f722eee981913396af4
    Signed-off-by: Sean McGinnis <email address hidden>
    (cherry picked from commit b07c91abda47abb3432759f8a68625ce2585f823)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.5

This issue was fixed in the openstack/cinder 13.0.5 release.

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.