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