hardware pollsters should be configurable to on/off

Bug #1527117 reported by Liusheng
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Unassigned

Bug Description

currently, the hardware pollsters only support polling hardware hosts deployed by TripleO, the NodesDiscoveryTripleO will get resource list by Nova list-instance API. but usually, the instances queried by Nova API vms, not TripleO deployed hardware hosts, the TripleO is not a very widely used deployment tool. that will cause many useless Nova API calls and many useless polling processes.
see the following related logs:

./ceilometer-polling.log:2015-12-17 10:05:24.426 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance a87b709c-5c88-4dc5-981a-444de30f2bbc
./ceilometer-polling.log:2015-12-17 10:05:24.426 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance f55757da-a2df-4d9c-b701-e16c717af30c
./ceilometer-polling.log:2015-12-17 10:05:24.427 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance db699dce-2ae2-4891-8974-b77bd64a80b6
./ceilometer-polling.log:2015-12-17 10:05:24.427 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 4e40e4d1-0400-4e1a-935d-d2b7c551febe
./ceilometer-polling.log:2015-12-17 10:05:24.427 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance b9df157a-dfaf-4dd5-b9f5-e8e812b08abf
./ceilometer-polling.log:2015-12-17 10:05:24.428 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance bf75a1c5-156f-4c63-8871-6ff64a34a86e
./ceilometer-polling.log:2015-12-17 10:05:24.428 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 38e34649-48a4-4931-9423-e156e5d3b7ff
./ceilometer-polling.log:2015-12-17 10:05:24.428 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance f03f37c8-df01-4f78-881a-efd64fe8f76f
./ceilometer-polling.log:2015-12-17 10:05:24.429 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 68fda746-6157-4e81-bc9b-2d1dcb68814e
./ceilometer-polling.log:2015-12-17 10:05:24.429 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 1127da90-aa76-4acd-93c6-18717d6738b6
./ceilometer-polling.log:2015-12-17 10:05:24.430 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 3aa0ec80-2eea-4098-b5f3-7fda8426066a
./ceilometer-polling.log:2015-12-17 10:05:24.430 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 6c433872-a261-47d7-8a47-206c5940f974
./ceilometer-polling.log:2015-12-17 10:05:24.430 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance c9e96d6f-c9c4-4407-bc34-0b7be3ddc503
./ceilometer-polling.log:2015-12-17 10:05:24.431 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance b91479ae-20d9-4ba5-8422-f850c5e4c74f
./ceilometer-polling.log:2015-12-17 10:05:24.431 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 17593920-67c2-4d2a-a4d5-b3c3fbcd69d4
./ceilometer-polling.log:2015-12-17 10:05:24.431 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance d09ab612-7f1c-42da-9d7d-d5c4399f084e
./ceilometer-polling.log:2015-12-17 10:05:24.432 22179 ERROR ceilometer.hardware.discovery [req-c5a4ea32-f76e-4915-a847-23fc0881ce06 admin - - - -] Couldn't obtain IP address of instance 59cdfcd0-a27c-407f-b6ff-474a3bd191fd

It is better to add a config option to disable/enable hardware pollsters.

Liusheng (liusheng)
Changed in ceilometer:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
gordon chung (chungg) wrote :

you could just not include them in pipeline no? if the reason is it's too verbose, i'd prefer this support some sort of general group meter enable/disable functionality and not something hw specific

Revision history for this message
Liusheng (liusheng) wrote :

yeah, we can disable the hw polling in pipeline.yaml, but as default, we may don't exclude that in pipeline configuration and we don't deployed with TripleO. Agree with your idea :), will do some tests.

Revision history for this message
gordon chung (chungg) wrote :

just curiuos but do tripleo metrics have same name as metric from ipmi agent?

Revision history for this message
Liusheng (liusheng) wrote :
Revision history for this message
Liusheng (liusheng) wrote :

seems fnmatch cannot distinguish these :(

Revision history for this message
gordon chung (chungg) wrote :
Changed in ceilometer:
status: New → Incomplete
ZhiQiang Fan (aji-zqfan)
Changed in ceilometer:
assignee: Liusheng (liusheng) → nobody
Revision history for this message
gordon chung (chungg) wrote :

closing. please re-open if you have more info

Changed in ceilometer:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.