Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

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

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


romizhang1968 at 163

Jul 5, 2012, 8:06 PM

Post #1 of 2 (156 views)
Permalink
答复: 答复: 答复: 答复: 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 [at] gmail]
发送时间: 2012年7月5日 星期四 17:09
收件人: romi zhang
抄送: openstack [at] lists
主题: 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 [at] 163> 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 [at] lists
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


romizhang1968 at 163

Jul 5, 2012, 9:26 PM

Post #2 of 2 (155 views)
Permalink
答复: 答复: 答复: 答复: Is there special setting to attach volume to instance on Nexenta server? [In reply to]

Yuriy,

Last log paste is that when I start the compute node it would login all iscsi node automaticly, following pasting is that I logout all iscsi session and then start nova-compute, the last log is:
Found iSCSI node vdc (after 1 rescans) from (pid=2199) connect_volume

http://paste.openstack.org/show/19294/

but the status is still "Attaching"

Regards,

Romi



_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.