lun从0开始,如果是第一个,填0即可。 2013-10-17
toudsf 发件人:evanitsharp <evanitsh...@gmail.com> 发送时间:2013-10-17 10:07 主题:Re: iscsi加入时报下面的错误,请各位高手帮忙指教一下!虚拟化软件用的是xen server 收件人:"CloudStack社区"<users-cn@cloudstack.apache.org> 抄送: 你LUN怎么填的? evanitsharp 发件人: toudsf 发送时间: 2013-10-16 16:58 收件人: users-cn 主题: iscsi加入时报下面的错误,请各位高手帮忙指教一下!虚拟化软件用的是xen server 2013-10-16 16:43:36,908 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START=== 202.108.145.11 -- GET command=cr: eateStoragePool&zoneid=2fd8c385-9f2c-4e3e-bd84-dddfef0d7c61&podId=f6b9ed93-e0cf-4291-a7be-9280ac048fa9&clusterid=ec85a670-cff2-4735-a422-1bdad1264fa0&name=maxiaohui&url=iscsi%3A%2F%2F192.168.0.203%2Fiqn.2001-04.com.example%3Astorage.disk2.sys1.xyz%2Fxyz&response=json&sessionkey=f3seOLVSaDr70CeHzAVGv2dizKw%3D&_=1381912979530 2013-10-16 16:43:36,924 DEBUG [cloud.storage.StorageManagerImpl] (catalina-exec-3:null) createPool Params @ scheme - iscsi storageHost - 192.168.0.203 hostPath - /iqn.2001-04.com.example:storage.disk2.sys1.xyz/xyz port - -1 2013-10-16 16:43:36,925 ERROR [cloud.api.ApiServer] (catalina-exec-3:null) unhandled exception executing api command: createStoragePool java.lang.NullPointerException at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1308) at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:147) at org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:123) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) 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:2266) 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-10-16 16:43:36,927 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END=== 202.108.145.11 -- GET command=createStoragePool&zoneid=2fd8c385-9f2c-4e3e-bd84-dddfef0d7c61&podId=f6b9ed93-e0cf-4291-a7be-9280ac048fa9&clusterid=ec85a670-cff2-4735-a422-1bdad1264fa0&name=maxiaohui&url=iscsi%3A%2F%2F192.168.0.203%2Fiqn.2001-04.com.example%3Astorage.disk2.sys1.xyz%2Fxyz&response=json&sessionkey=f3seOLVSaDr70CeHzAVGv2dizKw%3D&_=1381912979530 2013-10-16 16:43:40,106 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-470:null) Seq 1-1088028677: Executing request 2013-10-16 16:43:40,315 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-470:null) Seq 1-1088028677: Response Received: 2013-10-16 16:43:40,315 DEBUG [agent.transport.Request] (DirectAgent-470:null) Seq 1-1088028677: Processing: { Ans: , MgmtId: 130580777636, via: 1, Ver: v1, Flags: 10, [{"Answer":{"result":true,"wait":0}}] } 2013-10-16 toudsf