Hi Thanks.
The problem was solved. The reason for the error is: 1. The iscsi was added before hand, in which appear it can not be added at xencenter first, it need to be added from cloudstack ui. 2. the iscsi can not have CHAP enabled. On Tue, Jun 12, 2012 at 3:26 AM, <[email protected]> wrote: > if you have assigned a target-iqn to connect ? > > > At 2012-06-11 21:50:24,"Lu Heng" <[email protected]> wrote: > >Hi > > > >I have added successfully added two host, while I trying to add iscsi > >storage, I got following error > >Can not create storage pool through host 5 due to Catch Exception > >com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed > >due to com.cloud.utils.exception.CloudRuntimeException: Unable to create > >Iscsi SR {targetIQN=, target=10.2.0.5} due to Unable to create Iscsi SR > >{targetIQN=, target=10.2.0.5} due to SR_BACKEND_FAILURE_83ISCSI discovery > >failed [opterr=check target settings]<?xml version="1.0" ?> > ><iscsi-target-iqns> <TGT> <Index> 0 </Index> <IPAddress> 10.2.0.5 > ></IPAddress> <TargetIQN> i </TargetIQN> </TGT> <TGT> <Index> 1 </Index> > ><IPAddress> 46.136.X.X</IPAddress> <TargetIQN> </TargetIQN> </TGT> <TGT> > ><Index> 2 </Index> <IPAddress> 10.2.0.5 </IPAddress> <TargetIQN> * > ></TargetIQN> </TGT> </iscsi-target-iqns> on > >host:5b21cc9e-d1b7-4189-a6b9-62e7f798b4e2 pool: 10.2.0.5/iqn.3f/0 > >(IGN and IP has been replaced). > > > >The storage is working fine with xencenter, and it is already attached to > >the resource pool in the xencenter. > > > > > >-- > >Kind regards. > >Lu > > > >This transmission is intended solely for the addressee(s) shown above. > >It may contain information that is privileged, confidential or > >otherwise protected from disclosure. Any review, dissemination or use > >of this transmission or its contents by persons other than the > >intended addressee(s) is strictly prohibited. If you have received > >this transmission in error, please notify this office immediately and > >e-mail the original at the sender's address above by replying to this > >message and including the text of the transmission received. > -- -- Kind regards. Lu This transmission is intended solely for the addressee(s) shown above. It may contain information that is privileged, confidential or otherwise protected from disclosure. Any review, dissemination or use of this transmission or its contents by persons other than the intended addressee(s) is strictly prohibited. If you have received this transmission in error, please notify this office immediately and e-mail the original at the sender's address above by replying to this message and including the text of the transmission received.
