Gnocchi Resources updation with new metric fails with 406 response if the Accept header is set to application/json through REST api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnocchi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Gnocchi Resources updation with new metric fails with 406 response if the Accept header is set to application/json through REST api.
While testing through curl command also, we got 206 error.
With out header "Accept: application/json"
curl -g -i -H 'X-Auth-Token: gAAAAABazzcY90b
HTTP/1.1 204 No Content
Date: Thu, 12 Apr 2018 10:44:19 GMT
Server: Apache/2.4.18 (Ubuntu)
With header "Accept: application/json"
curl -g -i -H 'X-Auth-Token: gAAAAABazzcY90b
HTTP/1.1 406 Not Acceptable
Date: Thu, 12 Apr 2018 11:33:43 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Length: 61
Content-Type: application/json
Presently using Gnocchi 3.3.1 version. Please let us know is this issue can be fixed & already working in some newer version builds.
Changed in gnocchi (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → New |