cinder v3 for listing volumes throws python error on image_metadata based filtering

Bug #1657650 reported by Vivek Agrawal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
High
Vivek Agrawal

Bug Description

1. Create a volume
2. Populate image/glace metadata for the volume say key1 with value value1
3. Query using following command for above volume
cinder --os-volume-api-version 3.0 list --image_metadata key1=value1

output of the command is 'ERROR: global name 'shell' is not defined'

Changed in python-cinderclient:
assignee: nobody → Vivek Agrawal (vivek-agrawal)
Eric Harney (eharney)
Changed in python-cinderclient:
importance: Undecided → High
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/422744

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/422744
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=f08ecd29ade3c8917f4fa317ebbd7fdefc7a09cf
Submitter: Jenkins
Branch: master

commit f08ecd29ade3c8917f4fa317ebbd7fdefc7a09cf
Author: Vivek Agrawal <email address hidden>
Date: Thu Jan 19 08:20:09 2017 -0800

    Fix v3 volume list based on image_metadata

    volume list filtered on image_metadata does not work as expected.
    The filtering based on image_metadata depended on non existent
    utility for extracting image_metadata.
    Fixed the issue by calling appropriate utility module
    for extracting image_metadata. Looks like a typo.

    Change-Id: I13e78277fc1afd22d044bb49b6a5ccc00904228c
    Closes-bug: #1657650

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.

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.