Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37DFBDB62 for ; Thu, 7 Feb 2013 05:49:14 +0000 (UTC) Received: (qmail 21866 invoked by uid 500); 7 Feb 2013 05:49:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 21558 invoked by uid 500); 7 Feb 2013 05:49:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 21523 invoked by uid 99); 7 Feb 2013 05:49:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 05:49:12 +0000 Date: Thu, 7 Feb 2013 05:49:12 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-237) StopVMCommand reported success in spite of failing to stop a VM which got stuck during installation from an ISO 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/CLOUDSTACK-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav reassigned CLOUDSTACK-237: -------------------------------------- Assignee: (was: Rohit Yadav) > StopVMCommand reported success in spite of failing to stop a VM which got stuck during installation from an ISO > --------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-237 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-237 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: pre-4.0.0 > Reporter: Chandan Purushothama > Fix For: 4.1.0 > > > Tried to deploy a VM using openSUSE-12.2-DVD-x86_64 ISO. The installation got stuck midway after 21% of Installation. I tried to stop the VM in order to start the installation from the beginning. The StopVMCmd reported success but the VM is still in running state.I expected an error to be thrown on event of StopVMCmd Failure. > ============= > StopVMCmd Job: > ============= > 2012-09-28 15:28:27,893 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-24:null) submit async job-119, details: AsyncJobVO {id:119, userId: 3, accountId: 3, sessionKey: null, instanceType: VirtualMachine, instanceId: 16, cmd: com.cloud.api.commands.StopVMCmd, cmdOriginator: null, cmdInfo: {"id":"c5a25701-d6a9-46b8-adb7-9ac8d843d507","response":"json","sessionkey":"QrlDUGRAUpoIcM3AnFXDnRggcK4\u003d","ctxUserId":"3","_":"1348871599463","ctxAccountId":"3","ctxStartEventId":"438","forced":"false"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2012-09-28 15:28:27,896 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-119) Executing com.cloud.api.commands.StopVMCmd for job-119 > 2012-09-28 15:28:27,908 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-14:job-119) Access to VM[User|OpenSUSE-VM-1] granted to Acct[3-atoms] by DomainChecker > 2012-09-28 15:28:27,914 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-119) VM state transitted from :Running to Stopping with event: StopRequestedvm's original host id: 1 new host id: 1 host id before state transition: 1 > 2012-09-28 15:28:27,916 WARN [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-14:job-119) Unable to stop vm VM[User|OpenSUSE-VM-1] > 2012-09-28 15:28:27,921 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-119) VM state transitted from :Stopping to Running with event: OperationFailedvm's original host id: 1 new host id: 1 host id before state transition: 1 > 2012-09-28 15:28:27,933 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-119) Complete async job-119, jobStatus: 1, resultCode: 0, result: com.cloud.api.response.UserVmResponse@7e8c4906 > 2012-09-28 15:28:27,941 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-119) Done executing com.cloud.api.commands.StopVMCmd for job-119 > 2012-09-28 15:28:33,211 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-25:null) Async job-119 completed > ====== > Git Info: > ====== > Git Revision: 30b19887fd05c7694f8fdf45be9fe9b02d90b1d1 > Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira