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.
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 /bugs.launchpad .net/keystone/ +bug/1641026/ comments/ 3 /github. com/openstack/ keystone/ commit/ eca0829c
[1] https:/
[2] https:/