<div dir="ltr"><div>Hi everyone.<br><br>I am playing Openstack with lates code version.<br>I want to know your ideas about below case.<br>Now, when I boot VM from volume with down of cinder-api, openstack returns 400.<br>It seems incompatibility in this case.<br>
When HTTPClient exception ocuured, it should return 500Internal server error.<br>In fact, Nova turned into normal responses from HTTPClient exception.<br><br></div>API respons<br><div>----------<br>< HTTP/1.1 400 Bad Request<br>
< Content-Length: 135<br>< Content-Type: application/json; charset=UTF-8<br>< X-Compute-Request-Id: req-969ae498-0273-4b06-8c69-edc1875aa0b7<br>< Date: Tue, 08 Oct 2013 06:12:22 GMT<br>< <br>* Connection #0 to host localhost left intact<br>
* Closing connection #0<br>{"badRequest": {"message": "Block Device Mapping is Invalid: failed to get volume 063495f6-bff8-4b4d-b63e-41fd6305753e.", "code": 400}}<br>----------<br><br>
</div><div>nova-api log<br></div><div>----------<br>2013-10-08 15:12:22.867 DEBUG cinderclient.client [-] Connection refused: HTTPConnectionPool(host='192.168.58.132', port=8776): Max retries exceeded with url: /v1/a4a70325190b4163baf4ca9138fb2d5f/volumes/063495f6-bff8-4b4d-b63e-41fd6305753e (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED) from (pid=4886) _cs_request /opt/stack/python-cinderclient/cinderclient/client.py:197<br>
----------<br><br>Or does anyone know any bug report like this?<br>Feel free to comment or any feedback.<br><br><br><br>Best regards,<br> Yasunori Jitsukawa<br></div></div>