You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "David Lutterkort (JIRA)" <ji...@apache.org> on 2011/04/02 00:47:05 UTC

[jira] [Created] (DTACLOUD-30) RAX: invalid create_instance request leads to internal server error

RAX: invalid create_instance request leads to internal server error
-------------------------------------------------------------------

                 Key: DTACLOUD-30
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-30
             Project: DeltaCloud
          Issue Type: Bug
            Reporter: David Lutterkort
            Assignee: David Lutterkort


Create a new instance by posting to /api/instances with image_id=58&name=test.instance

Results in a 500 error
  Deltacloud::BackendError - No offering found for flavor 1 and option 12:

The request should result in some sort of bad request status code. Not sure if 400 is right here, since RFC 2616 says that that indicates a syntactically malformed request; but haven't found a better 4xx error code. Should dig a little to see what other REST API's do

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DTACLOUD-30) RAX: invalid create_instance request leads to internal server error

Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014872#comment-13014872 ] 

Adrian Cole commented on DTACLOUD-30:
-------------------------------------

+1 to a 400 code

> RAX: invalid create_instance request leads to internal server error
> -------------------------------------------------------------------
>
>                 Key: DTACLOUD-30
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-30
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: David Lutterkort
>            Assignee: David Lutterkort
>
> Create a new instance by posting to /api/instances with image_id=58&name=test.instance
> Results in a 500 error
>   Deltacloud::BackendError - No offering found for flavor 1 and option 12:
> The request should result in some sort of bad request status code. Not sure if 400 is right here, since RFC 2616 says that that indicates a syntactically malformed request; but haven't found a better 4xx error code. Should dig a little to see what other REST API's do

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira