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

Bug #1542413 reported by Jacob Gregor
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
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.

Tags: unicode
Jacob Gregor (jgregor)
Changed in cinder:
assignee: nobody → Jacob Gregor (jgregor)
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Medium
Changed in cinder:
status: New → Confirmed
Revision history for this message
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.

Revision history for this message
Jacob Gregor (jgregor) wrote :

Sheel,

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

Revision history for this message
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

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Owner Expired

Unassigning due to no activity.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.