volume list should allow filtering on "size"

Bug #1827733 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Eric Harney

Bug Description

cinder --debug list --filters name=b size=2

Sends GET volumes/detail?name=b&size=2

But server returns 400 "message": "Invalid filters size are found in query options."

This is because "size" is not in the default resource_filters.json.

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

Changed in cinder:
assignee: nobody → Eric Harney (eharney)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit b7a7ac7b5af0eacb9bbf4144013ea93257043653
Author: Eric Harney <email address hidden>
Date: Sat May 4 10:37:40 2019 -0600

    Allow filtering on size for volume list

    "size" should be a filterable field.

    Closes-Bug: #1827733
    Change-Id: If43f136b28aef0efccd37184c01e8617d62bb46c

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

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