Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4F1AEB5B for ; Mon, 28 Jan 2013 17:03:12 +0000 (UTC) Received: (qmail 73486 invoked by uid 500); 28 Jan 2013 17:03:12 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 73452 invoked by uid 500); 28 Jan 2013 17:03:12 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 73442 invoked by uid 99); 28 Jan 2013 17:03:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 17:03:12 +0000 Date: Mon, 28 Jan 2013 17:03:12 +0000 (UTC) From: "Marios Andreou (JIRA)" To: dev@deltacloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DTACLOUD-424) GET /api/storage_snapshots returns "Internal Server Error" (500 error) for Openstack MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou resolved DTACLOUD-424. ------------------------------------- Resolution: Fixed > 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