Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1942033

Summary: Setting ManagePipeline: true in tht results in invalid transformers defined in pipeline.yaml
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: puppet-ceilometerAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: jjoyce, joflynn, jschluet, mrunge, pkilambi, slinaber, tvignaud
Target Milestone: z6Keywords: Triaged, ZStream
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-ceilometer-15.4.1-1.20210324143451.1f4f0c6.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:52:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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