"openstack user show" command fails if user has non-Latin name or description
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Clients Snap |
Fix Released
|
Undecided
|
Billy Olsen |
Bug Description
$ snap list | grep clients
openstackclients ussuri 116 ussuri/stable canonical*
openstack user show abaev --domain 40ea7f882ee2453
http://
RESP: [200] Connection: Keep-Alive Content-Length: 632 Content-Type: application/json Date: Thu, 24 Jun 2021 15:01:07 GMT Keep-Alive: timeout=5, max=94 Server: Apache/2.4.41 (Ubuntu) Vary: X-Auth-Token x-openstack-
RESP BODY: {"users": [{"id": "bede3ae90cf87e
GET call to identity for http://
'ascii' codec can't encode characters in position 133-138: ordinal not in range(128)
Traceback (most recent call last):
File "/snap/
result = cmd.run(
File "/snap/
return super(Command, self).run(
File "/snap/
self.
File "/snap/
parsed_args)
File "/snap/
stdout.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 133-138: ordinal not in range(128)
clean_up ShowUser: 'ascii' codec can't encode characters in position 133-138: ordinal not in range(128)
END return value: 1
The same, but avoiding "description" field works fine:
$ os user show abaev --domain 40ea7f882ee2453
bede3ae90cf87e8
Changed in snap-openstackclients: | |
assignee: | nobody → Billy Olsen (billy-olsen) |
Changed in snap-openstackclients: | |
status: | In Progress → Fix Committed |
adding field-high, as this is affecting ongoing customer delivery.