Cloudkitty custom metrics.yml file not copied

Bug #1821428 reported by Eric Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Unassigned
Train
Fix Released
Medium
Unassigned

Bug Description

Tested with:
Kolla Ansible 7.0.2 (same code exists on master, so this can hopefully be added for Stein)
Cloudkitty master as of March 22, 2019

The cloudkitty_processor container includes a default metrics.yml file, but a custom metrics.yml file is often used in its place to gather additional non-default billing metrics. The metrics.yml file is not copied as part of the Cloudkitty deployment process in Kolla Ansible.

The attached two patch files are for:
tasks/config.yml
templates/cloudkitty-processor.json.j2

Once patched, Kolla Ansible will retrieve /etc/kolla/config/cloudkitty/metrics.yml and place it on the nodes with cloudkitty_processor containers. The file will also be mapped in Docker on the node during the container start process.

Eric

Revision history for this message
Eric Miller (erickmiller) wrote :
Revision history for this message
Pierre Riteau (priteau) wrote :

This was implemented in the Train release with change Id9019298482c040be05f540e71dacfdf0bd77469.

Revision history for this message
Pierre Riteau (priteau) wrote :
Mark Goddard (mgoddard)
Changed in kolla-ansible:
status: New → Fix Released
importance: Undecided → Medium
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.