207189b582
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
14 lines
290 B
Puppet
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
|
|
}
|
|
}
|
|
}
|