deploy ceilometer+panko raise undefined variable error
Bug #1725159 reported by
Jeffrey Zhang
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Jeffrey Zhang | ||
Pike |
Fix Released
|
Undecided
|
Jeffrey Zhang |
Bug Description
Panko.conf depends on "service_name" variable, but when generate panko.conf in ceilometer, this variable is not set.
{% if service_name == 'panko-api' %}
# Force panko-api.log or will use app.wsgi
log_file = /var/log/
{% endif %}
Panko is a single process service, no need add such a variable unless there are two processes in the future.
affects: | kolla → kolla-ansible |
no longer affects: | kolla/pike |
Changed in kolla-ansible: | |
milestone: | none → queens-1 |
assignee: | nobody → Jeffrey Zhang (jeffrey4l) |
Changed in kolla-ansible: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/513640 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=791bf3d5fa4 7729604eda9d631 8c031c0b612a1a
Committed: https:/
Submitter: Zuul
Branch: master
commit 791bf3d5fa47729 604eda9d6318c03 1c0b612a1a
Author: Jeffrey Zhang <email address hidden>
Date: Fri Oct 20 15:50:48 2017 +0800
Remove test variable for service_name in panko.conf file
panko.conf depends on "service_name" variable, but when generating
panko.conf in ceilometer, this variable is not set.
Panko is a single process service, no need add such test. So simple
remove the if clause.
Change-Id: I5ba41046e35cd3 fa00b8c22e1b443 5acfaff5279
Closes-Bug: #1725159