Start a Conversation

Unsolved

46 Posts

1823

August 21st, 2018 14:00

XtremIO performance returning Bad Request : Object_not_found for some volumes

I am using the REST API for collecting performance information and noticed that if I query performance data for certain volumes, the response is returned as "Response code 400, msg : Bad Request" (obj_not_found).

Why would that happen. I do see that volumes in the list of volumes ?

Also case where volumes are returning performance data, if I club them with the REST URL with volumes giving Bad Request, that URL also gives me Bad Request.

e.g

v1: gets back performance data

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minute&from-time=2018-08-16%2020:23:59&to-time=2018-08-16%2020:38:59&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&prop=avg__avg_latency&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__logical_space_in_use&prop=avg__bw&obj-list=v1

v2: Gives back Bad Request

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minute&from-time=2018-08-16%2020:23:59&to-time=2018-08-16%2020:38:59&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&prop=avg__avg_latency&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__logical_space_in_use&prop=avg__bw&obj-list=v2

v1 and v2 in the below : Gives back Bad Request

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minute&from-time=2018-08-16%2020:23:59&to-time=2018-08-16%2020:38:59&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&prop=avg__avg_latency&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__logical_space_in_use&prop=avg__bw&obj-list=v2&obj-list=v1

If there are no objects specified, the v2 (which was giving Bad request) has entries in the response with null values.

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minute&from-time=2018-08-16%2020:23:59&to-time=2018-08-16%2020:38:59&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&prop=avg__avg_latency&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__logical_space_in_use

Due to above, I am not able to query with specific objects in my query.

Is this a bug or is there any other way to get data?

No Responses!
No Events found!

Top