[Openstack] [Ceilometer] Ceilometer not fetching Nova Compute Notifications compute.instance.create.start/end

Sandy Walsh sandy.walsh at RACKSPACE.COM
Mon Dec 9 14:59:47 UTC 2013


Ceilometer, as it stands, ignores most notifications. We are working on full event capture, but it's not there yet. 

If you need to capture all events today, you might want to consider looking at StackTach
https://github.com/rackerlabs/stacktach

-S

________________________________________
From: Sravani Madireddy [sravani.madireddy14 at gmail.com]
Sent: Monday, December 09, 2013 1:57 AM
To: openstack at lists.openstack.org
Subject: [Openstack] [Ceilometer] Ceilometer not fetching Nova Compute Notifications compute.instance.create.start/end

Hi All,

I'm trying to catch Nova Compute Notifications in Ceilometer

I have Openstack installed on Ubuntu 13.04 using devstack.

While launching an instance, Nova Compute is sending the required
notifications to notifications.info queue.


The same could be seen in the Nova Compute logs:

2013-12-03 12:19:07.617 DEBUG nova.openstack.common.rpc.amqp
[req-32a523c5-ebeb-4885-88e9-986918ab7f86 demo demo]
Sending compute.instance.create.start on notifications.info from
(pid=5418) notify
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:621
..
....

2013-12-03 12:19:11.313 DEBUG nova.openstack.common.rpc.amqp
[req-32a523c5-ebeb-4885-88e9-986918ab7f86 demo demo]
Sending compute.instance.create.end on notifications.info from
(pid=5418) notify
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:621


But the ceilometer is unable to fetch these notifications from
notifications.info. Instead it is fetching only
compute.instance.update notification.

The same could be seen in the ceilometer-agent-notification:

2013-12-03 12:19:06.999 14017 DEBUG ceilometer.notification [-]
notification u'compute.instance.update' process_notification
/opt/stack/ceilometer/ceilometer/notification.py:124
2013-12-03 12:19:07.000 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline degree.temperature.current
2013-12-03 12:19:07.001 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline meter_pipeline
2013-12-03 12:19:07.001 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline cpu_pipeline
2013-12-03 12:19:07.001 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline instance_pipeline
2013-12-03 12:19:07.002 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline degree.temperature.current
2013-12-03 12:19:07.002 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline meter_pipeline
2013-12-03 12:19:07.002 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline cpu_pipeline
2013-12-03 12:19:07.002 14017 AUDIT ceilometer.pipeline [-] Flush
pipeline instance_pipeline

I am facing the same issue with the below mentioned Compute notifications too:
compute.instance.delete.start/.end
compute.instance.shutdown.start/.end
compute.instance.power_off.start/.end


Please find my Configuration setup in the below mentioned files:

[nova.conf]

firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
compute_driver = libvirt.LibvirtDriver
libvirt_cpu_mode = none
libvirt_type = qemu
rabbit_password = root
rabbit_host = <IP>
rpc_backend = nova.openstack.common.rpc.impl_kombu
notification_driver = nova.openstack.common.notifier.rpc_notifier
notification_driver = ceilometer.compute.nova_notifier
notify_on_state_change = vm_and_task_state
notification_topics = notifications
topics = notifications
control_exchange = openstack
notify_api_faults = true


[ceilometer.conf]

verbose = True
debug = True
notification_topics = notifications
rabbit_password = root
rabbit_host = <IP>
rpc_backend = ceilometer.openstack.common.rpc.impl_kombu
nova_control_exchange = nova
default_notification_level=INFO
notification_driver = nova.openstack.common.notifier.rpc_notifier

So, what changes can be done for Ceilometer to fetch the all the
notifications which the Nova Compute sends on the notifications.info ?

Kindly let me know if any more information is required.

Thank You.

Regards,
Sravani M

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list