ilya musayev created CLOUDSTACK-375:
---------------------------------------

             Summary: Unable to delete physical network - because there are 
other networks attached
                 Key: CLOUDSTACK-375
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-375
             Project: CloudStack
          Issue Type: Bug
          Components: UI
    Affects Versions: 4.0.0
         Environment: 4.0.0.20121015061003 via jenkins build 
CloudStack-non-OSS-137  
CentOs 6.3
            Reporter: ilya musayev
            Priority: Minor


Unable to delete physical network - because there are other networks attached

Attempted to do a complete cleanup of the setup and start fresh.. I was able to 
delete hosts, cluster and pod but when i get to delete the Zone, i need to 
first delete the Physical Network. The physical network has other networks 
under L2/L3 switch (Guest, Management and Storage) with no IP addresses 
assigned or visible.

When i attempt to delete the Physical Network, i get the error "The Physical 
Network is not deletable because there are networks associated to this physical 
network"

2012-10-18 18:40:56,824 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-4:null) submit async job-21, details: AsyncJobVO {id:21, userId: 
2, accountId: 2, sessionKey: null, instanceType: PhysicalNetwork, instanceId: 
null, cmd: com.cloud.api.commands.DeletePhysicalNetworkCmd, cmdOriginator: 
null, cmdInfo: 
{"id":"b44e7b2c-27bc-41c7-837c-f0c37a9a85d6","response":"json","sessionkey":"f8xnTzQ2eSRR33zf93kijnlDg+w\u003d","ctxUserId":"2","_":"1350600056737","ctxAccountId":"2","ctxStartEventId":"85"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 345051904793, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2012-10-18 18:40:56,843 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-1:job-21) Executing 
com.cloud.api.commands.DeletePhysicalNetworkCmd for job-21
2012-10-18 18:40:56,923 ERROR [cloud.api.ApiDispatcher] (Job-Executor-1:job-21) 
Exception while executing DeletePhysicalNetworkCmd:
com.cloud.utils.exception.CloudRuntimeException: The Physical Network is not 
deletable because there are networks associated to this physical network
        at 
com.cloud.network.NetworkManagerImpl.checkIfPhysicalNetworkIsDeletable(NetworkManagerImpl.java:5541)
        at 
com.cloud.network.NetworkManagerImpl.deletePhysicalNetwork(NetworkManagerImpl.java:5434)
        at 
com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231)
        at 
com.cloud.api.commands.DeletePhysicalNetworkCmd.execute(DeletePhysicalNetworkCmd.java:74)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
        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)

I however cannot delete the other networks or anything underneath those 
networks - nothing is available that can be deleted.






--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to