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 450A79D12 for ; Wed, 7 Mar 2012 19:59:18 +0000 (UTC) Received: (qmail 21007 invoked by uid 500); 7 Mar 2012 19:59:18 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 20980 invoked by uid 500); 7 Mar 2012 19:59:18 -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 20970 invoked by uid 99); 7 Mar 2012 19:59:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 19:59:18 +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 19:59:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00A8CE44C for ; Wed, 7 Mar 2012 19:58:56 +0000 (UTC) Date: Wed, 7 Mar 2012 19:58:56 +0000 (UTC) From: "David Lutterkort (Commented) (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1897703512.35852.1331150337004.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DTACLOUD-41) RHEVM driver returns 500 Internal Server Error if a instance name has been entered > 50chars MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DTACLOUD-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224652#comment-13224652 ] David Lutterkort commented on DTACLOUD-41: ------------------------------------------ This is not the desired result - we want a nice 400 Bad Request as the return code, with an explanation in the body that the name was too long and is restricted to 50 chars > RHEVM driver returns 500 Internal Server Error if a instance name has been entered > 50chars > -------------------------------------------------------------------------------------------- > > Key: DTACLOUD-41 > URL: https://issues.apache.org/jira/browse/DTACLOUD-41 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Reporter: Martyn Taylor > Assignee: Ramesh A > Attachments: error-message.png > > Original Estimate: 24h > Remaining Estimate: 24h > > On an instance create request for server using RHEV-M backend, when trying to create with an instance name > 50 chars. The Server returns an Internal Server Error HTTP 500. This is because the RHEV-M backend does not support Instances names of this length. > Some validation Checks should be applied before requests are sent to the RHEV-M backend to make sure that these errors do not occur and to make sure a relevant Error message is returned to the client -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira