2 Iron

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_minut...

v2: Gives back Bad Request

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minut...

v1 and v2 in the below : Gives back Bad Request

https://xio01/api/json/v2/types/performance?cluster-name=xio1116&entity=Volume&granularity=one_minut...

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_minut...

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?

Reply