keystoneclient `user-get` unable to handle usernames containing utf-8 characters

Solution Verified - Updated -


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


-Red Hat Enterprise Linux OpenStack Platform 7.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In