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 E6FF3F008 for ; Thu, 4 Apr 2013 22:10:15 +0000 (UTC) Received: (qmail 38324 invoked by uid 500); 4 Apr 2013 22:10:15 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 38289 invoked by uid 500); 4 Apr 2013 22:10:15 -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 38123 invoked by uid 500); 4 Apr 2013 22:10:15 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 38069 invoked by uid 99); 4 Apr 2013 22:10:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 22:10:15 +0000 Date: Thu, 4 Apr 2013 22:10:15 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CLOUDSTACK-1604) deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing" 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-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan reopened CLOUDSTACK-1604: --------------------------------------------- Facing this issue with master build (Revision: 4f9bdba2815510d55cbf0727f80fe57b14023022) Please find the attached logs > deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing" > ----------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1604 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1604 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.1.0, 4.2.0 > Environment: Hypervisor: KVM > advanced zone > Reporter: Srikanteswararao Talluri > Assignee: Prachi Damle > Priority: Critical > Fix For: 4.1.0, 4.2.0 > > > deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing" > When the same global setting is set to "random" , deploy VM is working fine. > ====================================================== > submit async job-13, details: AsyncJobVO {id:13, userId: 2, accountId: 2, sessionKey: null, instanceType: null, instanceId: 6, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: null, cmdInfo: {"id":"6","response":"json","templateId":"365af95a-87fa-11e2-ae52-06ecde000018","sessionkey":"YL/4qtwgnFGy7iCjJPHZUGQd0bc\u003d","ctxUserId":"2","networkIds":"f2069501-ac19-49ea-b595-547320c13184","hypervisor":"KVM","serviceOfferingId":"0030656b-fb83-4d5b-8e58-8cdab88af071","_":"1362743622784","ctxAccountId":"2","ctxStartEventId":"17","zoneId":"371976d5-d065-4eb6-81d3-a229b7f90ce7"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7614406590488, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2013-03-08 22:50:43,240 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END=== 10.252.249.183 -- GET command=deployVirtualMachine&zoneId=371976d5-d065-4eb6-81d3-a229b7f90ce7&templateId=365af95a-87fa-11e2-ae52-06ecde000018&hypervisor=KVM&serviceOfferingId=0030656b-fb83-4d5b-8e58-8cdab88af071&networkIds=f2069501-ac19-49ea-b595-547320c13184&response=json&sessionkey=YL%2F4qtwgnFGy7iCjJPHZUGQd0bc%3D&_=1362743622784 > 2013-03-08 22:50:43,242 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-2:job-13) Executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-13 > 2013-03-08 22:50:43,265 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-2:job-13) InfrastructureEntity name is:com.cloud.offering.ServiceOffering > 2013-03-08 22:50:43,277 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-2:job-13) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate > 2013-03-08 22:50:43,291 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM > 2013-03-08 22:50:43,296 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-2:job-13) ControlledEntity name is:com.cloud.network.Network > 2013-03-08 22:50:43,384 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-2:job-13) Service SecurityGroup is not supported in the network id=204 > 2013-03-08 22:50:43,402 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-2:job-13) Service SecurityGroup is not supported in the network id=204 > 2013-03-08 22:50:43,455 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-2:job-13) Destroying vm VM[User|9bd96ef0-a0ad-4abe-8980-02e4e648e9b4] as it failed to create on Host with Id:null > 2013-03-08 22:50:43,485 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-2:job-13) VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original host id: null new host id: null host id before state transition: null > 2013-03-08 22:50:43,499 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy > 2013-03-08 22:50:43,564 INFO [user.vm.DeployVMCmd] (Job-Executor-2:job-13) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|9bd96ef0-a0ad-4abe-8980-02e4e648e9b4]Scope=interface com.cloud.dc.DataCenter; id=1 > 2013-03-08 22:50:43,565 INFO [user.vm.DeployVMCmd] (Job-Executor-2:job-13) Unable to create a deployment for VM[User|9bd96ef0-a0ad-4abe-8980-02e4e648e9b4] > com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|9bd96ef0-a0ad-4abe-8980-02e4e648e9b4]Scope=interface com.cloud.dc.DataCenter; id=1 > at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:186) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > at $Proxy321.reserveVirtualMachine(Unknown Source) > at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2917) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2516) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2502) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInterceptor.java:53) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) > at $Proxy260.startVirtualMachine(Unknown Source) > at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) > at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > 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-03-08 22:50:43,568 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-2:job-13) Complete async job-13, jobStatus: 2, resultCode: 530, result: Error Code: 533 Error text: Unable to create a deployment for VM[User|9bd96ef0-a0ad-4abe-8980-02e4e648e9b4] > 2013-03-08 22:50:43,916 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 1 routers to update status. > 2013-03-08 22:50:43,919 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. > 2013-03-08 22:50:43,978 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 1 routers to update status. > 2013-03-08 22:50:43,981 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMon -- 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