Fix logging_sources map_merge issues
Fixes an issue where map_merge was used incorrectly, trying to merge dict with null and passing a list of only one map. This caused the map merge not to happen, and the $RoleServiceChain output to carry the actual map_merge in service_config_settings instead of the intended merged map of rsyslog logging_sources. Closes-Bug: #1917195 Change-Id: I529f91d5391d24bb5a6af37d3486f6ddf6cabac7
This commit is contained in:
parent
aca8b5fd6f
commit
843713d06e
@ -204,9 +204,7 @@ outputs:
|
||||
- {}
|
||||
- cinder::wsgi::apache::workers: {get_param: CinderWorkers}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
rsyslog:
|
||||
tripleo_logging_sources_cinder_api:
|
||||
- {get_param: CinderApiLoggingSource}
|
||||
mysql:
|
||||
|
@ -114,9 +114,7 @@ outputs:
|
||||
cinder::backup::nfs::backup_share: {get_param: CinderBackupNfsShare}
|
||||
cinder::backup::nfs::backup_mount_options: {get_param: CinderBackupNfsMountOptions}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
rsyslog:
|
||||
tripleo_logging_sources_cinder_backup:
|
||||
- {get_param: DockerCinderBackupLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
|
@ -143,11 +143,7 @@ outputs:
|
||||
cinder::backup::manage_service: false
|
||||
cinder::backup::enabled: false
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBackupBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_cinder_backup:
|
||||
- {get_param: DockerCinderBackupLoggingSource}
|
||||
get_attr: [CinderBackupBase, role_data, service_config_settings]
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: cinder
|
||||
|
@ -73,9 +73,7 @@ outputs:
|
||||
- get_attr: [CinderBase, role_data, config_settings]
|
||||
- cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
rsyslog:
|
||||
tripleo_logging_sources_cinder_scheduler:
|
||||
- {get_param: CinderSchedulerLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
|
@ -280,9 +280,7 @@ outputs:
|
||||
$NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]}
|
||||
- {}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
rsyslog:
|
||||
tripleo_logging_sources_cinder_volume:
|
||||
- {get_param: CinderVolumeLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
|
@ -131,11 +131,7 @@ outputs:
|
||||
cinder::volume::enabled: false
|
||||
cinder::backend_host: hostgroup
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_cinder_volume:
|
||||
- {get_param: CinderVolumeLoggingSource}
|
||||
get_attr: [CinderBase, role_data, service_config_settings]
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: cinder
|
||||
|
@ -183,8 +183,7 @@ outputs:
|
||||
- {}
|
||||
- placement::wsgi::apache::workers: {get_param: PlacementWorkers}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- rsyslog:
|
||||
rsyslog:
|
||||
tripleo_logging_sources_placement:
|
||||
- {get_param: PlacementLoggingSource}
|
||||
mysql:
|
||||
|
Loading…
Reference in New Issue
Block a user