Unable to use 4-bytes unicode when creating volume, volume_type, CG, etc

Bug #1542413 reported by Jacob Gregor on 2016-02-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Medium
Unassigned

Bug Description

Currently users are unable to use 4-byte unicode characters for operations, such as creating a volume or volume_type. This is because currently our DB's character set is set to utf8, which does not support characters larger than 3 bytes. This is a known issue, as there are other bugs addressing this, as listed below.

https://bugs.launchpad.net/cinder/+bug/1531400
https://bugs.launchpad.net/cinder/+bug/1393871

However the solutions proposed to these bugs are preventing the user from hitting this issue. A way to allow the users to use 4-byte unicode characters would be to update the DB to use utf8mb4 instead of utf8.

Jacob Gregor (jgregor) on 2016-02-05
Changed in cinder:
assignee: nobody → Jacob Gregor (jgregor)
Jay Bryant (jsbryant) on 2016-02-05
Changed in cinder:
importance: Undecided → Medium
Changed in cinder:
status: New → Confirmed
Sheel Rana (ranasheel2000) wrote :

Dear Jacob,

Thanks for raising this, I too agree with this approach.
(But we have to see the pros and cons of same).

To discuss this further with our smart guys and for confirmation of approach, I have kept this topic for discussion in next Cinder meeting.
Please join, lets discuss and fix this.

Jacob Gregor (jgregor) wrote :

Sheel,

Thanks for adding this topic to the weekly meeting! I am looking forward to discussing this with everyone.

Sheel Rana (ranasheel2000) wrote :

As discussed in cinder meeting, we should discuss this in cross project as well because this problem would be occurring in all components.

BP Link for this support in Cinder:
https://blueprints.launchpad.net/cinder/+spec/handling-4-byte-unicode

Unassigning due to no activity.

Changed in cinder:
assignee: Jacob Gregor (jgregor) → nobody
Eric Harney (eharney) on 2017-05-11
tags: added: unicode
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers