templates/ussuri/masakarimonitors.yaml uses incorrect path for "process_list_path"

Bug #2048496 reported by Radu Popescu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Masakari Monitors Charm
Triaged
High
Unassigned

Bug Description

Masakari-monitors charm from yoga/stable channel (rev 54) uses template from "ussuri" subfolder which sets the following parameter:

[process]
process_list_path = /etc/masakari/process_list.yaml

Which the leads to errors like:
Exception caught: [Errno 2] No such file or directory: '/etc/masakari/process_list.yaml': FileNotFoundError: [Errno 2] No such file or directory: '/etc/masakari/process_list.yaml'

There's also a masakarimonitors.conf file in the templates folder (no subfolder) which can be used and doesn't set that parameter to the wrong path. Default path for the file is: /etc/masakarimonitors/process_list.yaml

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

The way templates work is that the latest version is used. i.e. for yoga, as ussuri is the latest version of the config available in templates, that set of config files is used. If for example, victoria had changed something then there might be a victoria/ directory to specialise from that point forwards.

Having said that, yes, the setting process_list_path is wrong and needs changing, in the ussuri/manakarimonitors.conf file and backporting to stable/ussuri.

Changed in charm-masakari-monitors:
status: New → Triaged
importance: Undecided → High
tags: added: good-first-bug
summary: - Charm uses ussuri template for yoga/stable channel
+ templates/ussuri/masakarimonitors.yaml uses incorrect path for
+ "process_list_path"
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.