cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mr.博" <289254...@qq.com>
Subject cs+vmware 无法添加vmfs存储
Date Wed, 13 Aug 2014 02:32:05 GMT
各位好:
      我用CS4.3+vsphere搭建的环境,添加vmfs作为主存储的时候报错,nfs存储就可以添加成功。请各位高手帮忙看一下是什么问题。
日志报错如下:


————————————————华丽丽的分割线——————————————————————————




2014-08-13 10:12:59,324 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-160:ctx-17f5a494 10.181.37.18)
Executing resource ModifyStoragePoolCommand: {"add":true,"pool":{"id":7,"uuid":"f3ddd813-7022-339f-85e9-e0c002723836","host":"VMFS
datastore: /APAC+Cloud/Cloud-Primary","path":"/APAC+Cloud/Cloud-Primary","port":0,"type":"VMFS"},"localPath":"/mnt//40e1b1df-08e2-37ab-9888-613b2fb38732","wait":0}
2014-08-13 10:12:59,355 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-7:ctx-da779050) Seq
1-1512640205: Response Received: 
2014-08-13 10:12:59,355 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-798b1475) Seq 1-1512640205:
Received:  { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer }
}
2014-08-13 10:12:59,451 ERROR [c.c.h.v.m.DatacenterMO] (DirectAgent-160:ctx-17f5a494 10.181.37.18)
Unable to locate DC APAC+Cloud
2014-08-13 10:12:59,457 ERROR [c.c.h.v.u.VmwareContext] (DirectAgent-160:ctx-17f5a494 10.181.37.18)
Unable to locate the datacenter specified in path: /APAC+Cloud/Cloud-Primary
2014-08-13 10:12:59,457 ERROR [c.c.h.v.m.HostMO] (DirectAgent-160:ctx-17f5a494 10.181.37.18)
Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0,
path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836
2014-08-13 10:12:59,457 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-160:ctx-17f5a494 10.181.37.18)
ModifyStoragePoolCommand failed due to Exception: java.lang.Exception
Message: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary,
port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836

java.lang.Exception: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary,
port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836
at com.cloud.hypervisor.vmware.mo.HostMO.mountDatastore(HostMO.java:853)
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4818)
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:536)
at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)
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 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-08-13 10:12:59,458 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-160:ctx-17f5a494)
Seq 1-1512640207: Response Received: 
2014-08-13 10:12:59,458 DEBUG [c.c.a.t.Request] (DirectAgent-160:ctx-17f5a494) Seq 1-1512640207:
Processing:  { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"ModifyStoragePoolCommand
failed due to Exception: java.lang.Exception\nMessage: Unable to create VMFS datastore. host:
VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid:
f3ddd8137022339f85e9e0c002723836\n","wait":0}}] }
2014-08-13 10:12:59,458 DEBUG [c.c.a.t.Request] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351)
Seq 1-1512640207: Received:  { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, {
Answer } }
2014-08-13 10:12:59,459 DEBUG [c.c.a.m.AgentManagerImpl] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351)
Details from executing class com.cloud.agent.api.ModifyStoragePoolCommand: ModifyStoragePoolCommand
failed due to Exception: java.lang.Exception
Message: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary,
port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836

2014-08-13 10:12:59,459 WARN  [o.a.c.alerts] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351) 
alertType:: 7 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Unable to
attach storage pool7 to the host1
2014-08-13 10:12:59,469 WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (catalina-exec-6:ctx-ec5c856b
ctx-a1a6d351) Unable to establish a connection between Host[-1-Routing] and org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4fdccf9c
com.cloud.utils.exception.CloudRuntimeException: Unable establish connection from storage
head to storage pool 7 due to ModifyStoragePoolCommand failed due to Exception: java.lang.Exception
Message: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary,
port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836
7
at org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:66)
at com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:872)
at org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:411)
at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:673)
at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:177)
at org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:625)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:468)
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:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-08-13 10:12:59,471 WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (catalina-exec-6:ctx-ec5c856b
ctx-a1a6d351) No host can access storage pool org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4fdccf9c
on cluster 1
2014-08-13 10:12:59,478 DEBUG [c.c.s.StorageManagerImpl] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351)
Failed to add data store: Failed to access storage pool
com.cloud.utils.exception.CloudRuntimeException: Failed to access storage pool
at org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:422)
at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:673)
at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:177)
at org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:625)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:468)
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:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-08-13 10:12:59,480 INFO  [c.c.a.ApiServer] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351)
null
2014-08-13 10:12:59,481 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351)
===END===  10.181.184.87 -- GET  command=createStoragePool&scope=cluster&zoneid=ffa8c890-0c06-402e-adaa-a3facea369f7&podid=4b93e753-62d7-43d0-9e88-603083466a5a&clusterid=f528ed87-f9fb-4528-9dcf-fb81842293e3&name=CSprivmfs&url=vmfs%3A%2F%2Fdummy%2FAPAC%20Cloud%2FCloud-Primary&response=json&sessionkey=NXLTSQi8hTGhYNoAw5ghcWlP89Q%3D&_=1407895979228‍
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message