It is possible to create objects in OpenStack with Unicode symbols and it will corrupt everything
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Dmitry Burmistrov | ||
7.0.x |
Fix Released
|
High
|
Rodion Tikunov | ||
8.0.x |
In Progress
|
High
|
MOS Maintenance | ||
9.x |
Fix Released
|
High
|
Dmitry Burmistrov |
Bug Description
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "529"
build_id: "529"
fuel-nailgun_sha: "baec8643ca624e
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "e2d79330d5d708
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "e071216cb214e3
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "a365f05b903368
Steps to reproduce:
1. Login into Horizon and create new instance with name: "試験画像".
Excepted result:
successfully created and launched
Actual result:
Error: Failed to perform requested operation on instance "試験画像", the instance has an error status: Please try again later [Error: Build of instance ada6a494-
Traceback from nova logs:
http://
2. Trying to create a new instance with normal name: "test_instance". (floating bug, does not always reproduced).
Excepted result:
successfully created and launched
Actual result:
Error: Failed to perform requested operation on instance "test_instance", the instance has an error status: Please try again later [Error: Build of instance d45a597f-
3. Go to controller by ssh use this command:
root@node-1:~# source openrc
root@node-1:~# nova list
Excepted result:
root@node-1:~# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 250e4f81-
| d45a597f-
| 2c564921-
+------
Actual result:
root@node-1:~# nova list
ERROR (UnicodeEncodeE
4. Go to controller by ssh use this command:
root@node-1:~# glance image-create --name 試験画像
root@node-1:~# glance image-list
Excepted result:
root@node-1:~# glance image-list
+------
| ID | Name |
+------
| 237c056a-
| 93104584-
+------
Actual result:
root@node-1:~# glance image-create --name 試験画像
'ascii' codec can't encode characters in position 621-624: ordinal not in range(128)
root@node-1:~# glance image-list
'ascii' codec can't encode characters in position 301-304: ordinal not in range(128)
The same problems with the other remaining MOS components.
I think that unicode locale must be installed in order to avoid such problems.
summary: |
- It is possible to create objects in OpenStack with unicode symbols and - it will corrupt everythink + It is possible to create objects in OpenStack with Unicode symbols and + it will corrupt everything |
tags: | added: customer-found |
tags: |
added: 8.0 release-notes-done removed: release-notes |
tags: | added: on-verification |
This must not be critical (please see importance levels definition here https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Confirm_ and_triage_ bugs ), as there is a work around: set the correct locale manually.
Moreover, this is misleading: the failures in clients you shown *must not* boot of instances - it fails on displaying the output to CLI. OpenStack APIs must work correctly.