Return-Path: Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: (qmail 32499 invoked from network); 23 Nov 2010 11:33:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 11:33:07 -0000 Received: (qmail 34133 invoked by uid 500); 23 Nov 2010 11:33:38 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 34059 invoked by uid 500); 23 Nov 2010 11:33:38 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 34051 invoked by uid 99); 23 Nov 2010 11:33:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 11:33:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 11:33:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oANBXEr6003595 for ; Tue, 23 Nov 2010 11:33:14 GMT Message-ID: <30234251.257251290511994578.JavaMail.jira@thor> Date: Tue, 23 Nov 2010 06:33:14 -0500 (EST) From: "Michal Fojtik (JIRA)" To: deltacloud-dev@incubator.apache.org Subject: [jira] Commented: (DTACLOUD-9) deltacloud answers with redirect (302) if you try to start a stopped instance on ec2 In-Reply-To: <22080129.232231290423193705.JavaMail.jira@thor> 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.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1293= 4809#action_12934809 ]=20 Michal Fojtik commented on DTACLOUD-9: -------------------------------------- Hi Andre, Fix for this issue is now available in our mailing list. Thanks for reporti= ng that. -- Michal > 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: David Lutterkort > > 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 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.