在cloudstack4.2.1中,虚拟化是kvm,删除nfs的主存储,删除失败报错:
2014-03-06 15:43:55,949 DEBUG [cloud.api.ApiServlet] (catalina-exec-27:null) 
===START===  122.224.154.38 -- GET  
command=deleteStoragePool&id=79e1b3e2-577e-395a-82ac-31bbfd079a1e&forced=true&response=json&sessionkey=otOhVGjlGJruKaYTlY5xww6H12A%3D&_=1394091837441
2014-03-06 15:43:55,967 ERROR [cloud.api.ApiServer] (catalina-exec-27: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:615)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
2014-03-06 15:43:55,969 DEBUG [cloud.api.ApiServlet] (catalina-exec-27:null) 
===END===  122.224.154.38 -- GET  
command=deleteStoragePool&id=79e1b3e2-577e-395a-82ac-31bbfd079a1e&forced=true&response=json&sessionkey=otOhVGjlGJruKaYTlY5xww6H12A%3D&_=1394091837441
2014-03-06 15:43:56,244 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-14:null) SeqA 28-1146877: Processing Seq 28-1146877:  { 
Cmd , MgmtId: -1, via: 28, Ver: v1, Flags: 11, 
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":412,"_loadInfo":"{\n
  \"connections\": [\n    {\n      \"id\": 153,\n      \"clientInfo\": \"\",\n  
    \"host\": \"172.16.100.104\",\n      \"port\": 5904,\n      \"tag\": 
\"4732f99d-901f-4db6-a170-8d2df1d568b7\",\n      \"createTime\": 
1394090793653,\n      \"lastUsedTime\": 1394091833378\n    }\n  
]\n}","wait":0}}] }

怎么删除这个nfs主存储?                                     

回复