Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1B9310B17 for ; Thu, 25 Jul 2013 09:29:54 +0000 (UTC) Received: (qmail 76359 invoked by uid 500); 25 Jul 2013 09:29:52 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 76347 invoked by uid 500); 25 Jul 2013 09:29:52 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 76297 invoked by uid 500); 25 Jul 2013 09:29:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 76282 invoked by uid 99); 25 Jul 2013 09:29:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 09:29:50 +0000 Date: Thu, 25 Jul 2013 09:29:50 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-3712) unable to update service offerings of stopped system vms;com.cloud.exception.InvalidParameterValueException: unable to find a virtual machine with id 3 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-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719432#comment-13719432 ] ASF subversion and git services commented on CLOUDSTACK-3712: ------------------------------------------------------------- Commit 1f64354ec830db6e30c17ec6e4a6d8c33f2e10da in branch refs/heads/master from [~nitinme] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1f64354 ] CLOUDSTACK-3712 Use Vminstance instead of user vm for scaling stopped vms. Signed off by : nitin mehta > unable to update service offerings of stopped system vms;com.cloud.exception.InvalidParameterValueException: unable to find a virtual machine with id 3 > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3712 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3712 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: prashant kumar mishra > Assignee: Nitin Mehta > Priority: Critical > Fix For: 4.2.0 > > Attachments: logs_db.rar > > > steps to reproduce > ---------------------------- > 1-prepare a CS set up vmware host > 2-create system offerings for ssvm /cpvm > 3-disable zone > 4-stop ssvm and cpvm > 5-Try to update ssvm/cpvm service offering > Expected > -------------- > 1-update SO should be successful > Actual > ---------- > update SO is failing > Logs > -------- > 2013-07-22 13:04:02,242 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-21:job-21 = [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd > com.cloud.exception.InvalidParameterValueException: unable to find a virtual machine with id 3 > at com.cloud.vm.UserVmManagerImpl.upgradeStoppedVirtualMachine(UserVmManagerImpl.java:771) > at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1143) > at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1088) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:92) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-07-22 13:04:02,247 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-21:job-21 = [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27 ]) Complete async job-21 = [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27 ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: unable to find a virtual machine with id 3 > -- 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