cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6352) Shared Network deletion fails with NPE if there are L2-L7 services added with the offering
Date Fri, 18 Jul 2014 11:09:04 GMT

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

Murali Reddy resolved CLOUDSTACK-6352.
--------------------------------------

    Resolution: Invalid

This issue is resolved by the fix for https://issues.apache.org/jira/browse/CLOUDSTACK-6791

> Shared Network deletion fails with NPE if there are L2-L7 services added with the offering
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6352
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6352
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0
>            Reporter: Murali Reddy
>            Assignee: Murali Reddy
>             Fix For: 4.4.0
>
>
> Deletion of Shared network throws NPE, router gets deleted but the network remains. 
> Issue is not seen with a network created using the default shared network offering. It
happens only if the offering has other services included like PF, LB, Static NAT
> Steps:
> Create a shared n/w offering with all services provided by VR (Include all services:
DNS,DHCP,Static NAT, source NAT, LB, PF)
> Create a shared n/w with this offering
> Deploy a VM
> After n/w is implemented, destroy the VM
> Delete the n/w
> Found this issue on both Hyper-V and VMware. In case of hyper-v it was with multiple
physical networks, while with VMware, it is a single physical network.
> Details of exception:
> 2014-01-21 14:34:34,766 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-21:ctx-274c817d
ctx-12f6fe1b) Expunged VM[DomainRouter|r-8-VM]
> 2014-01-21 14:34:34,799 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-21:ctx-274c817d
ctx-12f6fe1b) Network id=204 is destroyed successfully, cleaning up corresponding resources
now.
> 2014-01-21 14:34:34,802 DEBUG [c.c.n.g.DirectNetworkGuru] (Job-Executor-21:ctx-274c817d
ctx-12f6fe1b) Releasing ip 10.102.198.1 of placeholder nic Nic[17-null-null-10.102.198.1]
> 2014-01-21 14:34:34,803 DEBUG [c.c.u.d.T.Transaction] (Job-Executor-21:ctx-274c817d ctx-12f6fe1b)
Rolling back the transaction: Time = 2 Name = Job-Executor-21; called by -TransactionLegacy.rollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:41-Transaction.execute:46-DirectNetworkGuru.trash:322-NetworkOrchestrator$10.doInTransactionWithoutResult:2171-TransactionCallbackNoReturn.doInTransaction:25-Transaction$2.doInTransaction:49-Transaction.execute:37-Transaction.execute:46-NetworkOrchestrator.destroyNetwork:2166
> 2014-01-21 14:34:34,808 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-21:ctx-274c817d)
Unexpected exception while executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
> java.lang.NullPointerException
> at com.cloud.network.guru.DirectNetworkGuru$3.doInTransactionWithoutResult(DirectNetworkGuru.java:329)
> at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
> at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
> at com.cloud.network.guru.DirectNetworkGuru.trash(DirectNetworkGuru.java:322)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransactionWithoutResult(NetworkOrchestrator.java:2171)
> at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
> at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.destroyNetwork(NetworkOrchestrator.java:2166)
> at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1806)
> 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 $Proxy199.deleteNetwork(Unknown Source)
> at org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:77)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
> at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
> 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.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:526)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> :
> 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 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> 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)
> 2014-01-21 14:34:34,811 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-21:ctx-274c817d)
Complete async job-49, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/
> {"uuidList":[],"errorcode":530}
> 2014-01-21 14:34:34,817 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-21:ctx-274c817d)
Done executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-49
> 2014-01-21 14:34:34,820 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-21:ctx-274c817d)
Remove job-49 from job monitoring
> 2014-01-21 14:34:34,837 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null)
Ping from 2



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

Mime
View raw message