Heat logging to rsyslog
Configure heat to use rsyslog container as logging mechanism Change-Id: I71691bbc7c8cb56758e3597da7f44445a4bf5599 Implements: bp logging-container
This commit is contained in:
parent
a83d84b383
commit
603bbae0f4
@ -33,6 +33,15 @@ $template NovaSchedulerFile,"/var/log/nova/nova-scheduler.log"
|
||||
$template NovaComputeFile,"/var/log/nova/nova-compute.log"
|
||||
:syslogtag,contains,"nova-compute" ?NovaComputeFile
|
||||
|
||||
$template HeatAPIFile,"/var/log/heat/heat-api.log"
|
||||
:syslogtag,contains,"heat-api" ?HeatAPIFile
|
||||
|
||||
$template HeatAPICfnFile,"/var/log/heat/heat-api-cfn.log"
|
||||
:syslogtag,contains,"heat-api-cfn" ?HeatAPICfnFile
|
||||
|
||||
$template HeatEngineFile,"/var/log/heat/heat-engine.log"
|
||||
:syslogtag,contains,"heat-engine" ?HeatEngineFile
|
||||
|
||||
$template DynFile,"/var/log/syslog.log"
|
||||
*.* ?DynFile
|
||||
& ~
|
||||
|
@ -13,7 +13,9 @@
|
||||
insecure_registry: "{{ docker_insecure_registry }}"
|
||||
name: heat_api
|
||||
image: "{{ heat_api_image_full }}"
|
||||
volumes: "{{ node_config_directory }}/heat-api/:/opt/kolla/config_files/:ro"
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/heat-api/:/opt/kolla/config_files/:ro"
|
||||
- "/var/lib/kolla/dev/log:/dev/log"
|
||||
env:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
when: inventory_hostname in groups['heat-api']
|
||||
@ -32,7 +34,9 @@
|
||||
insecure_registry: "{{ docker_insecure_registry }}"
|
||||
name: heat_api_cfn
|
||||
image: "{{ heat_api_cfn_image_full }}"
|
||||
volumes: "{{ node_config_directory }}/heat-api-cfn/:/opt/kolla/config_files/:ro"
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/heat-api-cfn/:/opt/kolla/config_files/:ro"
|
||||
- "/var/lib/kolla/dev/log:/dev/log"
|
||||
env:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
when: inventory_hostname in groups['heat-api-cfn']
|
||||
@ -51,7 +55,9 @@
|
||||
insecure_registry: "{{ docker_insecure_registry }}"
|
||||
name: heat_engine
|
||||
image: "{{ heat_engine_image_full }}"
|
||||
volumes: "{{ node_config_directory }}/heat-engine/:/opt/kolla/config_files/:ro"
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/heat-engine/:/opt/kolla/config_files/:ro"
|
||||
- "/var/lib/kolla/dev/log:/dev/log"
|
||||
env:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
when: inventory_hostname in groups['heat-engine']
|
||||
|
@ -11,6 +11,9 @@ rpc_backend = rabbit
|
||||
notification_driver = noop
|
||||
deferred_auth_method = password
|
||||
|
||||
syslog_log_facility=LOG_LOCAL0
|
||||
use_syslog=yes
|
||||
|
||||
[oslo_messaging_rabbit]
|
||||
rabbit_host = {{ kolla_internal_address }}
|
||||
rabbit_userid = {{ rabbitmq_user }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user