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 7B7499926 for ; Wed, 11 Jul 2012 10:08:36 +0000 (UTC) Received: (qmail 36749 invoked by uid 500); 11 Jul 2012 10:08:36 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 36172 invoked by uid 500); 11 Jul 2012 10:08:35 -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 36141 invoked by uid 99); 11 Jul 2012 10:08: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 10:08:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id CC716142822 for ; Wed, 11 Jul 2012 10:08:34 +0000 (UTC) Date: Wed, 11 Jul 2012 10:08:34 +0000 (UTC) From: "Christian Karnath (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1027796197.34508.1342001314838.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=13411369#comment-13411369 ] Christian Karnath commented on DTACLOUD-257: -------------------------------------------- Hi Marios, the ON-issues are strange. The issue regarding listing all instances happened to me either until I created an instance via sunstone at http://sunstone.c12g.com. After deleting the instance via sunstone this issue was gone: curl -H "X-Deltacloud-Driver: opennebula" -H "X-Deltacloud-Provider: http://occi.c12g.com" -v -u "USER:PASS" http://localhost:3001/api/instances?format=xml * About to connect() to localhost port 3001 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 3001 (#0) * Server auth using Basic with user 'USER' > GET /api/instances?format=xml HTTP/1.1 > Authorization: Basic PASS > User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 > Host: localhost:3001 > Accept: */* > X-Deltacloud-Driver: opennebula > X-Deltacloud-Provider: http://occi.c12g.com > < HTTP/1.1 200 OK < ETag: "570ed38a6c6833d613702672e262c5ed" < X-Frame-Options: sameorigin < X-Backend-Runtime: 0.357523918151855 < X-XSS-Protection: 1; mode=block < Content-Type: application/xml < Date: Wed, 11 Jul 2012 09:46:55 GMT < Content-Length: 65 < Server: Apache-Deltacloud/1.0.0 < Cache-Control: max-age=0, private, must-revalidate < Connection: keep-alive < * Connection #0 to host localhost left intact * Closing connection #0 Moreover I couldn't reproduce the stop-issue. Stopping (and starting/rebooting) an ON-instance just works fine at the moment. Another issue I currently have with ON is that the destroy-action isn't populated: one-2723 karnath STOPPED > 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 > > 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