Creating volume_types, CGs, encryption-type, backup, QoS with unicode name fails with 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Eric Harney |
Bug Description
Below operations are getting failed with (HTTP 500) in case unicode 4 byte characters are used:
1. backup-create Creates a volume backup.
2. cgsnapshot-create Creates a cgsnapshot.
3. consisgroup-create Creates a consistency group.
4. create Creates a volume.
5. encryption-
6. qos-create Creates a qos specs.
7. snapshot-create Creates a snapshot.
8. type-create Creates a volume type.
9. update/edit of entities mentioned in step1-8 update/edit name.
( is already taken care)
Update/Edit volume + Point number 4 and point number 7 are taken care in https:/
Same fix can be used to facilitate these APIs as well to handle 4 byte unicode characters in synced manner.
Details of error(using type-create with 4 byte unicode characters):
root@sheelrana-
DEBUG:keystonec
DEBUG:keystonec
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG:keystonec
DEBUG:keystonec
DEBUG:keystonec
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-6c7fdb08-
Changed in cinder: | |
status: | New → Confirmed |
description: | updated |
description: | updated |
Changed in cinder: | |
assignee: | Eric Harney (eharney) → Mannu (mannu-ray) |
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
assignee: | Mannu (mannu-ray) → Eric Harney (eharney) |
This problem for snapshot and volumes are taken care in https:/ /bugs.launchpad .net/cinder/ +bug/1393871
Same fix can be used to facilitate other APIs to handle unicode characters in synced manner.
I will submit patch once fix for https:/ /bugs.launchpad .net/cinder/ +bug/1393871 is released..