cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayapal Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-6791) [Automation] DeleteNetworkCmd fails with NullPointerException
Date Wed, 04 Jun 2014 17:11:02 GMT

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

Jayapal Reddy updated CLOUDSTACK-6791:
--------------------------------------

    Assignee: Rayees Namathponnan

> [Automation] DeleteNetworkCmd fails with NullPointerException
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6791
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6791
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.4.0
>         Environment: Automation 
> 4.4-forward
> vmware 5.0
>            Reporter: Rayees Namathponnan
>            Assignee: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> This issue is observed with automation run , while executing test integration.component.test_multiple_ips_per_nic.TestBasicOperations.test_add_ip_to_nic_2_SHARED
> Test case performs below operations 
>  225         # Steps:
>  226         # 1. Create Account and create network in it (isoalted/ shared/ vpc)
>  227         # 2. Deploy a VM in this network and account
>  228         # 3. Add secondary IP to the default nic of VM
>  229         # 4. Try to add the same IP again
>  230         # 5. Try to add secondary IP providing wrong virtual machine id
>  231         # 6. Try to add secondary IP with correct virtual machine id but wrong IP
address
>                 # 7 Destroy account 
>  232 
>  233         # Validations:
>  234         # 1. Step 3 should succeed
>  235         # 2. Step 4 should fail
>  236         # 3. Step 5 should should fail
>  237         # 4. Step 6 should fail
> This issue observed during account deletion
> 2014-05-26 19:18:52,169 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-41:ctx-b247339e
job-5716 ctx-5a0ec179) Network id=616 is destroyed successfully, cleaning up corresponding
resources now.
> 2014-05-26 19:18:52,170 DEBUG [c.c.n.g.DirectNetworkGuru] (API-Job-Executor-41:ctx-b247339e
job-5716 ctx-5a0ec179) Releasing ip 172.16.27.1 of placeholder nic Nic[1645-null-null-172.16.27.1]
> 2014-05-26 19:18:52,171 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-41:ctx-b247339e
job-5716 ctx-5a0ec179) Rolling back the transaction: Time = 2 Name =  API-Job-Executor-41;
called by -TransactionLegacy.rollback:903-TransactionLegacy.removeUpTo:846-TransactionLegacy.close:670-Transaction.execute:41-Transaction.execute:46-DirectNetworkGuru.trash:327-NetworkOrchestrator$10.doInTransactionWithoutResult:2226-TransactionCallbackNoReturn.doInTransaction:25-Transaction$2.doInTransaction:49-Transaction.execute:37-Transaction.execute:46-NetworkOrchestrator.destroyNetwork:2221
> 2014-05-26 19:18:52,183 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-41:ctx-b247339e
job-5716) 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:334)
>         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:327)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransactionWithoutResult(NetworkOrchestrator.java:2226)
>         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:2221)
>         at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1828)
>         at sun.reflect.GeneratedMethodAccessor729.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.$Proxy154.deleteNetwork(Unknown Source)
>         at org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:79)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> :
>  



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

Mime
View raw message