more information:

10.0.20.5  : rhel6 with cloudstack magament 4.2
10.0.20.27: hp p400 with LUN for primary storage
10.0.20.20: XenServer 

I try to lunch the command from my browser:

http://10.0.20.5:8080/client/api?command=createStoragePool&zoneid=f901d39e-7ac8-47e6-975e-9e2ff2826d86&podId=593604f9-cbb5-4fb5-9ff2-389884f49341&clusterid=a7111127-6921-4c76-a2cf-2bd187b4cb67&name=Primary&scope=cluster&url=iscsi%3A%2F%2F10.0.20.27%2Fiqn.2003-10.com.lefthandnetworks%3Acloudstack-vsa01p4000%3A24%3Avolumen1cluster%2F0&response=json&sessionkey=tFdowy0Gl2cxkPNbbu8LCMqvjKE%3D&_=1385135420953

And i obtain this error

{ "createstoragepoolresponse" : 
{"uuidList":[],"errorcode":530,"cserrorcode":9999,"errortext":"Failed to delete 
storage pool on host"} }


________________________________________
De: Hollman Eduardo Enciso Rocha [[email protected]]
Enviado el: viernes, 22 de noviembre de 2013 10:38 a.m.
Para: [email protected]
Asunto: problem configuring iSCSI Primary storage

Hello i'm very new on CludStack.
i'm on my firt steps...

I'm trying configure my first zone but in the step to configure de Primary 
Storage i choose iSCCI protocol. server 10.0.20.27 target IQN: 
iqn.2003-10.com.lefthandnetworks:cloudstack-vsa01p4000:24:volumen1cluster an 
LUN #0

but when i save changes i obtain this error:

 Creating primary storageSomething went wrong; please correct the following:
Failed to delete storage pool on host
            this is the log that i can see:

http://pastebin.com/b1yA7nMS


i veryfy the iqn and it's ok:
[root@cloudstack mnt]# iscsiadm --mode discoverydb --type sendtargets --portal 
10.0.20.27 --discover
10.0.20.27:3260,1 
iqn.2003-10.com.lefthandnetworks:cloudstack-vsa01p4000:24:volumen1cluster

Some idea.

Thank you very Much

regards

Hollman Enciso

回复