No compute.instance.create.start/end Notifications received by Ceilometer
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
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 = machine 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 = machine 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 ?