cinder/volume.pp: Bind iSCSI portal to management IP, not to wildcard

If Cinder binds its iSCSI portal to the 0.0.0.0 address, then Nova
will attempt to connect (with iscsiadm) to a portal at 0.0.0.0, which
is obviously bogus.

Instead, bind to the IP of the management interface, so iscsiadm can
properly access the portal.
This commit is contained in:
Florian Haas 2013-10-18 13:55:23 +02:00
parent 32ccf03cff
commit c175a91448

View File

@ -19,7 +19,7 @@ class kickstack::cinder::volume inherits kickstack {
require => Physical_volume["$pv"]
}
class { '::cinder::volume::iscsi':
iscsi_ip_address => '0.0.0.0',
iscsi_ip_address => getvar("ipaddress_${nic_management}"),
require => Volume_group["$vg"]
}
}