← Back to team overview

openstack team mailing list archive

答复: 答复: 答复: 答复: Is there special setting to attach volume to instance on Nexenta server?

 

Yuriy,

Thanks for your attention.

Pasting was in http://paste.openstack.org/show/19293/

By the way,I modified /etc/iscsi/iscsid.conf to set following line and to make sure compute node could login nexenta:
node.startup = automatic
node.session.auth.authmethod = CHAP
node.session.auth.username_in = iscsi
node.session.auth.password_in = romi19681117

So, in the debug log it shows:
iscsiadm -m node -T iqn.1986-03.com.sun:01:005008c802ff.4fb2f97dvolume-00000001 -p 192.168.1.42:3260 --login
Logging in to [iface: default, target: iqn.1986-03.com.sun:01:005008c802ff.4fb2f97dvolume-00000001, portal: 192.168.1.42,3260]
iscsiadm: Could not login to [iface: default, target: iqn.1986-03.com.sun:01:005008c802ff.4fb2f97dvolume-00000001, portal: 192.168.1.42,3260]:

and in Nexenta I'd created remote initiator (name: use the value of initiatorname.iscsi on the compute node,user is iscsi, pass is romi19681117);
also in Nexenta, I'd created iscsi target (iqn.1986-03.com.sun:01:005008c802ff.4fb2f97d), and Auth Method I choice "none".

On Nexnenta, I did not create "Target Portal Groups","Target Group","Initiator Group".

Regards,
Romi


-----邮件原件-----
发件人: Yuriy Taraday [mailto:yorik.sar@xxxxxxxxx] 
发送时间: 2012年7月5日 星期四 17:09
收件人: romi zhang
抄送: openstack@xxxxxxxxxxxxxxxxxxx
主题: Re: [Openstack] 答复: 答复: 答复: Is there special setting to attach volume to instance on Nexenta server?

Turn on debug setting in config file and post compute and volume logs'
contents somewhere (e.g. http://paste.openstack.org/ )

Kind regards, Yuriy.


On Thu, Jul 5, 2012 at 12:18 PM, romi zhang <romizhang1968@xxxxxxx> wrote:
>
> I did it just like your ideas,right now, dashboard status was in always "attaching".
> In the compute node log, there is only "Attaching volume 1 to /dev/vdc", but no error.
>
> Romi
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp




References