cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-5571) [Automation] NPE:unhandled exception executing api command: deployVirtualMachine
Date Fri, 20 Dec 2013 06:11:07 GMT

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

Srikanteswararao Talluri closed CLOUDSTACK-5571.
------------------------------------------------


tested and working on 4.3

> [Automation] NPE:unhandled exception executing api command: deployVirtualMachine
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5571
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5571
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: xenserver 6.2
> advanced zone
>            Reporter: Srikanteswararao Talluri
>            Assignee: Harikrishna Patnala
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Hitting NPE while deploying VM
>  ===START===  10.147.38.149 -- GET  domainid=318e2c78-68f8-11e3-b905-06080800001f&zoneid=6793fbbb-ebd6-4333-be7d-b8fd790fbcd4&apiKey=4tDpyhbniK26obqbSspwYRw9XBD8uQJSjf5N5V2dMkyj3-eWW4fnc8yev4dsAcyGCxj1jFdMF5vFF0qP-ErHQA&serviceofferingid=00f35711-ecca-405a-8fed-957651e8bcd3&displayname=testserver&signature=lbg6HBleeubqamxM6Iw91LID%2FMw%3D&templateid=3192e86c-68f8-11e3-b905-06080800001f&response=json&account=test-TestDeployVM-RKTJT9&command=deployVirtualMachine&hypervisor=XenServer
> 2013-12-20 03:56:41,757 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Adding nic for Virtual Router in Public network
> 2013-12-20 03:56:41,773 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]:
Ntwk[200|Public|1]
> 2013-12-20 03:56:41,773 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Releasing lock for Acct[5852f53c-68f8-11e3-b905-06080800001f-system]
> 2013-12-20 03:56:41,790 DEBUG [c.c.a.ApiDispatcher] (catalina-exec-10:ctx-d54825dd ctx-9180edd9
ctx-7373f474) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
> 2013-12-20 03:56:41,800 DEBUG [c.c.a.ApiDispatcher] (catalina-exec-10:ctx-d54825dd ctx-9180edd9
ctx-7373f474) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
> 2013-12-20 03:56:41,899 DEBUG [c.c.v.UserVmManagerImpl] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) Creating network for account Acct[1a1a08c3-b7ab-42ae-bb05-2f8aec6ec689-test-TestDeployVM-RKTJT9]
from the network offering id=8 as a part of deployVM process
> 2013-12-20 03:56:41,912 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Allocating the VR i=6 in datacenter com.cloud.dc.DataCenterVO$$EnhancerByCGLIB$$40131d47@1with
the hypervisor type XenServer
> 2013-12-20 03:56:41,950 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) design called
> 2013-12-20 03:56:41,952 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) Refusing to design this network, the physical isolation type is
not MIDO
> 2013-12-20 03:56:41,955 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) Refusing to design this network
> 2013-12-20 03:56:42,025 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Allocating entries for VM: VM[DomainRouter|r-6-QA]
> 2013-12-20 03:56:42,028 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) SSP not configured to be active
> 2013-12-20 03:56:42,032 DEBUG [o.a.c.e.o.NetworkOrchestrator] (catalina-exec-10:ctx-d54825dd
ctx-9180edd9 ctx-7373f474) Releasing lock for Acct[1a1a08c3-b7ab-42ae-bb05-2f8aec6ec689-test-TestDeployVM-RKTJT9]
> 2013-12-20 03:56:42,055 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Allocating nics for VM[DomainRouter|r-6-QA]
> 2013-12-20 03:56:42,058 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Allocating nic for vm VM[DomainRouter|r-6-QA] in network Ntwk[202|Control|3]
with requested profile null
> 2013-12-20 03:56:42,085 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-3:ctx-660ead06
ctx-bb6ee585) Allocating nic for vm VM[DomainRouter|r-6-QA] in network Ntwk[200|Public|1]
with requested profile NicProfile[0-0-null-10.147.53.108-vlan://53
> 2013-12-20 03:56:42,092 ERROR [c.c.a.ApiServer] (catalina-exec-10:ctx-d54825dd ctx-9180edd9
ctx-7373f474) unhandled exception executing api command: deployVirtualMachine
> java.lang.NullPointerException
>         at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:2661)
>         at com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:2591)
>         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:317)
>        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
>         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 $Proxy170.createAdvancedVirtualMachine(Unknown Source)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.create(DeployVMCmd.java:535)
>         at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:476)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
>         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:111)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:73)
>         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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-12-20 03:56:42,097 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-d54825dd ctx-9180edd9
ctx-7373f474) ===END===  10.147.38.149 -- GET  domainid=318e2c78-68f8-11e3-b905-06080800001f&zoneid=6793fbbb-ebd6-4333-be7d-b8fd790fbcd4&apiKey=4tDpyhbniK26obqbSspwYRw9XBD8uQJSjf5N5V2dMkyj3-eWW4fnc8yev4dsAcyGCxj1jFdMF5vFF0qP-ErHQA&serviceofferingid=00f35711-ecca-405a-8fed-957651e8bcd3&displayname=testserver&signature=lbg6HBleeubqamxM6Iw91LID%2FMw%3D&templateid=3192e86c-68f8-11e3-b905-06080800001f&response=json&account=test-TestDeployVM-RKTJT9&command=deployVirtualMachine&hypervisor=XenServer



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message