Comment 5 for bug 1404020

Revision history for this message
Ankit Agrawal (ankitagrawal) wrote :

This issue is not reproducible using cinder list command after above cinderclient patch I0bdad6d61da83a3924a6b18678afe4722b5778d6 is merged. To reproduce this issue in cinder we need to hit following curl command with "name" as a sort key.

$ cinder list --name vol-1
Response: Returns cinder list with a valid response.

$ curl -g -i -X GET http://10.69.4.150:8776/v2/98b3825991904b4db7f277400aa25bef/volumes/detail?sort_key=name -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: <auth token>"

Response:
HTTP/1.1 500 Internal Server Error
Content-Length: 128
Content-Type: application/json; charset=UTF-8
X-Compute-Request-Id: req-cd271d92-2f83-490e-86ea-9a7049954ef2
X-Openstack-Request-Id: req-cd271d92-2f83-490e-86ea-9a7049954ef2
Date: Mon, 06 Jul 2015 08:38:27 GMT

{"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}