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 649C6D7BF for ; Wed, 11 Jul 2012 14:12:40 +0000 (UTC) Received: (qmail 31777 invoked by uid 500); 11 Jul 2012 14:12:38 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 31314 invoked by uid 500); 11 Jul 2012 14:12:36 -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 31203 invoked by uid 99); 11 Jul 2012 14:12:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 14:12:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1809514052D for ; Wed, 11 Jul 2012 14:12:35 +0000 (UTC) Date: Wed, 11 Jul 2012 14:12:34 +0000 (UTC) From: "Christian Karnath (JIRA)" To: dev@deltacloud.apache.org Message-ID: <2143902320.35448.1342015955102.JavaMail.jiratomcat@issues-vm> In-Reply-To: <210303150.13535.1341571954763.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (DTACLOUD-257) opennebula driver stop instance request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411540#comment-13411540 ] Christian Karnath commented on DTACLOUD-257: -------------------------------------------- this updated patch works well and i think we can close this ticket. 'deleting while running' works fine and this seems to be the intended behaviour > opennebula driver stop instance request > --------------------------------------- > > Key: DTACLOUD-257 > URL: https://issues.apache.org/jira/browse/DTACLOUD-257 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: ruby1.8, deltacloud-core-1.0.0, deltacloud-core-head > Reporter: Christian Karnath > Assignee: Marios Andreou > Attachments: 0001-Updates-for-Opennebula-driver-brings-compatibility-f.patch > > > When POSTing /api/instances//stop on a running instance against the opennebula-driver the following error occurs: > Deltacloud::ExceptionHandler::ProviderError - [VirtualMachineAction] Wrong state to perform action > I am running ruby 1.8.7 and requesting with cURL: > curl -H "X-Deltacloud-Driver: opennebula" -H "X-Deltacloud-Provider: http://occi.c12g.com" -v -u xxx:yyy http://localhost:3001/api/instances/2660/stop -d" " -- 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