Merge "Use systemd-journald instead of log files"
This commit is contained in:
@@ -95,6 +95,7 @@ placement_pip_packages:
|
||||
- PyMySQL
|
||||
- python-memcached
|
||||
- cryptography
|
||||
- systemd-python
|
||||
- uwsgi
|
||||
|
||||
## Service Name-Group Mapping
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
name: "python_venv_build"
|
||||
vars:
|
||||
venv_build_constraints: "{{ placement_git_constraints }}"
|
||||
venv_build_distro_package_list: "{{ placement_devel_distro_packages }}"
|
||||
venv_install_destination_path: "{{ placement_bin | dirname }}"
|
||||
venv_install_distro_package_list: "{{ placement_distro_packages }}"
|
||||
venv_pip_install_args: "{{ placement_pip_install_args }}"
|
||||
|
||||
@@ -46,5 +46,3 @@
|
||||
- path: "/etc/placement"
|
||||
mode: "0700"
|
||||
- path: "{{ placement_system_user_home }}"
|
||||
- path: "/var/log/placement"
|
||||
mode: "0755"
|
||||
|
||||
@@ -22,7 +22,7 @@ lazy-apps = true
|
||||
add-header = Connection: close
|
||||
buffer-size = {{ placement_wsgi_buffer_size }}
|
||||
thunder-lock = true
|
||||
logfile-chmod = 644
|
||||
disable-logging = true
|
||||
pidfile = /var/run/{{ item.service_name }}/{{ item.service_name }}.pid
|
||||
|
||||
# Avoid filling up the logs with health check requests from haproxy.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[DEFAULT]
|
||||
log_dir = /var/log/placement
|
||||
use_journal = True
|
||||
|
||||
[keystone_authtoken]
|
||||
auth_type = {{ placement_keystone_auth_type }}
|
||||
|
||||
@@ -21,9 +21,13 @@ cache_timeout: 600
|
||||
placement_distro_packages:
|
||||
- libxml2
|
||||
|
||||
placement_devel_distro_packages:
|
||||
- libsystemd-dev
|
||||
|
||||
placement_service_distro_packages:
|
||||
- python3-placement
|
||||
- python3-pymysql
|
||||
- python3-systemd
|
||||
- uwsgi
|
||||
- uwsgi-plugin-python3
|
||||
|
||||
|
||||
@@ -16,7 +16,11 @@
|
||||
placement_distro_packages:
|
||||
- libxml2
|
||||
|
||||
placement_devel_distro_packages:
|
||||
- systemd-devel
|
||||
|
||||
placement_service_distro_packages:
|
||||
- openstack-placement-api
|
||||
- systemd-python
|
||||
|
||||
placement_uwsgi_bin: '/usr/sbin'
|
||||
|
||||
@@ -16,7 +16,11 @@
|
||||
placement_distro_packages:
|
||||
- libxml2
|
||||
|
||||
placement_devel_distro_packages:
|
||||
- systemd-devel
|
||||
|
||||
placement_service_distro_packages:
|
||||
- openstack-placement-api
|
||||
- python-systemd
|
||||
|
||||
placement_uwsgi_bin: '/usr/sbin'
|
||||
|
||||
Reference in New Issue
Block a user