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

gord chung gord at live.ca
Thu Jan 14 17:00:20 UTC 2016


hi,

please ensure you are running latest code (as you seem to want master)

you are running into 
https://review.openstack.org/#/q/I4765b3b9627983a245aa5521a85ad89e83ab8551

On 14/01/2016 12:10 AM, lichen.hangzhou wrote:
> Hi,
>
> 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 :
>
>         ceilometer-acentral.log:
>                 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
>
>       ceilometer-acompute.log:
>                 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
>     timer()
>           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
>             service.start()
>           File "/opt/stack/ceilometer/ceilometer/notification.py", 
> line 174, in start
>             self.event_pipe_manager)
>           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 ?
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 
gord

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160114/60b5dcb8/attachment.html>


More information about the OpenStack-dev mailing list