Bug 2010114 - Openstack ceilometer archival policy is not taking effect
Summary: Openstack ceilometer archival policy is not taking effect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Matthias Runge
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-03 20:44 UTC by Ahmed El-Rayess
Modified: 2022-03-23 22:30 UTC (History)
3 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.6.1-2.20220104004842.31a431d.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-23 22:29:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-10136 0 None None None 2021-11-10 16:29:40 UTC
Red Hat Product Errata RHSA-2022:0995 0 None None None 2022-03-23 22:30:03 UTC

Description Ahmed El-Rayess 2021-10-03 20:44:03 UTC
Description of problem:
the archival policy is always running with high, although the archival policy rule is set to low

Version-Release number of selected component (if applicable):
OpenStack 16.2

How reproducible:
always

Steps to Reproduce:
1. deploy openstack using the enable-legacy-telemetry.yaml
2. set GnocchiArchivePolicy: 'low'
3. create a new instance
4. check the archival policy rules 'openstack metric archive-policy-rule list'
5. check the policy applied on the metrics being collected 'openstack metric list'

Actual results:
all metrics are using the high policy

Expected results:
all metrics should be using the low policy

Additional info:
this has been already fixed upstream in https://review.opendev.org/c/openstack/tripleo-heat-templates/+/796709

Comment 1 Matthias Runge 2021-10-04 05:58:13 UTC
backport to wallaby: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/812197

Default Archive policy has been dropped as well, configuring the archive policy via PipelinePublishers is be the way forward. This can be used with and without the mentioned backport. 

One would override it via:
```
  PipelinePublishers:
    - gnocchi://?archive_policy=low
```

Comment 4 Matthias Runge 2021-10-05 09:05:46 UTC
merged to stable/wallaby, cherry-picked to victoria https://review.opendev.org/c/openstack/tripleo-heat-templates/+/812436

Comment 6 Matthias Runge 2021-11-11 07:04:28 UTC
The patch was merged in train https://review.opendev.org/c/openstack/tripleo-heat-templates/+/816346

The automated downstream build is openstack-tripleo-heat-templates-11.6.1-2.20211108130549.bfe00e7.el8osttrunk

Comment 13 errata-xmlrpc 2022-03-23 22:29:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat OpenStack Platform 16.2 (openstack-tripleo-heat-templates) security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0995


Note You need to log in before you can comment on or make changes to this bug.