[
https://issues.apache.org/jira/browse/DTACLOUD-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michal Fojtik resolved DTACLOUD-9.
----------------------------------
Resolution: Fixed
Assignee: Michal Fojtik (was: David Lutterkort)
This issue should be resolved now. Andre?
> deltacloud answers with redirect (302) if you try to start a stopped instance
> 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é Dietisheim
> Assignee: Michal Fojtik
>
> if you try to start an instance on ec2 (REST API), deltacloud answers with a
> redirect (302). IMHO the answer should be a 404, 405 or any other client
> 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 start
> it with the Deltacloud REST API:
> Request to Deltacloud:
> POST /api/instances/i-00e28a6d/start HTTP/1.1
> Response from Deltacloud:
> Statuscode = 302
> Body = empty
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira