cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4697) Not able to delete Primary storage when there are no hosts in the cluster.
Date Tue, 17 Sep 2013 22:07:51 GMT
Sangeetha Hariharan created CLOUDSTACK-4697:
-----------------------------------------------

             Summary: Not able to delete Primary storage when there are no hosts in the cluster.
                 Key: CLOUDSTACK-4697
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4697
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.1
         Environment: Build from 4.2-forward
            Reporter: Sangeetha Hariharan
             Fix For: 4.2.1


Not able to delete Primary storage when there are no hosts in the cluster.

Steps to reproduce the problem:

I had 1 cluster with 1 cluster-wide primary storage and 1 host.
Put the host is maintenance mode and deleted the host successfully.
Put the primary storage in maintenance mode.

Try to delete the primary storage.

Primary storage deletion fails with "Failed to delete storage pool on host".

Tried with forced option set to true. Same issue is seen.

Following is the exception seen in management server logs:


http://10.223.240.160:8080/client/api?command=deleteStoragePool&id=6aa75bda-523e-3a70-876a-551889baf1fb&forced=true&response=json&sessionkey=w5yXStAmUJHVfEBV5vAYnmtnKeI%3D&_=1379455061206
 
2013-09-17 14:47:14,109 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START===  10.215.3.9
-- GET  command=deleteStoragePool&id=6aa75bda-523e-3a70-8
76a-551889baf1fb&forced=true&response=json&sessionkey=w5yXStAmUJHVfEBV5vAYnmtnKeI%3D&_=1379455061206
2013-09-17 14:47:14,121 ERROR [cloud.api.ApiServer] (catalina-exec-2:null) unhandled exception
executing api command: deleteStoragePool
com.cloud.utils.exception.CloudRuntimeException: Failed to delete storage pool on host
        at org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.deleteDataStore(CloudStackPrimaryDataStoreLifeCycleImpl.
java:478)
        at com.cloud.storage.StorageManagerImpl.deletePool(StorageManagerImpl.java:937)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.admin.storage.DeletePoolCmd.execute(DeletePoolCmd.java:78)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        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)
2013-09-17 14:47:14,124 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END===  10.215.3.9
-- GET  command=deleteStoragePool&id=6aa75bda-523e-3a70-876
a-551889baf1fb&forced=true&response=json&sessionkey=w5yXStAmUJHVfEBV5vAYnmtnKeI%3D&_=1379455061206
 
 


--
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

Mime
View raw message