cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Mette (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-6733) Unable to delete network due to internal server error
Date Wed, 21 May 2014 06:18:37 GMT

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

Bret Mette updated CLOUDSTACK-6733:
-----------------------------------

    Description: 
While attempting to remove a network using both the Web GUI and Cloud Monkey I receive a message
stating network delete failed due to internaal server error.  The exact message from cloud
monkey is:

eleteNetwork id=ed829a5f-2968-438c-839c-b0d76f9eee33
.Async job 35f27410-52df-4784-8866-a9d46bc37a64 failed
Error 530, Command failed due to Internal Server Error
accountid = eab4ce15-ae28-46ff-b21a-2dcb3c468f4b
cmd = org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
created = 2014-05-21T02:10:56-0400
jobid = 35f27410-52df-4784-8866-a9d46bc37a64
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = Command failed due to Internal Server Error
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = 1dd7a5b2-459f-4c62-9a99-1c6332e51930


Management server log - attached


  was:
While attempting to remove a network using both the Web GUI and Cloud Monkey I receive a message
stating network delete failed due to internaal server error.  The exact message from cloud
monkey is:

eleteNetwork id=ed829a5f-2968-438c-839c-b0d76f9eee33
.Async job 35f27410-52df-4784-8866-a9d46bc37a64 failed
Error 530, Command failed due to Internal Server Error
accountid = eab4ce15-ae28-46ff-b21a-2dcb3c468f4b
cmd = org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
created = 2014-05-21T02:10:56-0400
jobid = 35f27410-52df-4784-8866-a9d46bc37a64
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = Command failed due to Internal Server Error
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = 1dd7a5b2-459f-4c62-9a99-1c6332e51930


Management server log:
---------------------------
2014-05-21 02:10:57,331 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Network is not implemented: Ntwk[223|Guest|26]
2014-05-21 02:10:57,339 DEBUG [c.c.n.r.RulesManagerImpl] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
Releasing 0 port forwarding rules for network id=223
2014-05-21 02:10:57,341 DEBUG [c.c.n.r.RulesManagerImpl] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
Releasing 0 static nat rules for network id=223
2014-05-21 02:10:57,343 DEBUG [c.c.n.r.RulesManagerImpl] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
There are no port forwarding rules to apply for network id=223
2014-05-21 02:10:57,345 DEBUG [c.c.n.r.RulesManagerImpl] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
There are no static nat rules to apply for network id=223
2014-05-21 02:10:57,349 DEBUG [c.c.n.r.RulesManagerImpl] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
Successfully released rules for network id=223 and # of rules now = 0
2014-05-21 02:10:57,349 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Successfully cleaned up portForwarding/staticNat rules for network id=223
2014-05-21 02:10:57,351 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Found 0 lb rules to cleanup
2014-05-21 02:10:57,351 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Successfully cleaned up load balancing rules for network id=223
2014-05-21 02:10:57,477 DEBUG [c.c.n.f.FirewallManagerImpl] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Releasing 0 firewall rules for network id=223
2014-05-21 02:10:57,480 DEBUG [c.c.n.f.FirewallManagerImpl] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) There are no firewall rules to apply
2014-05-21 02:10:57,482 DEBUG [c.c.n.f.FirewallManagerImpl] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Successfully released firewall rules for network id=223 and # of rules now =
0
2014-05-21 02:10:57,691 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Successfully cleaned up firewallRules rules for network id=223
2014-05-21 02:10:57,694 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Successfully cleaned up NetworkACLs for network id=223
2014-05-21 02:10:57,704 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Sending destroy to com.cloud.network.element.VirtualRouterElement@2680facf
2014-05-21 02:10:57,707 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-160:ctx-f095729a
ctx-1f51f2fd) Network id=223 is destroyed successfully, cleaning up corresponding resources
now.
2014-05-21 02:10:57,711 DEBUG [c.c.n.g.DirectNetworkGuru] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
Releasing ip 10.2.1.254 of placeholder nic Nic[341-null-null-10.2.1.254]
2014-05-21 02:10:57,713 DEBUG [c.c.u.d.T.Transaction] (Job-Executor-160:ctx-f095729a ctx-1f51f2fd)
Rolling back the transaction: Time = 6 Name =  Job-Executor-160; called by -TransactionLegacy.rollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:41-Transaction.execute:46-DirectNetworkGuru.trash:322-NetworkOrchestrator$10.doInTransactionWithoutResult:2188-TransactionCallbackNoReturn.doInTransaction:25-Transaction$2.doInTransaction:49-Transaction.execute:37-Transaction.execute:46-NetworkOrchestrator.destroyNetwork:2183
2014-05-21 02:10:57,803 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-160:ctx-f095729a)
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:2188)
	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:2183)
	at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1810)
	at sun.reflect.GeneratedMethodAccessor560.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 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 com.sun.proxy.$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:509)
	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.run(FutureTask.java:262)
	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-21 02:10:57,806 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-160:ctx-f095729a)
Complete async job-430, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
2014-05-21 02:10:57,887 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-160:ctx-f095729a)
Done executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-430
2014-05-21 02:10:57,929 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-160:ctx-f095729a)
Remove job-430 from job monitoring



> Unable to delete network due to internal server error
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-6733
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6733
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Cloudmonkey, Management Server, Website
>    Affects Versions: 4.3.0
>            Reporter: Bret Mette
>              Labels: network
>         Attachments: server-log.txt
>
>
> While attempting to remove a network using both the Web GUI and Cloud Monkey I receive
a message stating network delete failed due to internaal server error.  The exact message
from cloud monkey is:
> eleteNetwork id=ed829a5f-2968-438c-839c-b0d76f9eee33
> .Async job 35f27410-52df-4784-8866-a9d46bc37a64 failed
> Error 530, Command failed due to Internal Server Error
> accountid = eab4ce15-ae28-46ff-b21a-2dcb3c468f4b
> cmd = org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
> created = 2014-05-21T02:10:56-0400
> jobid = 35f27410-52df-4784-8866-a9d46bc37a64
> jobprocstatus = 0
> jobresult:
> errorcode = 530
> errortext = Command failed due to Internal Server Error
> jobresultcode = 530
> jobresulttype = object
> jobstatus = 2
> userid = 1dd7a5b2-459f-4c62-9a99-1c6332e51930
> Management server log - attached



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

Mime
View raw message