Merge "Fluentd: Set cinder-backup log path"
This commit is contained in:
commit
0f77e609d8
@ -52,6 +52,11 @@ parameters:
|
||||
CephClientUserName:
|
||||
default: openstack
|
||||
type: string
|
||||
DockerCinderBackupLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.cinder.backup
|
||||
path: /var/log/containers/cinder/cinder-backup.log
|
||||
|
||||
resources:
|
||||
|
||||
@ -82,7 +87,14 @@ outputs:
|
||||
config_settings: {get_attr: [CinderBase, role_data, config_settings]}
|
||||
logging_source: {get_attr: [CinderBase, role_data, logging_source]}
|
||||
logging_groups: {get_attr: [CinderBase, role_data, logging_groups]}
|
||||
service_config_settings: {get_attr: [CinderBase, role_data, service_config_settings]}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, service_config_settings]
|
||||
- fluentd:
|
||||
tripleo_fluentd_groups_cinder_backup:
|
||||
- cinder
|
||||
tripleo_fluentd_sources_cinder_backup:
|
||||
- {get_param: DockerCinderBackupLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: cinder
|
||||
|
@ -63,6 +63,11 @@ parameters:
|
||||
MonitoringSubscriptionCinderBackup:
|
||||
default: 'overcloud-cinder-backup'
|
||||
type: string
|
||||
CinderBackupLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.cinder.backup
|
||||
path: /var/log/cinder/cinder-backup.log
|
||||
|
||||
resources:
|
||||
|
||||
@ -96,6 +101,12 @@ outputs:
|
||||
cinder::backup::swift::backup_swift_container: volumebackups
|
||||
cinder::backup::nfs::backup_share: {get_param: CinderBackupNfsShare}
|
||||
cinder::backup::nfs::backup_mount_options: {get_param: CinderBackupNfsMountOptions}
|
||||
service_config_settings:
|
||||
fluentd:
|
||||
tripleo_fluentd_groups_cinder_backup:
|
||||
- cinder
|
||||
tripleo_fluentd_sources_cinder_backup:
|
||||
- {get_param: CinderBackupLoggingSource}
|
||||
step_config:
|
||||
str_replace:
|
||||
template: "include ::tripleo::profile::base::cinder::backup::DRIVER"
|
||||
|
Loading…
Reference in New Issue
Block a user