various md-* create and update api's return 500 error if 4 bytes unicode characters is passed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Bhagyashri Shewale |
Bug Description
md-* create and update apis are returning 500 error when you pass 4 bytes unicode characters in the request.
Steps to reproduce:
$ glance md-object-create --schema '{}' --name 🚓 <namespace>
or
$ curl -g -i -X POST http://
Result:
Traceback (most recent call last):
File "/usr/local/
args.
File "/usr/local/
**fields)
File "/usr/local/
self.
File "/usr/local/
return self.request(url, 'PUT', **kwargs)
File "/usr/local/
return self._handle_
File "/usr/local/
raise exc.from_
HTTPInternalSer
performing the requested operation. (HTTP 500) 500 Internal Server Error: The server has either erred or is
incapable of performing the requested operation. (HTTP 500)
List of APIs failing:
1. md-namespace-create
2. md-namespace-update
3. md-property-create
4. md-property-update
5. md-object-create
6. md-object-update
7. md-tag-create
8. md-tag-update
Changed in glance: | |
assignee: | nobody → Bhagyashri Shewale (bhagyashri-shewale) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/306424
Review: https:/