Gnocchi Resource-type UPDATE is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnocchi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We are facing issue during setting of "Content-Type" while making request in server side(Openstack pike machine) for Gnocchi Resource-type updation for REST API calls only. Below are the stack-trace for reference.
17:37:54,975 INFO OpenstackTests:1045 - Resource Type name :: TestResource
INFO | 2018-04-06 17:37:54,975 | OpenstackTests.java | performGnocchiD
17:37:55,010 DEBUG HttpExecutor:52 - Executing Request with content-type: http://
DEBUG | 2018-04-06 17:37:55,010 | HttpExecutor.java | execute | 52 | Executing Request with content-type: http://
Apr 06, 2018 5:37:55 PM org.glassfish.
INFO: 1 * Sending client request on thread main
1 > PATCH http://
1 > Accept: application/json
1 > Content-Type: application/json
1 > User-Agent: ADARA CloudFabric
1 > X-Auth-Token: gAAAAABax2HICoT
[{"op":
Apr 06, 2018 5:37:55 PM org.glassfish.
INFO: 1 * Client response received on thread main
1 < 415
1 < Connection: Keep-Alive
1 < Content-Length: 67
1 < Content-Type: application/json
1 < Date: Fri, 06 Apr 2018 12:02:18 GMT
1 < Keep-Alive: timeout=5, max=99
1 < Server: Apache/2.4.18 (Ubuntu)
{"code": 415, "description": "", "title": "Unsupported Media Type"}
Content-type is getting over-ridden(
Need solution for this as soon as possible. Gnocchi 3.3.1 version being used for testing.