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

Bug 1916570

Summary: Disk performance metrics are not gathered when overcloud is deployed with ManagePolling: true
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: puppet-ceilometerAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: jjoyce, jschluet, mrunge, 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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:50:38 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-01-15 06:03:41 UTC
Description of problem:

Currently the following meters are enabled by default when ManagePolling: true.

However disk.* meters were already removed from ceilometer[1], and
we don't have any valid disk performance meters enabled.

[1] https://review.opendev.org/c/openstack/ceilometer/+/580710

/var/lib/config-data/puppet-generated/ceilometer/etc/ceilometer/polling.yaml
~~~
---
sources:
    - name: some_pollsters
      interval: 600
      meters:
        - cpu
        - cpu_l3_cache
        - memory.usage
        - network.incoming.bytes
        - network.incoming.packets
        - network.outgoing.bytes
        - network.outgoing.packets
        - disk.read.bytes
        - disk.read.requests
        - disk.write.bytes
        - disk.write.requests
        - volume.size
        - volume.snapshot.size
        - volume.backup.size
        - hardware.cpu.util
        - hardware.memory.used
        - hardware.memory.total
        - hardware.memory.buffer
        - hardware.memory.cached
        - hardware.memory.swap.avail
        - hardware.memory.swap.total
        - hardware.system_stats.io.outgoing.blocks
        - hardware.system_stats.io.incoming.blocks
        - hardware.network.ip.incoming.datagrams
        - hardware.network.ip.outgoing.datagrams
~~~

Because of this we don't get any disk performance captured by ceilometer,
unless we customize pollong.yaml


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


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud with ceilometer enabled and ManagePolling: true
2. Create an instance

Actual results:
Any disk performance meters are not captured

Expected results:
Disk performance meters are captured


Additional info:

Comment 10 Matthias Runge 2021-05-04 16:17:03 UTC
How to test:

From bug description on how to reproduce:
Steps to Reproduce:
1. Deploy overcloud with ceilometer enabled and ManagePolling: true
2. Create an instance

Actual results:
Any disk performance meters are not captured

Expected results:
Disk performance meters are captured

Comment 11 Leonid Natapov 2021-05-04 16:32:44 UTC
---
sources:
    - name: some_pollsters
      interval: 5
      meters:
        - cpu
        - cpu_l3_cache
        - memory.usage
        - network.incoming.bytes
        - network.incoming.packets
        - network.outgoing.bytes
        - network.outgoing.packets
        - disk.device.read.bytes
        - disk.device.read.requests
        - disk.device.write.bytes
        - disk.device.write.requests
        - volume.size
        - volume.snapshot.size
        - volume.backup.size
        - hardware.cpu.util
        - hardware.memory.used
        - hardware.memory.total
        - hardware.memory.buffer
        - hardware.memory.cached
        - hardware.memory.swap.avail
        - hardware.memory.swap.total
        - hardware.system_stats.io.outgoing.blocks
        - hardware.system_stats.io.incoming.blocks
        - hardware.network.ip.incoming.datagrams
        - hardware.network.ip.outgoing.datagrams

Comment 17 errata-xmlrpc 2021-05-26 13:50:38 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