Set 'host' globally in Cinder instead of per-backend basis
This change will set a common value for 'host' across all controllers. We missed to do so for the NFS backend previously. It will still be possible to set a different per-backend 'host' value by providing it via ExtraData. Change-Id: I00fd05660a15be3611e1a394650be6ab713670f9
This commit is contained in:
parent
2125ffc650
commit
fd0b25b010
|
@ -95,6 +95,9 @@ ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
|
|||
# cinder
|
||||
cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
|
||||
cinder::cron::db_purge::destination: '/dev/null'
|
||||
cinder::config::cinder_config:
|
||||
DEFAULT/host:
|
||||
value: hostgroup
|
||||
|
||||
# heat
|
||||
heat::engine::configure_delegated_roles: false
|
||||
|
|
|
@ -410,10 +410,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_eqlx_backend', false) {
|
||||
$cinder_eqlx_backend = hiera('cinder::backend::eqlx::volume_backend_name')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_eqlx_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
cinder::backend::eqlx { $cinder_eqlx_backend :
|
||||
volume_backend_name => hiera('cinder::backend::eqlx::volume_backend_name', undef),
|
||||
san_ip => hiera('cinder::backend::eqlx::san_ip', undef),
|
||||
|
@ -431,10 +427,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_dellsc_backend', false) {
|
||||
$cinder_dellsc_backend = hiera('cinder::backend::dellsc_iscsi::volume_backend_name')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_dellsc_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
cinder::backend::dellsc_iscsi{ $cinder_dellsc_backend :
|
||||
volume_backend_name => hiera('cinder::backend::dellsc_iscsi::volume_backend_name', undef),
|
||||
san_ip => hiera('cinder::backend::dellsc_iscsi::san_ip', undef),
|
||||
|
@ -452,10 +444,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_netapp_backend', false) {
|
||||
$cinder_netapp_backend = hiera('cinder::backend::netapp::title')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_netapp_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
if hiera('cinder::backend::netapp::nfs_shares', undef) {
|
||||
$cinder_netapp_nfs_shares = split(hiera('cinder::backend::netapp::nfs_shares', undef), ',')
|
||||
}
|
||||
|
|
|
@ -786,10 +786,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_eqlx_backend', false) {
|
||||
$cinder_eqlx_backend = hiera('cinder::backend::eqlx::volume_backend_name')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_eqlx_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
cinder::backend::eqlx { $cinder_eqlx_backend :
|
||||
volume_backend_name => hiera('cinder::backend::eqlx::volume_backend_name', undef),
|
||||
san_ip => hiera('cinder::backend::eqlx::san_ip', undef),
|
||||
|
@ -807,10 +803,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_dellsc_backend', false) {
|
||||
$cinder_dellsc_backend = hiera('cinder::backend::dellsc_iscsi::volume_backend_name')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_dellsc_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
cinder::backend::dellsc_iscsi{ $cinder_dellsc_backend :
|
||||
volume_backend_name => hiera('cinder::backend::dellsc_iscsi::volume_backend_name', undef),
|
||||
san_ip => hiera('cinder::backend::dellsc_iscsi::san_ip', undef),
|
||||
|
@ -828,10 +820,6 @@ if hiera('step') >= 3 {
|
|||
if hiera('cinder_enable_netapp_backend', false) {
|
||||
$cinder_netapp_backend = hiera('cinder::backend::netapp::title')
|
||||
|
||||
cinder_config {
|
||||
"${cinder_netapp_backend}/host": value => 'hostgroup';
|
||||
}
|
||||
|
||||
if hiera('cinder::backend::netapp::nfs_shares', undef) {
|
||||
$cinder_netapp_nfs_shares = split(hiera('cinder::backend::netapp::nfs_shares', undef), ',')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue