fuel-library/deployment/puppet/mellanox_openstack/manifests/cinder.pp
Aviram Bar-Haim 207189b582 Set iser_ip_address with a storage network address
The iser_ip_address parameter in /etc/cinder/cinder.conf
has a wrong value.

This parameter has to be configured with the storage
endpoint address, since it is no longer inherits the
iscsi_ip_address by default.

Currently it uses the $my_ip value, which is not capable
to work with RDMA transport (with its default value).

This fix assures that the default iser_ip_address will
use an address with RDMA support, if iSER is chosen as
the iSCSI transport by the user.

Closes-bug: #1387794

Change-Id: If0f67a9dbe80bfc8655dab85a96d3621bdaf38da
2014-11-10 13:51:43 +02:00

14 lines
290 B
Puppet

class mellanox_openstack::cinder (
$iser = false,
$iser_ip_address,
) {
if $iser {
cinder_config { 'DEFAULT/volume_driver' :
value => 'cinder.volume.drivers.lvm.LVMISERDriver'
}
cinder_config { 'DEFAULT/iser_ip_address' :
value => $iser_ip_address
}
}
}