[Openstack] Iscsi target IP address

Olivier Cant olivier.cant at exxoss.com
Wed Jul 30 15:26:40 UTC 2014


Hi,

I'm having a bit of trouble with my opnestack setup (icehouse) in our 
lab when I try to launch a new instance.

In nova I get the following error :

2014-07-30 14:19:15.780 13528 TRACE nova.compute.manager [instance: 
6df99b40-0171-4a52-b362-832d1556c589] Command: sudo nova-rootwrap 
/etc/nova/rootwrap.conf iscsiadm -m node -T 
iqn.2010-10.org.openstack:volume-00bc4992-dd1e-405f-884a-d38224838a86 -p 
10.0.2.15:3260 --rescan
2014-07-30 14:19:15.780 13528 TRACE nova.compute.manager [instance: 
6df99b40-0171-4a52-b362-832d1556c589] Exit code: 21
2014-07-30 14:19:15.780 13528 TRACE nova.compute.manager [instance: 
6df99b40-0171-4a52-b362-832d1556c589] Stdout: ''
2014-07-30 14:19:15.780 13528 TRACE nova.compute.manager [instance: 
6df99b40-0171-4a52-b362-832d1556c589] Stderr: 'iscsiadm: No session 
found.\n'

I tried to run iSCSI discovery to the cinder node and I can't connect to it.

The cinder node has two interfaces (10.0.2.15 and 192.168.100.32) on two 
separate networks.  10.0.2.0/24 is our management network and hosts 
aren't allowed to talk to each other on that network (only to a 
management host) thus there can't be any iscsi session established over 
that link.

The volume is correctly created on the target node and tgtadm shows the 
correct configuration
If I try to establish an iSCSI session with the target at 192.168.100.31 
it succeeds.

My question is, how can I specify the ip address of the target that 
should be used (my guess would be in the nova.conf but I'm quite new to 
openstack so I might be wrong and I haven't found any option in the 
nova.conf file). Can someone describe how openstack "discovers" the ip 
address of the iSCSI provider and how it behave if the provider has 
several interfaces ?

Thank you already for your help.

Olivier





More information about the Openstack mailing list