[Bug 922232] Re: Volumes fail to attach without discovery using tgt

Marcelo Dieder mdieder at sinos.net
Sat Jun 9 04:04:11 UTC 2012


I have the same problem. The fix its ok?

In version Essex (Ubuntu 12.04), i create a new node compute
(multinode), and add the volume to a instance.

I have the error in the node compute (/var/log/nova/nova-compute.log):

Stderr: 'iscsiadm: No portal found.\n', and manually:

# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-00000007 -p 192.168.56.2:3260 --rescan
iscsiadm: No portal found.

But if i make a discovery...

root at cloud02:~# iscsiadm -m discovery -t st -p 192.168.56.2 192.168.156.66:3260,1 iqn.2010-10.org.openstack:volume-00000007
192.168.56.2:3260,1 iqn.2010-10.org.openstack:volume-00000006
10.1.0.4:3260,1 iqn.2010-10.org.openstack:volume-00000006
10.0.2.15:3260,1 iqn.2010-10.org.openstack:volume-00000006
192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000006
169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000006
192.168.56.2:3260,1 iqn.2010-10.org.openstack:volume-00000007
10.1.0.4:3260,1 iqn.2010-10.org.openstack:volume-00000007
10.0.2.15:3260,1 iqn.2010-10.org.openstack:volume-00000007
192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000007
169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000007

and then a login:

root at cloud02:~# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-00000007 -p 192.168.56.2:3260 --login
Logging in to [iface: default, target: iqn.2010-10.org.openstack:volume-00000007, portal: 192.168.56.2,3260]
Login to [iface: default, target: iqn.2010-10.org.openstack:volume-00000007, portal: 192.168.56.2,3260]: successful

and rescan:

root at cloud02:~# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-00000007 -p 192.168.56.2:3260 --rescan
Rescanning session [sid: 1, target: iqn.2010-10.org.openstack:volume-00000007, portal: 192.168.56.2,3260]

and now the instance attached volume!

it seems that the activation of a new node login is not automatic?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/922232

Title:
  Volumes fail to attach without discovery using tgt

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/922232/+subscriptions



More information about the Ubuntu-server-bugs mailing list