Hi,
i try to add a cifs primary storage via the web wizard and get the following
errors:
management-sever logs:
--
2015-04-20 09:43:17,041 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-460:ctx-e813c1b2) (logid:e1495dea) POST response is
[{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"result":false,"details":"Failed
to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your
pool
details","localPath":"\\172.16.19.1\SMB3_PRI","templateInfo":{},"poolInfo":{"uuid":null,"host":"172.16.19.1","hostPath":"/SMB3_PRI","localPath":"\\172.16.19.1\SMB3_PRI","poolType":"SMB","capacityBytes":0,"availableBytes":0},"contextMap":{}}}]
2015-04-20 09:43:17,042 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-460:ctx-e813c1b2) (logid:e1495dea) executeRequest received
response
[{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"poolInfo":{"host":"172.16.19.1","localPath":"\\\\172.16.19.1\\SMB3_PRI","hostPath":"/SMB3_PRI","poolType":"SMB","capacityBytes":0,"availableBytes":0},"templateInfo":{},"result":false,"details":"Failed
to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your
pool details","contextMap":{},"wait":0}}]
2015-04-20 09:43:17,046 DEBUG [c.c.a.t.Request] (DirectAgent-460:ctx-e813c1b2)
(logid:e1495dea) Seq 4-114841790497947749: Processing: { Ans: , MgmtId:
146454695956, via: 4, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"poolInfo":{"host":"172.16.19.1","localPath":"\\\\172.16.19.1\\SMB3_PRI","hostPath":"/SMB3_PRI","poolType":"SMB","capacityBytes":0,"availableBytes":0},"templateInfo":{},"result":false,"details":"Failed
to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your
pool details","wait":0}}] }
2015-04-20 09:43:17,047 DEBUG [c.c.a.m.AgentManagerImpl]
(catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Details from
executing class com.cloud.agent.api.ModifyStoragePoolCommand: Failed to add
storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool
details
2015-04-20 09:43:17,047 WARN [o.a.c.alerts] (catalina-exec-22:ctx-21cdb536
ctx-a8ee493e) (logid:e1495dea) alertType:: 7 // dataCenterId:: 1 // podId:: 1
// clusterId:: null // message:: Unable to attach storage pool18 to the host4
2015-04-20 09:43:17,050 WARN
[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
(catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Unable to
establish a connection between Host[-4-Routing] and
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70a08dbf
com.cloud.utils.exception.CloudRuntimeException: Unable establish connection
from storage head to storage pool 18 due to Failed to add storage pool
747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool details18
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-04-20 09:43:17,051 WARN
[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
(catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) No host can
access storage pool
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70a08dbf on
cluster 1
2015-04-20 09:43:17,052 DEBUG [c.c.s.StorageManagerImpl]
(catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Failed to add
data store: Failed to access storage pool
com.cloud.utils.exception.CloudRuntimeException: Failed to access storage pool
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-04-20 09:43:17,054 DEBUG [c.c.s.StorageManagerImpl]
(catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Failed to clean
up storage pool: null
2015-04-20 09:43:17,054 INFO [c.c.a.ApiServer] (catalina-exec-22:ctx-21cdb536
ctx-a8ee493e) (logid:e1495dea) Failed to add data store: Failed to access
storage pool
--
Hyperv-host logs:
2015-04-20 11:44:16,810 [5] ERROR HypervResource.HypervResourceController
[7cfd733e-b230-4d4b-9923-d9df6a45647c] - Failed to add storage pool
747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool details
2015-04-20 11:44:16,810 [5] INFO HypervResource.HypervResourceController
[7cfd733e-b230-4d4b-9923-d9df6a45647c] -
com.cloud.agent.api.ModifyStoragePoolCommand{
"add": true,
"pool": {
"id": 18,
"uuid": "747b562d-1f88-39fe-b1d2-784be7d4a7ef",
"host": "172.16.19.1",
"path": "/SMB3_PRI",
"port": 445,
"type": "SMB"
},
"localPath": "/mnt//747b562d-1f88-39fe-b1d2-784be7d4a7ef",
"contextMap": {
"logid": "e1495dea"
},
"wait": 0
}
2015-04-20 11:44:16,810 [5] INFO HypervResource.HypervResourceController
[7cfd733e-b230-4d4b-9923-d9df6a45647c] - {
"com.cloud.agent.api.ModifyStoragePoolAnswer": {
"result": false,
"details": "Failed to add storage pool
747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool details",
"localPath": "\\\\172.16.19.1\\SMB3_PRI",
"templateInfo": {},
"poolInfo": {
"uuid": null,
"host": "172.16.19.1",
"hostPath": "/SMB3_PRI",
"localPath": "\\\\172.16.19.1\\SMB3_PRI",
"poolType": "SMB",
"capacityBytes": 0,
"availableBytes": 0
},
"contextMap": {}
}
}
The cifs share could be mounted successfully directly onto the windows node.
Thanks in advance,
Thomas