[ https://issues.apache.org/jira/browse/DTACLOUD-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou reassigned DTACLOUD-424: --------------------------------------- Assignee: Marios Andreou (was: Joseph J. VLcek) > GET /api/storage_snapshots returns "Internal Server Error" (500 error) for > Openstack > ------------------------------------------------------------------------------------ > > Key: DTACLOUD-424 > URL: https://issues.apache.org/jira/browse/DTACLOUD-424 > Project: DeltaCloud > Issue Type: Bug > Components: Native/Frontend > Environment: Deltacloud 1.1.0 > Openstack provider > Ruby 1.9.3 > Reporter: Ronelle Landy > Assignee: Marios Andreou > > GET /api for Openstack returns the storage_snapshots collection. Querying > that collection throws a 500 error. Test > deltacloud/tests/deltacloud/storage_snapshts_test.rb errors out with the > following trace: > ************* > RestClient::InternalServerError: 500 Internal Server Error > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in > `return!' > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in > `process_result' > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in > `block in transmit' > /usr/share/ruby/net/http.rb:745:in `start' > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in > `transmit' > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in > `execute' > > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in > `execute' > /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient.rb:68:in `get' > /home/dcloud/workspace/deltacloud/tests/deltacloud/test_setup.rb:136:in > `get' > > /home/dcloud/workspace/deltacloud/tests/deltacloud/common_tests_collections.rb:76:in > `block (2 levels) in run_collection_and_member_tests_for' > ************* > cURL responses are included below: > >> curl -X GET --user "un:pw" > >> "http://ibm-x3550m3-07.lab.eng.brq.redhat.com:3003/api/storage_snapshots?format=json" > {"code":500,"message":"Internal Server > Error","error":"Deltacloud::Exceptions::BackendError"} > Error recorded on the server side: > 10.34.36.129 - - [16/Jan/2013 17:28:31] "GET > /api/storage_snapshots?format=xml HTTP/1.1" 500 380 2.4947 > E, [2013-01-16T17:28:45.086325 #14857] ERROR -- 500: > [Deltacloud::Exceptions::BackendError] Internal Server Error -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira