keystoneclient tenant-get and tenant-delete with unicode name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Won't Fix
|
Medium
|
Unassigned | ||
python-openstackclient |
Invalid
|
Low
|
Unassigned |
Bug Description
If a unicode name is used with tenant-get or tenant-delete on the CLi instead of the "id", keystone client errors with an ascii decode error as shown in this example (standard Devstack on ubuntu 12.04). Looking at the keystone logs, it appears that this is an issue with how keystoneclient translates the name to the ID, as the logs do not show a call made for delete, just the initial list call.
Test below included fixes from https:/
vagrant@
+------
| Property | Value |
+------
| description | |
| enabled | True |
| id | b8d413a42cfa47e
| name | testソ十豹c |
+------
vagrant@
+------
| id | name | enabled |
+------
| b60d9e044297448
| a19965cdd7124bb
| fd336109933d49f
| 7d0f69c7c41844d
| c09ec3902d034ba
| b8d413a42cfa47e
+------
vagrant@
'ascii' codec can't decode byte 0xe3 in position 13: ordinal not in range(128)
vagrant@
'ascii' codec can't decode byte 0xe3 in position 13: ordinal not in range(128)
vagrant@
vagrant@
+------
| id | name | enabled |
+------
| b60d9e044297448
| a19965cdd7124bb
| fd336109933d49f
| c09ec3902d034ba
| b8d413a42cfa47e
+------
vagrant@
vagrant@
+------
| id | name | enabled |
+------
| b60d9e044297448
| a19965cdd7124bb
| fd336109933d49f
| c09ec3902d034ba
+------
Changed in python-keystoneclient: | |
importance: | Undecided → Medium |
Changed in python-keystoneclient: | |
assignee: | nobody → Jaime Gil de Sagredo (jaimegildesagredo) |
Changed in python-openstackclient: | |
importance: | Undecided → Low |
Changed in python-openstackclient: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
Changed in python-keystoneclient: | |
assignee: | Wu Wenxiang (wu-wenxiang) → nobody |
Fix proposed to branch: master /review. openstack. org/64966
Review: https:/