Comment 4 for bug 1933109

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Actually oslo.config is doing it right. They are calling open() without specifying the encoding, so that it defaults to the platform's locale. [0]

Some people in the past have been successful at working around this by tweaking Keystone's code to set the default encoding. [1]

And in fact meanwhile several changes have been done in Keystone in this area. I would have expected at least versions of Keystone containing this patch [2] to behave properly, i.e. Keystone >= 15.0.0, i.e. OpenStack >= Stein. But you are hitting this in Ussuri, so I'm still digging.

[0] https://docs.python.org/3/library/functions.html#open
[1] https://bugs.launchpad.net/keystone/+bug/1641026/comments/3
[2] https://github.com/openstack/keystone/commit/eca0829c