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-0007 -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-0007
192.168.56.2:3260,1 iqn.2010-10.org.openstack:volume-0006
10.1.0.4:3260,1 iqn.2010-10.org.openstack:volume-0006
10.0.2.15:3260,1 iqn.2010-10.org.openstack:volume-0006
192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-0006
169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-0006
192.168.56.2:3260,1 iqn.2010-10.org.openstack:volume-0007
10.1.0.4:3260,1 iqn.2010-10.org.openstack:volume-0007
10.0.2.15:3260,1 iqn.2010-10.org.openstack:volume-0007
192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-0007
169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-0007
and then a login:
root@cloud02:~# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-0007
-p 192.168.56.2:3260 --login
Logging in to [iface: default, target:
iqn.2010-10.org.openstack:volume-0007, portal: 192.168.56.2,3260]
Login to [iface: default, target: iqn.2010-10.org.openstack:volume-0007,
portal: 192.168.56.2,3260]: successful
and rescan:
root@cloud02:~# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-0007
-p 192.168.56.2:3260 --rescan
Rescanning session [sid: 1, target: iqn.2010-10.org.openstack:volume-0007,
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
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs