Fix monasca deployment due to monasca_log_dir

Monasca deployment fails on master due to an invalid variable reference
(monasca_log_dir) in the config.json for monasca API and monasca log
API.

This change fixes the issue by correcting the variable definition.

Change-Id: I2ec497fa430c2f301dca6a7653ac988e49007469
Closes-Bug: #1864181
This commit is contained in:
Mark Goddard 2020-02-21 10:20:01 +00:00
parent 6bae6da36c
commit 3310a142d1
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{% set monasca_log_path = '/var/log/kolla/monasca' %}
{% set monasca_log_dir = '/var/log/kolla/monasca' %}
{% set python_path = '/usr/lib/python' ~ distro_python_version ~ '/site-packages' if monasca_install_type == 'binary' else '/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages' %}
{% set wsgi_path = '/usr/bin' if monasca_install_type == 'binary' else '/monasca-api/monasca_api/api' %}

View File

@ -1,4 +1,4 @@
{% set monasca_log_path = '/var/log/kolla/monasca' %}
{% set monasca_log_dir = '/var/log/kolla/monasca' %}
{% set python_path = '/usr/lib/python' ~ distro_python_version ~ '/site-packages' if monasca_install_type == 'binary' else '/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages' %}
{% set wsgi_path = '/usr/bin' if monasca_install_type == 'binary' else '/monasca-log/monasca_log_api/app' %}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with Monasca deployment where an invalid variable
(``monasca_log_dir``) is referenced. See `bug 1864181
<https://bugs.launchpad.net/kolla-ansible/+bug/1864181>`_ for details.