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 5EBBE911B for ; Wed, 7 Mar 2012 16:43:22 +0000 (UTC) Received: (qmail 73830 invoked by uid 500); 7 Mar 2012 16:43:22 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 73632 invoked by uid 500); 7 Mar 2012 16:43:21 -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 73603 invoked by uid 99); 7 Mar 2012 16:43:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 16:43:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 16:43:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E5D77E904 for ; Wed, 7 Mar 2012 16:42:57 +0000 (UTC) Date: Wed, 7 Mar 2012 16:42:57 +0000 (UTC) From: "Ramesh A (Updated) (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1029539386.34755.1331138577942.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DTACLOUD-9) deltacloud answers with redirect (302) if you try to start a stopped instance on ec2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DTACLOUD-9?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramesh A updated DTACLOUD-9: ---------------------------- Attachment: 501-Not Supported.png =20 > deltacloud answers with redirect (302) if you try to start a stopped inst= ance on ec2 > -------------------------------------------------------------------------= ----------- > > Key: DTACLOUD-9 > URL: https://issues.apache.org/jira/browse/DTACLOUD-9 > Project: DeltaCloud > Issue Type: Bug > Environment: deltacloud 0.0.9, REST API > Reporter: Andr=C3=A9 Dietisheim > Assignee: Ramesh A > Attachments: 501-Not Supported.png > > > if you try to start an instance on ec2 (REST API), deltacloud answers wit= h a redirect (302). IMHO the answer should be a 404, 405 or any other clien= t error (4xx) since ec2 does not allow to start instances that are stopped. > concrete example: > instance i-00e28a6d is stopped, but still visible on ec2. I now try to st= art it with the Deltacloud REST API: > Request to Deltacloud: > POST /api/instances/i-00e28a6d/start HTTP/1.1 > Response from Deltacloud: > Statuscode =3D 302 > Body =3D empty -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira