Not able to collect cpu_util metric

rahul gupta rahulgupta.jsr at gmail.com
Tue Feb 26 14:42:13 UTC 2019


Hi All,
                I have created a question here:
https://answers.launchpad.net/ceilometer/+question/678802

Can you please respond. I have been scanning through all the web to get
info regarding how can I calculate / read cpu_util metric.

I am using devstack on latest *master*. Please let me know if you need any
other details.

Question Posted:

 I am trying to setup autoscale stack using open stack. I am having problem
reading cpu_util value from the instances.

Error:

Feb 26 07:21:43 rgupta-op-stack ceilometer-polling[8197]: 2019-02-26
07:21:43.146 8476 DEBUG ceilometer.compute.pollsters [-]
6e982e28-4cb4-42b2-b608-be4ec4ce1d35/cpu_util volume: Unavailable
_stats_to_sample
/opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:113
Feb 26 07:21:43 rgupta-op-stack ceilometer-polling[8197]: 2019-02-26
07:21:43.146 8476 WARNING ceilometer.compute.pollsters [-] cpu_util
statistic in not available for instance
6e982e28-4cb4-42b2-b608-be4ec4ce1d35: NoVolumeException

rgupta at rgupta-op-stack:~$ openstack --version
openstack 3.17.0

rgupta at rgupta-op-stack:~$ openstack metric list | grep cpu
| 70b2d180-6902-42b7-abaf-e34f89aafd2e | ceilometer-low | cpu | ns |
6e982e28-4cb4-42b2-b608-be4ec4ce1d35 |
| fa3239df-9bfe-4cf4-a267-106f23fbcb0b | ceilometer-low | vcpus | vcpu |
5fce3174-40ab-484d-8da1-6ccbc8017cc6 |

How do I add a new metric cpu_util to this list? Can someone point to a
documentation with example.
I have read through the metrics.yaml documentation but not sure how to see
the parameters that are part of payload?

Thanks
Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190226/c9613f2e/attachment.html>


More information about the openstack-discuss mailing list