Proper error message to user in case 4 byte unicode characters are used for entity names.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Stephen Finucane |
Bug Description
mysql database does not support 4 byte unicode due to its utf8 character set.
If any operation is executed with 4byte unicode name, it reports 500 error without any proper error message to user.
This will be confusing for user as no information is present about why this issue occurred.
Please refer below for details:
nova secgroup-create sheel π
ERROR (ClientException): Unexpected API Error. Please report this at http://
<class 'oslo_db.
Bug can be reproduced by simply using 4byte unicode characters in name of security group.
This is 100% reproducible.
Changed in nova: | |
assignee: | nobody → Sheel Rana (ranasheel2000) |
description: | updated |
summary: |
- Use 4 byte unicode for entity names in mysql + Proper error message to user in case 4 byte unicode characters are used + for entity names. |
tags: | added: api |
Changed in nova: | |
importance: | Undecided → Low |
tags: |
added: db removed: compute |
Changed in nova: | |
assignee: | Sheel Rana (ranasheel2000) → Hussain Chachuliya (hussainchachuliya) |
Changed in nova: | |
assignee: | Hussain Chachuliya (hussainchachuliya) → Takashi NATSUME (natsume-takashi) |
Changed in nova: | |
assignee: | Takashi NATSUME (natsume-takashi) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | Confirmed → In Progress |
This is a feature request. If you'd like to move forward with using 4-byte unicode characters on the backend, please submit a spec for doing so. If the issue is that the returned error is confusing and you'd like that improved, that is a valid bug and this issue can be reopened with that as the bug description.