Crashing on non-ascii resource property keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Fix Released
|
Undecided
|
Roman Bogorodskiy |
Bug Description
keystoneclient gets broken when setting resource properties with non-ascii keys. Here's a quick way to reproduce.
1. openstack project set --property тест=бебебе my_project # works fine
2. openstack project list # fails with:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
#
Full traceback attached.
Fix proposed to branch: master /review. openstack. org/374552
Review: https:/