list api's doesn't support unicode character values for the filters parameters

Bug #1668955 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-masakariclient
Invalid
Undecided
Bhagyashri Shewale

Bug Description

If user passes unicode character values as filters to the list api's, it gives following error on the console.

Error: 'ascii' codec can't encode character u'\xf6' in position 0: ordinal not in range(128)

Steps to reproduce:

For example:

List the segment hosts by passing the non-ascii value to the filter parameters

$ openstack segment host list <segment_host_id> e9f282db-57e3-4edd-82bc-11b0dc7d15b2 --filter on_maintenance <unicode_value>

Error message:

'ascii' codec can't encode character u'\xf6' in position 0: ordinal not in range(128)

Changed in python-masakariclient:
assignee: nobody → Bhagyashri Shewale (bhagyashri-shewale)
Changed in python-masakariclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-masakariclient (master)

Change abandoned by Bhagyashri Shewale (<email address hidden>) on branch: master
Review: https://review.opendev.org/447442

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

It got invalidated by the move to py3 with full unicode support.

Changed in python-masakariclient:
status: In Progress → Invalid
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.