[ https://issues.apache.org/jira/browse/CLOUDSTACK-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586694#comment-13586694 ]
angeline shen commented on CLOUDSTACK-1382: ------------------------------------------- Verified MS rhel 6.3 ASF 4.1 build 43 2/25/2013 16:57:21 PST Host XEN ASF 4.1 build 43 2/25/2013 16:57:21 PST In advance zone, isolate and VPC networks, VM deploy successful. Please ignore above verification errors as that was with KVM hosts > vm deploy fails with Error "cannot find DeployPlannerSelector for vm" > --------------------------------------------------------------------- > > Key: CLOUDSTACK-1382 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1382 > 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 > Environment: ASF 4.1 latest build: > 903aeb9b775561763810b7de708a7997a4685509 > Reporter: Sanjeev N > Assignee: frank zhang > Priority: Blocker > Fix For: 4.1.0 > > Attachments: management-server.log.gz, vmops.rar > > > VM deployment failed with CloudRuntimeException: cannot find > DeployPlannerSelector > Reproduction method: > ================= > 1.Bring up CS in advanced zone with xen cluster > 2.Try to deploy guest vm with default cent os template > Test Result: > ========= > VM deployement failed > Observations: > =========== > 2013-02-25 09:56:24,154 DEBUG [cloud.api.ApiServlet] > (858158831@qtp-965680888-17:null) ===START=== 10.146.0.14 -- GET > command=deployVirtualMachine&zoneId=d91890d2-cbc9-46f4-8f61-28a009e5276a&templateId=2ea7d19c-7f3f-11e2-854e-06045a000066&hypervisor=XenServer&serviceOfferingId=5d9ecd49-09f8-4724-86b3-633e88a5d248&networkIds=ccf62362-4619-4f89-9e8d-c70628e03689&displayname=test&name=test&response=json&sessionkey=TV9gi3AEcdQu0WuMRRLzJn5Anvw%3D&_=1361784452951 > 2013-02-25 09:56:24,168 DEBUG [cloud.api.ApiDispatcher] > (858158831@qtp-965680888-17:null) InfrastructureEntity name > is:com.cloud.offering.ServiceOffering > 2013-02-25 09:56:24,171 DEBUG [cloud.api.ApiDispatcher] > (858158831@qtp-965680888-17:null) ControlledEntity name > is:com.cloud.template.VirtualMachineTemplate > 2013-02-25 09:56:24,176 DEBUG [cloud.api.ApiDispatcher] > (858158831@qtp-965680888-17:null) ControlledEntity name > is:com.cloud.network.Network > 2013-02-25 09:56:24,196 DEBUG [cloud.network.NetworkModelImpl] > (858158831@qtp-965680888-17:null) Service SecurityGroup is not supported in > the network id=205 > 2013-02-25 09:56:24,211 DEBUG [cloud.vm.UserVmManagerImpl] > (858158831@qtp-965680888-17:null) Allocating in the DB for vm > 2013-02-25 09:56:24,230 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (858158831@qtp-965680888-17:null) Allocating entries for VM: VM[User|test] > 2013-02-25 09:56:24,231 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (858158831@qtp-965680888-17:null) Allocating nics for VM[User|test] > 2013-02-25 09:56:24,233 DEBUG [cloud.network.NetworkManagerImpl] > (858158831@qtp-965680888-17:null) Allocating nic for vm VM[User|test] in > network Ntwk[205|Guest|8] with requested profile NicProfile[0-0-null-null-null > 2013-02-25 09:56:24,260 DEBUG [cloud.network.NetworkModelImpl] > (858158831@qtp-965680888-17:null) Service SecurityGroup is not supported in > the network id=205 > 2013-02-25 09:56:24,262 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (858158831@qtp-965680888-17:null) Allocaing disks for VM[User|test] > 2013-02-25 09:56:24,277 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (858158831@qtp-965680888-17:null) Allocation completed for VM: VM[User|test] > 2013-02-25 09:56:24,277 DEBUG [cloud.vm.UserVmManagerImpl] > (858158831@qtp-965680888-17:null) Successfully allocated DB entry for > VM[User|test] > 2013-02-25 09:56:24,310 DEBUG [cloud.network.NetworkModelImpl] > (858158831@qtp-965680888-17:null) Service SecurityGroup is not supported in > the network id=205 > 2013-02-25 09:56:24,319 DEBUG [cloud.network.NetworkModelImpl] > (858158831@qtp-965680888-17:null) Service SecurityGroup is not supported in > the network id=205 > 2013-02-25 09:56:24,338 DEBUG [cloud.async.AsyncJobManagerImpl] > (858158831@qtp-965680888-17:null) submit async job-29, details: AsyncJobVO > {id:29, userId: 2, accountId: 2, sessionKey: null, instanceType: null, > instanceId: 36, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, > cmdOriginator: null, cmdInfo: > {"sessionkey":"TV9gi3AEcdQu0WuMRRLzJn5Anvw\u003d","ctxUserId":"2","serviceOfferingId":"5d9ecd49-09f8-4724-86b3-633e88a5d248","zoneId":"d91890d2-cbc9-46f4-8f61-28a009e5276a","response":"json","templateId":"2ea7d19c-7f3f-11e2-854e-06045a000066","id":"36","networkIds":"ccf62362-4619-4f89-9e8d-c70628e03689","hypervisor":"XenServer","name":"test","_":"1361784452951","ctxAccountId":"2","ctxStartEventId":"58","displayname":"test"}, > cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, > processStatus: 0, resultCode: 0, result: null, initMsid: 6615759585382, > completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2013-02-25 09:56:24,342 DEBUG [cloud.api.ApiServlet] > (858158831@qtp-965680888-17:null) ===END=== 10.146.0.14 -- GET > command=deployVirtualMachine&zoneId=d91890d2-cbc9-46f4-8f61-28a009e5276a&templateId=2ea7d19c-7f3f-11e2-854e-06045a000066&hypervisor=XenServer&serviceOfferingId=5d9ecd49-09f8-4724-86b3-633e88a5d248&networkIds=ccf62362-4619-4f89-9e8d-c70628e03689&displayname=test&name=test&response=json&sessionkey=TV9gi3AEcdQu0WuMRRLzJn5Anvw%3D&_=1361784452951 > 2013-02-25 09:56:24,345 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-13:job-29) Executing > org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-29 > 2013-02-25 09:56:24,354 DEBUG [cloud.api.ApiDispatcher] > (Job-Executor-13:job-29) InfrastructureEntity name > is:com.cloud.offering.ServiceOffering > 2013-02-25 09:56:24,361 DEBUG [cloud.api.ApiDispatcher] > (Job-Executor-13:job-29) ControlledEntity name > is:com.cloud.template.VirtualMachineTemplate > 2013-02-25 09:56:24,368 DEBUG [cloud.api.ApiDispatcher] > (Job-Executor-13:job-29) ControlledEntity name is:com.cloud.network.Network > 2013-02-25 09:56:24,404 DEBUG [cloud.network.NetworkModelImpl] > (Job-Executor-13:job-29) Service SecurityGroup is not supported in the > network id=205 > 2013-02-25 09:56:24,412 DEBUG [cloud.network.NetworkModelImpl] > (Job-Executor-13:job-29) Service SecurityGroup is not supported in the > network id=205 > 2013-02-25 09:56:24,422 DEBUG [cloud.vm.UserVmManagerImpl] > (Job-Executor-13:job-29) Destroying vm VM[User|test] as it failed to create > on Host with Id:null > 2013-02-25 09:56:24,437 DEBUG [cloud.capacity.CapacityManagerImpl] > (Job-Executor-13:job-29) 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-02-25 09:56:24,503 ERROR [cloud.async.AsyncJobManagerImpl] > (Job-Executor-13:job-29) Unexpected exception while executing > org.apache.cloudstack.api.command.user.vm.DeployVMCmd > com.cloud.utils.exception.CloudRuntimeException: cannot find > DeployPlannerSelector for vm[uuid:318841a0-9b96-4044-8425-d6c6ee84cd4e, > hypervisorType:XenServer] > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3856) > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458) > at > com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444) > 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:37) > at sun.reflect.GeneratedMethodAccessor37.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 $Proxy221.startVirtualMachine(Unknown Source) > at > org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > 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:37) > at sun.reflect.GeneratedMethodAccessor37.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-02-25 09:56:24,507 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-13:job-29) Complete async job-29, jobStatus: 2, resultCode: > 530, result: Error Code: 530 Error text: cannot find DeployPlannerSelector > for vm[uuid:318841a0-9b96-4044-8425-d6c6ee84cd4e, hypervisorType:XenServer] > 2013-02-25 09:56:27,503 DEBUG [cloud.api.ApiServlet] > (858158831@qtp-965680888-17:null) ===START=== 10.146.0.14 -- GET > command=queryAsyncJobResult&jobId=47986557-eca9-412a-929d-0ec331b8ac98&response=json&sessionkey=TV9gi3AEcdQu0WuMRRLzJn5Anvw%3D&_=1361784456352 > 2013-02-25 09:56:27,535 DEBUG [cloud.async.AsyncJobManagerImpl] > (858158831@qtp-965680888-17:null) Async job-29 completed -- 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