keystoneclient `user-get` unable to handle usernames containing utf-8 characters
Issue
Because user-get is supposed to handle fetching a user by id or by name the first thing it tries to do is fetch a user by ID. When this name is UTF-8 this fails because there is no support for fetching objects by id with utf-8 (because there will never be a utf-8 id number).
The client needs to compensate for this by first percent encoding the name before it attempts to do a get by id.
test string:
keystone user-get ñew
Environment
-Red Hat Enterprise Linux OpenStack Platform 7.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
