You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Oleksyuk, Vasyl" <ol...@fizmat.tnpu.edu.ua> on 2015/02/01 14:28:03 UTC

Not able to add CIFS primary Storage Cloudstack 4.4

Hello
I have tried to create zone with hyper-v hypervisor. The Cloudstack agent
is running on Windows Server. While adding CIFS primary storage I am
getting error:

*2015-02-01 13:23:05,010 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-468:ctx-e61355f1) POST response is
[{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"result":false,"details":"Failed
to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify
your pool
details","localPath":"\\10.41.1.202\","templateInfo":{},"poolInfo":{"uuid":null,"host":"10.41.1.202","hostPath":"?user=lex&domain=wfizmat","localPath":"\\10.41.1.202\","poolType":"SMB","capacityBytes":0,"availableBytes":0},"contextMap":{}}}]*
*2015-02-01 13:23:05,012 DEBUG [c.c.a.t.Request]
(DirectAgent-468:ctx-e61355f1) Seq 4-1728819306956851588: Processing:  {
Ans: , MgmtId: 85920263655407, via: 4, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"poolInfo":{"host":"10.41.1.202","localPath":"\\\\10.41.1.202\\","hostPath":"?user=lex&domain=wfizmat","poolType":"SMB","capacityBytes":0,"availableBytes":0},"templateInfo":{},"result":false,"details":"Failed
to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify
your pool details","wait":0}}] }*
*2015-02-01 13:23:05,012 DEBUG [c.c.a.m.AgentManagerImpl]
(catalina-exec-9:ctx-4ae5aa02 ctx-2f6fcc10) Details from executing class
com.cloud.agent.api.ModifyStoragePoolCommand: Failed to add storage pool
05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool details*
*com.cloud.utils.exception.CloudRuntimeException: Unable establish
connection from storage head to storage pool 33 due to Failed to add
storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool
details33*

There are parameters, which I enter:
Server: cifs://10.41.1.202/
Path: hypercloud1/primary
SMB Username: lex
SMB Password: ***********
SMB Domain: wfizmat

If I add secondary storage with the same parameters, Cloudstack doesn't
display any errors.

Thanks for ideas.



-- 
--
З повагою, Василь Олексюк

RE: Not able to add CIFS primary Storage Cloudstack 4.4

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Can you try Server as 10.41.1.202 without appending cifs to it?

-----Original Message-----
From: Oleksyuk, Vasyl [mailto:oleksyuk@fizmat.tnpu.edu.ua] 
Sent: Sunday, February 01, 2015 6:58 PM
To: dev@cloudstack.apache.org
Subject: Not able to add CIFS primary Storage Cloudstack 4.4

Hello
I have tried to create zone with hyper-v hypervisor. The Cloudstack agent is running on Windows Server. While adding CIFS primary storage I am getting error:

*2015-02-01 13:23:05,010 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-468:ctx-e61355f1) POST response is [{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"result":false,"details":"Failed
to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool
details","localPath":"\\10.41.1.202\","templateInfo":{},"poolInfo":{"uuid":null,"host":"10.41.1.202","hostPath":"?user=lex&domain=wfizmat","localPath":"\\10.41.1.202\","poolType":"SMB","capacityBytes":0,"availableBytes":0},"contextMap":{}}}]*
*2015-02-01 13:23:05,012 DEBUG [c.c.a.t.Request]
(DirectAgent-468:ctx-e61355f1) Seq 4-1728819306956851588: Processing:  {
Ans: , MgmtId: 85920263655407, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ModifyStoragePoolAnswer":{"poolInfo":{"host":"10.41.1.202","localPath":"\\\\10.41.1.202\\","hostPath":"?user=lex&domain=wfizmat","poolType":"SMB","capacityBytes":0,"availableBytes":0},"templateInfo":{},"result":false,"details":"Failed
to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool details","wait":0}}] }*
*2015-02-01 13:23:05,012 DEBUG [c.c.a.m.AgentManagerImpl]
(catalina-exec-9:ctx-4ae5aa02 ctx-2f6fcc10) Details from executing class
com.cloud.agent.api.ModifyStoragePoolCommand: Failed to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool details*
*com.cloud.utils.exception.CloudRuntimeException: Unable establish connection from storage head to storage pool 33 due to Failed to add storage pool 05b80c71-0137-3340-86a0-eba781508ccb, please verify your pool
details33*

There are parameters, which I enter:
Server: cifs://10.41.1.202/
Path: hypercloud1/primary
SMB Username: lex
SMB Password: ***********
SMB Domain: wfizmat

If I add secondary storage with the same parameters, Cloudstack doesn't display any errors.

Thanks for ideas.



--
--
З повагою, Василь Олексюк