Keystone does not properly work with Cyrillic symbols in the names of users and projects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Sergii Rizvan |
Bug Description
Detailed bug descriptions:
Keystone does not properly work with entities that contain Cyrillic symbols.
Steps to reproduce:
Create a project and a user with Cyrillic symbols in their names and try getting information about them using OpenStack client.
root@node-4:~# openstack --version
openstack 2.2.0
root@node-4:~# openstack project list
+------
| ID | Name |
+------
| 28ec4991faf3473
| 58fbda8b4a9448f
| 7606f7402449411
| 971404618a5a41c
+------
root@node-4:~# openstack project show "тестовый проект"
No tenant with a name or ID of 'тестовый проект' exists.
root@node-4:~# openstack project show 28ec4991faf3473
+------
| Field | Value |
+------
| description | описание для тестового проекта |
| enabled | True |
| id | 28ec4991faf3473
| name | тестовый проект |
| properties | |
+------
root@node-4:~# openstack project show "test project"
+------
| Field | Value |
+------
| description | None |
| enabled | True |
| id | 971404618a5a41c
| name | test project |
| properties | |
+------
root@node-4:~# openstack user list
+------
| ID | Name |
+------
| 6df7e27730934dc
| 4bb08cb7f2fd4e4
| 8a54f738fc5a431
| 829a3ed118ef433
| bf00a5fbe0ef4d4
| bfd525b63773418
| c2bc873f4a10435
| 4ef354b6b8fa475
| 6a08298a8443429
| 62f3049fcb924c9
| 6a919aba817b492
| 861e9c1760844dd
+------
root@node-4:~# openstack user show "тестовый пользователь"
No user with a name or ID of 'тестовый пользователь' exists.
root@node-4:~# openstack user show 62f3049fcb924c9
+------
| Field | Value |
+------
| email | None |
| enabled | True |
| id | 62f3049fcb924c9
| name | тестовый пользователь |
| project_id | 28ec4991faf3473
| username | тестовый пользователь |
+------
root@node-4:~# openstack user show "test user"
+------
| Field | Value |
+------
| email | None |
| enabled | True |
| id | 6a919aba817b492
| name | test user |
| project_id | 971404618a5a41c
| username | test user |
+------
root@node-4:~#
Expected result: There should not be any difference in processing of entities with different code sets.
Workaround: Use ID of users and projects.
Changed in mos: | |
status: | Incomplete → Confirmed |
importance: | Undecided → Medium |
assignee: | Anatolii Neliubin (aneliubin) → MOS Maintenance (mos-maintenance) |
milestone: | none → 9.x-updates |
Changed in mos: | |
assignee: | MOS Maintenance (mos-maintenance) → Sergii Rizvan (srizvan) |
Anatoly, what locale you use?