Comment 10 for bug 922232

Revision history for this message
Marcelo Dieder (mdieder) wrote :

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@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@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@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?