cannot change gnocchi archive-policy

Bug #1907243 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceilometer Charm
New
Undecided
Unassigned

Bug Description

environment: Bionic-Stein

Upon changing the gnocchi-archive-policy config option, new resources created do not result in the new metrics in gnocchi using the defined archive-policy.

This is because the correct way to set the archive policy is through the pipeline.yaml[0] file which is not present, therefore it always uses the default URL "gnocchi://" which picks up the default archive-policy ceilometer-low.

[0] https://github.com/openstack/ceilometer/blob/6787bfc00397b6d38f51fb890fd1c2199b719eb2/doc/source/install/install-base-config-common.inc#L12

By manually creating the file pipeline.yaml and setting the URL to gnocchi://?archive_policy=my_policy and restarting ceilometer services, metrics of new resources are then created with the my_policy archive policy.

Revision history for this message
Rodrigo Barbieri (rodrigo-barbieri2010) wrote :

here an easy step by step on how to workaround:

1) copy the contents of /usr/lib/python3/dist-packages/ceilometer/pipeline/data/pipeline.yaml to /etc/ceilometer/pipeline.yaml

2) append to gnocchi:// "?archive_policy=<your_archive_policy_name"

3) restart ceilometer services

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.