Description of problem: The undercloud Ceilometer is missing the configuration in hardware section of /etc/ceilometer/ceilometer.conf for accessing overcloud nodes meters via snmp. Version-Release number of selected component (if applicable): instack-0.0.6-1.el7ost.noarch instack-undercloud-2.1.1-dev14.el7.centos.noarch openstack-tripleo-puppet-elements-0.0.1-dev63.el7.centos.noarch tripleo-common-0.0.0-post4.el7.centos.noarch openstack-tripleo-image-elements-0.9.5-post1.el7.centos.noarch openstack-tripleo-0.0.6-dev1717.el7.centos.noarch openstack-tripleo-heat-templates-0.8.6-dev5.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. Install rdo-manager in a virtual environment on RHEL 2. Deploy undercloud 3. Deploy overcloud 4. Run 'ceilometer meter-list' on the undercloud node Actual results: It returns images and network related meters. Expected results: It should list hardware related meters pulled from overcloud nodes via SNMP. Additional info: The hardware section should contain something like this: [hardware] url_scheme=snmp:// # Credentials for readonly SNMPd user of all Overcloud nodes readonly_user_name=ro_snmp_user readonly_user_password=cdd1ad5c5bbc4e0a14c13c889a43fefe79186fc0
Adding the workaround I've been using to get the overcloud snmp metrics shown in the undercloud ceilometer: crudini --set /etc/ceilometer/ceilometer.conf hardware url_scheme 'snmp://' crudini --set /etc/ceilometer/ceilometer.conf hardware readonly_user_name ro_snmp_user crudini --set /etc/ceilometer/ceilometer.conf hardware readonly_user_password ro_snmp_user_pass cat > /etc/ceilometer/pipeline.yaml << EOF sources: - name: host_source interval: 600 meters: - "hardware.*" sinks: - "meter_sink" - "cpu_sink" - "swap_sink" discovery: - "tripleo_overcloud_nodes" sinks: - name: meter_sink transformers: publishers: - rpc:// - name: cpu_sink transformers: - name: "arithmetic" parameters: target: name: "hardware.system_stats.cpu.util" unit: "%" type: "gauge" expr: "100 - \$(hardware.system_stats.cpu.idle)" publishers: - rpc:// - name: swap_sink transformers: - name: "arithmetic" parameters: target: name: "hardware.memory.swap.util" unit: "%" type: "gauge" expr: "100 - (100 * \$(hardware.memory.swap.avail) / \$(hardware.memory.swap.total))" publishers: - rpc:// EOF systemctl restart openstack-ceilometer-central.service
I pushed a patch upstream that fixes this (attached as an external reference). It won't backport cleanly, but it's fairly simple so it shouldn't be too bad. I'll try to get it proposed downstream today.
Moving to 8.0 because we will definitely fix this but we aren't going to block the release of 7.2 for it.
Ben, can you sync with Emilien on this to make sure you're on the same page as he's working on Aodh and Gnocchi.
*** Bug 1283647 has been marked as a duplicate of this bug. ***
leaving blocker flag on this one as it's been fixed in osp7
actually the osp7 patch was never merged
Looks like the patch was just merged upstream
Note that this needs to be backported for OSP 8. I've proposed it upstream.
whoops, this should remain ON_DEV then.
The backport has been merged upstream.
Verified in instack-undercloud-2.2.5-1.el7ost.noarch. Ceilometer retrieves SNMP meter from overcloud compute/controller nodes.
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, 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://rhn.redhat.com/errata/RHEA-2016-0604.html