cinder get-pools --filters doesn't support Unicode

Bug #1701427 reported by junboli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
junboli

Bug Description

$ cinder get-pools --filters name~=美国
  usage: cinder get-pools [--detail] [--filters [<key=value> [<key=value> ...]]]
  error: argument --filters: invalid str value: u'name~=\u7f8e\u56fd'
  Try 'cinder help get-pools' for more information.

This needs to support Unicode args, since the fields in the Cinder service support Unicode.

junboli (junboli)
Changed in python-cinderclient:
assignee: nobody → junboli (junboli)
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/479122

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

commit a87622ead5b3bc3dc2573aae134fb8a3971861eb
Author: junboli <email address hidden>
Date: Fri Jun 30 11:13:03 2017 +0800

    Fix support for Unicode value filters

    Cinder supports Unicode value filters for API get-pools, therefore,
    Here needs to support Unicode value filters as well.

    Change-Id: I51df61f9465d84c408fc057443a37834c453de41
    Closes-Bug: #1701427

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 3.1.0

This issue was fixed in the openstack/python-cinderclient 3.1.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.