Bug 1942033 - Setting ManagePipeline: true in tht results in invalid transformers defined in pipeline.yaml
Summary: Setting ManagePipeline: true in tht results in invalid transformers defined i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-ceilometer
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Matthias Runge
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-23 13:37 UTC by Takashi Kajinami
Modified: 2022-08-26 15:26 UTC (History)
7 users (show)

Fixed In Version: puppet-ceilometer-15.4.1-1.20210324143451.1f4f0c6.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:52:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 580709 0 None MERGED pipeline: remove transformer support 2021-03-23 13:41:36 UTC
Red Hat Issue Tracker OSP-1975 0 None None None 2022-08-26 15:26:28 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:53:03 UTC

Description Takashi Kajinami 2021-03-23 13:37:28 UTC
Description of problem:

Transformer support was already removed from ceilometer by the following commit.
 [1] https://review.opendev.org/c/openstack/ceilometer/+/580709

However when we set ManagePipeline: true (which internally sets ceilometer::agent::notification::manage_pipeline: true)
then pipeline.yaml generated includes some definitions expecting transformers.

This issue was fixed in upstream stable/train. We should backport the same to RHOSP16.1 to avoid invalid configuration.
 https://review.opendev.org/c/openstack/puppet-ceilometer/+/773212

Note that ManagePipeline: true is currently defined in environments/enable-legacy-telemetry.yaml .
This means users are likely to hit this issue when they enable legacy telemetry services.


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


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud with legacy telemetry services and "ManagePipeline: true"
2. Check pipeline.yaml generated under /var/lib/config-data/puppet-generated/ceilometer/etc/ceilometer in controller nodes

Actual results:
The configuration includes definitions for transformers


Expected results:
The configuration DOES NOT include definitions for transformers


Additional info:

Comment 12 Leonid Natapov 2021-05-18 17:01:07 UTC
fixed:
---
less /var/lib/config-data/puppet-generated/ceilometer/etc/ceilometer/pipeline.yaml

sources:
    - name: meter_source
      meters:
          - "*"
      sinks:
          - meter_sink
sinks:
    - name: meter_sink
      publishers:
          - gnocchi://?filter_project=service&archive_policy=high
          - notifier://172.17.1.88:5666/?driver=amqp&topic=cloud1-metering

Comment 18 errata-xmlrpc 2021-05-26 13:52:17 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 (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement advisory), 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/RHBA-2021:2097


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