[openstack-dev] [ceilometer] ceilometer meter-list output is empty

lichen.hangzhou lichen.hangzhou at gmail.com
Thu Jan 14 05:10:54 UTC 2016


I have installed a devstack environment with ceilometer enabled:
        enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer

I  am trying to run some ceilometer commands to test whether my ceilometer is working well and get to know ceilometer as well.
But, no matter how many instances I created and how long I wait, the out put for command "ceilometer meter-list" & "ceilometer sample-list" are empty.

        ceilometer meter-list
        | Name | Type | Unit | Resource ID | User ID | Project ID |

By checking devstack log based on my active instance id, I get :

                2016-01-14-170750:2794:2016-01-14 20:58:17.750 20284 ERROR ceilometer.hardware.discovery [req-51230835-1a74-4846-be5e-c032e24ad54f admin - - - -] Couldn't obtain IP address of instance d0a781a2-5adc-48c3-8976-f55f6613b68b

                2016-01-14 18:48:41.030 20885 WARNING ceilometer.compute.pollsters.memory [req-218d31b1-d0c5-4b7f-99b8-57a8b4a6fc48 admin - - - -] Cannot inspect data of MemoryUsagePollster for d0a781a2-5adc-48c3-8976-f55f6613b68b, non-fatal reason: Failed to inspect memory usage of instance <name=instance-00000001, id=d0a781a2-5adc-48c3-8976-f55f6613b68b>, can not get info from libvirt.

                2016-01-14 20:58:41.095 20885 DEBUG ceilometer.compute.pollsters.disk [req-218d31b1-d0c5-4b7f-99b8-57a8b4a6fc48 admin - - - -] LibvirtInspector does not provide data for  PerDeviceReadRequestsRatePollster get_samples /opt/stack/ceilometer/ceilometer/compute/pollsters/disk.py:309

Also, an error for service ceilometer-anotification :

        2016-01-14 17:54:43.661 2218 DEBUG ceilometer.notification [req-93091ecb-c80c-488b-8bc3-aff96a0cb17f - - - - -] Event types from trove.instance.exists: trove.instance.exists (ack_on_error=True) _configure_main_queue_listeners /opt/stack/ceilometer/ceilometer/notification.py:219
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
          File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
          File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
            result = function(*args, **kwargs)
          File "/opt/stack/oslo.service/oslo_service/service.py", line 660, in run_service
          File "/opt/stack/ceilometer/ceilometer/notification.py", line 174, in start
          File "/opt/stack/ceilometer/ceilometer/notification.py", line 223, in _configure_main_queue_listeners
            for new_tar in handler.get_targets(cfg.CONF):
          File "/opt/stack/ceilometer/ceilometer/database/notifications.py", line 40, in get_targets
            for topic in conf.notification_topics]
          File "/opt/stack/oslo.config/oslo_config/cfg.py", line 2009, in __getattr__
            raise NoSuchOptError(name)
        NoSuchOptError: no such option in group DEFAULT: notification_topics

But I do not enable trove at all.

Anyone can help me ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160114/72872ad8/attachment.html>

More information about the OpenStack-dev mailing list