cinder snapshot listing does not work with metadata

Bug #1569554 reported by Vivek Agrawal
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Wishlist
Vivek Agrawal
python-cinderclient
Fix Released
Wishlist
Vivek Agrawal

Bug Description

cinder snapshot listing does not work with metadata of the snapshot. It will be nice to support filtering based on snapshot metadata.

Revision history for this message
Vivek Agrawal (vivek-agrawal) wrote :

This is an enhancement.

Eric Harney (eharney)
Changed in cinder:
importance: Undecided → Wishlist
Changed in cinder:
assignee: nobody → Vivek Agrawal (vivek-agrawal)
Changed in cinder:
status: New → In Progress
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/378105

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

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

commit f5cdbe8f74e64ce912e875141c2e092655988344
Author: Vivek Agrawal <email address hidden>
Date: Tue Sep 27 17:36:41 2016 -0700

    Adds metadata in search option for snapshot

    With this change one should be able to search snapshots
    based on snapshot metadata keys too.
    Adding test cases for querying snapshot based on
    metadata. Adding support to API V3.
    Adding a new microversion for this.

    DocImpact
    APIImpact
    Closes-Bug: #1569554

    Change-Id: I7f3a8b9eea69e4320ac7c394910278807a0ce100

Changed in cinder:
status: In Progress → Fix Released
Eric Harney (eharney)
Changed in python-cinderclient:
importance: Undecided → Wishlist
Changed in python-cinderclient:
assignee: nobody → Vivek Agrawal (vivek-agrawal)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

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

Changed in python-cinderclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/417537
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=056cf5c0591465dadd5017be9349d8f272fdddd0
Submitter: Jenkins
Branch: master

commit 056cf5c0591465dadd5017be9349d8f272fdddd0
Author: Vivek Agrawal <email address hidden>
Date: Fri Jan 6 13:29:40 2017 -0800

    Metadata based snapshop filtering

    The snpapshot-list API for cinder gives a list of snapshots based
    on certain criteria to the user. From microversion 3.22 onwards
    the snapshot-list API has been enhanced to support snapshot list
    filtering based on metadata of snapshots. The metadata is stored
    as key-value pair for every snapshot.
    With this commit cinder will be queried based on metadata key and
    value specified in the API snaphot-list. All the snapshots which
    match the key, value provided by the user along with any other
    filter criteria will be returned.
    Added the test cases for the CLI and web requests.

    DocImpact: "Filters results by a metadata key and value pair.
    Default=None." on cinder snapshot-list
    APIImpact

    Closes-bug: #1569554

    Change-Id: Idec0d0d02e7956843f202508e32c023c3cafbb0f

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

This issue was fixed in the openstack/python-cinderclient 1.11.0 release.

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

This issue was fixed in the openstack/cinder 10.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.