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 A2321F299 for ; Wed, 27 Mar 2013 09:05:18 +0000 (UTC) Received: (qmail 18215 invoked by uid 500); 27 Mar 2013 09:05:17 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 18163 invoked by uid 500); 27 Mar 2013 09:05:17 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 18109 invoked by uid 500); 27 Mar 2013 09:05:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 18090 invoked by uid 99); 27 Mar 2013 09:05:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 09:05:15 +0000 Date: Wed, 27 Mar 2013 09:05:15 +0000 (UTC) From: "prashant kumar mishra (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-1822) Failed to deploy vm on vmware with service offering {CPU =5GHZ,RAM=1024M};StartCommand failed due to Exception: java.lang.RuntimeException Message: Failed to power on VM.; CPU min outside valid range MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 prashant kumar mishra created CLOUDSTACK-1822: ------------------------------------------------- Summary: Failed to deploy vm on vmware with service offering = {CPU =3D5GHZ,RAM=3D1024M};StartCommand failed due to Exception: java.lang.R= untimeException Message: Failed to power on VM.; CPU min outside valid rang= e Key: CLOUDSTACK-1822 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1822 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the defa= ult.) Affects Versions: 4.2.0 Reporter: prashant kumar mishra Priority: Critical Fix For: 4.2.0 Tried to Deploy a vm with service offering having 5 GHz CPU and 1024 MB RAM= , Deployment failed because cant not power on VM=20 Vcenter message ------------------------- An error was received from the ESX host while powering on VM i-2-20-VM. Failed to power on VM. Could not power on VM : CPU min outside valid range.=20 Group host/user: Invalid CPU allocation requested for VM vmm0:i-2-20-VM. (m= in: 5000 mhz, max: -1, minLimit: -1, shares: -1) SharedArea: Unable to find 'testSharedAreaPtr' in SHARED_PER_VM_VMX area.= =20 ---------------------------------------------------------------- LOG ---------- ---------- 2013-03-27 04:54:23,630 WARN [vmware.resource.VmwareResource] (DirectAgent= -121:10.147.40.8) StartCommand failed due to Exception: java.lang.RuntimeEx= ception Message: Failed to power on VM. java.lang.RuntimeException: Failed to power on VM. at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(Vmware= Client.java:291) at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.powerOn(VirtualM= achineMO.java:184) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(Vmwa= reResource.java:2351) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeReque= st(VmwareResource.java:432) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentA= ttache.java:186) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33= 4) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.run(ScheduledThreadPoolExecutor.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec= utor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:603) at java.lang.Thread.run(Thread.java:679) 2013-03-27 04:54:23,635 DEBUG [agent.manager.DirectAgentAttache] (DirectAge= nt-121:null) Seq 1-381878429: Response Received: 2013-03-27 04:54:23,638 DEBUG [agent.transport.Request] (DirectAgent-121:nu= ll) Seq 1-381878429: Processing: { Ans: , MgmtId: 7564947357731, via: 1, V= er: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":20,"name":"i-2-20-VM","boot= loader":"HVM","type":"User","cpus":1,"minSpeed":5000,"maxSpeed":5000,"minRa= m":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"CentOS 5.3 (64-bit)= ","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,= "vncPassword":"3a7b2be99e84ee0c","params":{"rootDiskController":"ide","nicA= dapter":"E1000"},"uuid":"aa8263ce-43dc-4f2c-a6ad-18d58bd1f079","disks":[{"i= d":27,"name":"ROOT-20","mountPoint":"/export/home/prashant/kvmp1","path":"R= OOT-20-27","size":2147483648,"type":"ROOT","storagePoolType":"NetworkFilesy= stem","storagePoolUuid":"091b14bf-a730-3f12-b955-1097b32907b2","deviceId":0= },{"id":20,"name":"CentOS 5.3(64-bit) no GUI (vSphere)","size":0,"type":"IS= O","storagePoolType":"ISO","deviceId":3}],"nics":[{"deviceId":0,"networkRat= eMbps":200,"defaultNic":true,"uuid":"b0528f80-4710-4d6d-a2d5-d2c2c3fcf507",= "ip":"10.1.1.65","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:0= 0:66:99:00:12","dns1":"10.103.128.16","broadcastType":"Vlan","type":"Guest"= ,"broadcastUri":"vlan://1104","isolationUri":"vlan://1104","isSecurityGroup= Enabled":false}]},"result":false,"details":"StartCommand failed due to Exce= ption: java.lang.RuntimeException\nMessage: Failed to power on VM.\n","wait= ":0}}] } 2013-03-27 04:54:23,639 DEBUG [agent.transport.Request] (Job-Executor-7:job= -70) Seq 1-381878429: Received: { Ans: , MgmtId: 7564947357731, via: 1, Ve= r: v1, Flags: 110, { StartAnswer } } 2013-03-27 04:54:23,646 DEBUG [agent.manager.AgentAttache] (DirectAgent-121= :null) Seq 1-381878429: No more commands found 2013-03-27 04:54:23,655 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Exe= cutor-7:job-70) Unable to start VM on Host[-1-Routing] due to StartCommand = failed due to Exception: java.lang.RuntimeException Message: Failed to power on VM. 2013-03-27 04:54:23,666 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Exe= cutor-7:job-70) Cleaning up resources for the vm VM[User|five] in Starting = state 2013-03-27 04:54:23,671 DEBUG [agent.transport.Request] (Job-Executor-7:job= -70) Seq 1-381878430: Sending { Cmd , MgmtId: 7564947357731, via: 1, Ver: = v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-20-VM","w= ait":0}}] } 2013-03-27 04:54:23,671 DEBUG [agent.transport.Request] (Job-Executor-7:job= -70) Seq 1-381878430: Executing: { Cmd , MgmtId: 7564947357731, via: 1, Ve= r: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-20-VM"= ,"wait":0}}] } 2013-03-27 04:54:23,672 DEBUG [agent.manager.DirectAgentAttache] (DirectAge= nt-123:null) Seq 1-381878430: Executing request -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira