Murano logging to rsyslog
Configure murano to use rsyslog container as logging mechanism Change-Id: I98416f4dac7176539576e865c249adca04379251 Implements: bp logging-container
This commit is contained in:
parent
e69571eeb3
commit
cacff1c11a
@ -126,6 +126,12 @@ $template SwiftObjectExpirerFile,"/var/log/swift/swift-object-expirer.log"
|
|||||||
$template SwiftObjectUpdaterFile,"/var/log/swift/swift-object-updater.log"
|
$template SwiftObjectUpdaterFile,"/var/log/swift/swift-object-updater.log"
|
||||||
:syslogtag,contains,"swift-object-updater" ?SwiftObjectUpdaterFile
|
:syslogtag,contains,"swift-object-updater" ?SwiftObjectUpdaterFile
|
||||||
|
|
||||||
|
$template MuranoEngineFile,"/var/log/murano/murano-engine.log"
|
||||||
|
:syslogtag,contains,"murano-engine" ?MuranoEngineFile
|
||||||
|
|
||||||
|
$template MuranoApiFile,"/var/log/murano/murano-api.log"
|
||||||
|
:syslogtag,contains,"murano-api" ?MuranoApiFile
|
||||||
|
|
||||||
$template DynFile,"/var/log/syslog.log"
|
$template DynFile,"/var/log/syslog.log"
|
||||||
*.* ?DynFile
|
*.* ?DynFile
|
||||||
& ~
|
& ~
|
||||||
|
@ -13,7 +13,9 @@
|
|||||||
insecure_registry: "{{ docker_insecure_registry }}"
|
insecure_registry: "{{ docker_insecure_registry }}"
|
||||||
name: murano_engine
|
name: murano_engine
|
||||||
image: "{{ murano_engine_image_full }}"
|
image: "{{ murano_engine_image_full }}"
|
||||||
volumes: "{{ node_config_directory }}/murano-engine/:/opt/kolla/config_files/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/murano-engine/:/opt/kolla/config_files/:ro"
|
||||||
|
- "/var/lib/kolla/dev/log:/dev/log"
|
||||||
volumes_from:
|
volumes_from:
|
||||||
env:
|
env:
|
||||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||||
@ -33,7 +35,9 @@
|
|||||||
insecure_registry: "{{ docker_insecure_registry }}"
|
insecure_registry: "{{ docker_insecure_registry }}"
|
||||||
name: murano_api
|
name: murano_api
|
||||||
image: "{{ murano_api_image_full }}"
|
image: "{{ murano_api_image_full }}"
|
||||||
volumes: "{{ node_config_directory }}/murano-api/:/opt/kolla/config_files/:ro"
|
volumes:
|
||||||
|
- "{{ node_config_directory }}/murano-api/:/opt/kolla/config_files/:ro"
|
||||||
|
- "/var/lib/kolla/dev/log:/dev/log"
|
||||||
env:
|
env:
|
||||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||||
when: inventory_hostname in groups['murano-api']
|
when: inventory_hostname in groups['murano-api']
|
||||||
|
@ -7,6 +7,9 @@ rabbit_userid = {{ rabbitmq_user }}
|
|||||||
rabbit_password = {{ rabbitmq_password }}
|
rabbit_password = {{ rabbitmq_password }}
|
||||||
notification_driver = noop
|
notification_driver = noop
|
||||||
|
|
||||||
|
use_syslog = True
|
||||||
|
syslog_log_facility = LOG_LOCAL0
|
||||||
|
|
||||||
{% if service_name == 'murano-api' %}
|
{% if service_name == 'murano-api' %}
|
||||||
bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||||
bind_port = {{ murano_api_port }}
|
bind_port = {{ murano_api_port }}
|
||||||
|
Loading…
Reference in New Issue
Block a user