Hi,
I am not able to delete Zone. error is "The zone is not deletable because
there are virtual machines running in this zone"
but before deleting zone I have Deleted system VMs, Priamary & Secondary
Storage, Host, Pod, Cluster & disabled Zone also. (not created virtual
router at this point).
Even after creating new Zone, If I click on "Add Primary Storage" button
Menu was not coming up.
2014-02-10 09:50:05,766 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-e4d4a9b2) Done recalculating system capacity
2014-02-10 09:50:05,783 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-e4d4a9b2) Done running Capacity Checker ...
2014-02-10 09:50:05,975 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-c1f4120d) Found 0 routers to update status.
2014-02-10 09:50:05,976 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-c1f4120d) Found 0 networks to update RvR status.
2014-02-10 09:50:10,700 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Resetting hosts suitable for reconnect
2014-02-10 09:50:10,701 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Completed resetting hosts suitable for reconnect
2014-02-10 09:50:10,701 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Acquiring hosts for clusters already owned by this
management server
2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Completed acquiring hosts for clusters already owned by
this management server
2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Acquiring hosts for clusters not owned by any
management server
2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-094b63f6) Completed acquiring hosts for clusters not owned by any
management server
2014-02-10 09:50:20,790 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-20cda582) System vm template is not ready at data center
5, wait until it is ready to launch secondary storage vm
2014-02-10 09:50:20,790 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-20cda582) Zone 5 is not ready to launch secondary storage
VM yet
2014-02-10 09:50:21,107 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-b6e1e631) Skip capacity scan due to there is no Primary
Storage UPintenance mode
2014-02-10 09:50:30,569 DEBUG [c.c.a.ApiServlet]
(catalina-exec-17:ctx-0a0b3424) ===START=== 10.129.150.62 -- GET
command=deleteZone&id=e2a5a06c-415d-4055-a497-bab7ee17afdb&response=json&sessionkey=xalKi3V%2FezO4ZXi%2BH1l7cH6PC9s%3D&_=1392007791586
2014-02-10 09:50:30,582 ERROR [c.c.a.ApiServer]
(catalina-exec-17:ctx-0a0b3424 ctx-e5843c64) unhandled exception executing
api command: deleteZone
com.cloud.utils.exception.CloudRuntimeException: The zone is not deletable
because there are virtual machines running in this zone
at
com.cloud.configuration.ConfigurationManagerImpl.checkIfZoneIsDeletable(ConfigurationManagerImpl.java:1407)
at
com.cloud.configuration.ConfigurationManagerImpl.deleteZone(ConfigurationManagerImpl.java:1548)
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 $Proxy87.deleteZone(Unknown Source)
at
org.apache.cloudstack.api.command.admin.zone.DeleteZoneCmd.execute(DeleteZoneCmd.java:74)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374)
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:2274)
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-02-10 09:50:30,583 DEBUG [c.c.a.ApiServlet]
(catalina-exec-17:ctx-0a0b3424 ctx-e5843c64) ===END=== 10.129.150.62 --
GET
command=deleteZone&id=e2a5a06c-415d-4055-a497-bab7ee17afdb&response=json&sessionkey=xalKi3V%2FezO4ZXi%2BH1l7cH6PC9s%3D&_=1392007791586