You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Animesh Chaturvedi (JIRA)" <ji...@apache.org> on 2014/05/11 00:13:30 UTC

[jira] [Updated] (CLOUDSTACK-6611) [Automation] Dynamic_compute_offering :DeployVM Failed with NPE

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Animesh Chaturvedi updated CLOUDSTACK-6611:
-------------------------------------------

    Assignee: Bharat Kumar

> [Automation] Dynamic_compute_offering :DeployVM Failed with NPE 
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6611
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6611
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM, Management Server
>    Affects Versions: 4.4.0
>         Environment: KVM (RHEL 6.3)
> Build 4.4-forward
>            Reporter: Rayees Namathponnan
>            Assignee: Bharat Kumar
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> Dynamic compute offering test case "integration.component.test_dynamic_compute_offering.TestAccountLimits.test_max_account_cpus_scale_VM_1_ADMIN_ACCOUNT" 
> 2014-05-07 16:58:04,108 DEBUG [c.c.n.g.GuestNetworkGuru] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) Empty physical isolation type for physical
>  network 38e39e12-7458-451b-b408-07a0243c6590
> 2014-05-07 16:58:04,110 DEBUG [o.a.c.e.o.NetworkOrchestrator] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) Releasing lock for Acct[a1b7e396-44ab
> -4f03-bd62-a292770aa3a0-test-account-TestScaleVmDynamicServiceOffering-test_max_account_cpus_scale_VM_1_ADMIN_ACCOUNT-WCTVP]
> 2014-05-07 16:58:04,148 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) Root Access granted to Acct[b1d58e04-d616-
> 11e3-a7c8-1a6f7bb0d0a8-admin] by RoleBasedEntityAccessChecker
> 2014-05-07 16:58:04,209 ERROR [c.c.a.ApiServer] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) unhandled exception executing api command: [Ljava.l
> ang.String;@50561a0c
> java.lang.NullPointerException
>         at com.cloud.service.ServiceOfferingVO.<init>(ServiceOfferingVO.java:167)
>         at com.cloud.service.dao.ServiceOfferingDaoImpl.getcomputeOffering(ServiceOfferingDaoImpl.java:227)
>         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:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy58.getcomputeOffering(Unknown Source)
>         at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:2576)
>         at com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:2520)
>         at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy206.createAdvancedVirtualMachine(Unknown Source)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.create(DeployVMCmd.java:600)
>         at com.cloud.api.dispatch.CommandCreationWorker.handle(CommandCreationWorker.java:47)
>         at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37)
>         at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:74)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:610)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:502)
>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-05-07 16:58:04,243 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) Root Access granted to Acct[b1d58e04-d616-11e3-a7c8-1a6f7bb0d0a8-admin] by RoleBasedEntityAccessChecker
> 2014-05-07 16:58:04,264 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) Root Access granted to Acct[b1d58e04-d616-11e3-a7c8-1a6f7bb0d0a8-admin] by RoleBasedEntityAccessChecker
> 2014-05-07 16:58:04,264 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-71d3090d ctx-a9cdac4c ctx-5b2113e8) ===END===  10.223.240.194 -- GET  domainid=4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8&zoneid=7b771f53-a5be-4770-9caf-21b3e69a83a9&apiKey=TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GA&details%5B0%5D.memory=128&serviceofferingid=11a07972-6064-4659-9a89-a011e8e54db1&displayname=Test+VM&signature=8wk5GEG%2F8%2FpAi2DpNe7SbAf6%2BtM%3D&details%5B0%5D.cpuNumber=2&templateid=4aeae946-d616-11e3-a7c8-1a6f7bb0d0a8&response=json&account=test-account-TestScaleVmDynamicServiceOffering-test_max_account_cpus_scale_VM_1_ADMIN_ACCOUNT-WCTVP&details%5B0%5D.cpuSpeed=256&command=deployVirtualMachine&hypervisor=XenServer
> 2014-05-07 16:58:04,285 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-649479b0) ===START===  10.223.240.194 -- GET  signature=k%2FwNSIiqyEpsJ1HfGvwEMI%2FnVGA%3D&apiKey=TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GA&command=deleteAccount&id=a1b7e396-44ab-4f03-bd62-a292770aa3a0&response=json
> 2014-05-07 16:58:04,338 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-649479b0 ctx-07b95a94 ctx-ce79b0b1) Root Access granted to Acct[b1d58e04-d616-11e3-a7c8-1a6f7bb0d0a8-admin] by RoleBasedEntityAccessChecker
> 2014-05-07 16:58:04,416 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-d26f90c8) ===START===  10.223.240.194 -- GET  signature=DhS20VNMYO0o6ScAfT49jpww%2Bv8%3D&apiKey=TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GA&command=queryAsyncJobResult&response=json&jobid=8bfc21cd-c00c-4d59-a57a-f7acc60b6b98



--
This message was sent by Atlassian JIRA
(v6.2#6252)