Nested metadata to volume causes an internal server error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
luqitao |
Bug Description
When we try setting nested metadata to a volume, an internal server error is returned.
---
$ curl -g -i -X POST http://
-H "Content-Type: application/json" -H "Accept: application/json" -H \
"X-Auth-Token: ${TOKEN}" \
-d '{"metadata": {"x": "1", "y": {"aa":"bb"}}}'
HTTP/1.1 500 Internal Server Error
Content-Length: 128
Content-Type: application/json
X-Compute-
X-Openstack-
Date: Fri, 12 May 2017 11:54:11 GMT
{"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
---
We're going to set such metadata when ironic attaches or detaches a volume.
[1] https:/
[2] https:/
summary: |
- Neted metadata to volume causes an internal server error + Nested metadata to volume causes an internal server error |
Changed in cinder: | |
status: | New → Confirmed |
assignee: | nobody → luqitao (qtlu) |
Fix proposed to branch: master /review. openstack. org/465829
Review: https:/