Ask Your Question
0

No compute.instance.create.start/end Notifications received by Ceilometer

asked 2013-12-04 06:26:11 -0500

M Sravani gravatar image

updated 2013-12-04 07:12:44 -0500

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 ?

edit retag flag offensive close delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-10 08:01:56 -0500

A.Michon gravatar image

I wonder if these events are really sent to the queue.

I don(t kwow if the wiki link https://wiki.openstack.org/wiki/SystemUsageData concerns recent openstack releases, past, futures ??

I have no match either for "compute.instance.create.*" in nova code, except in the tests. The nova/nova/notifications.py is related about sending only compute.instance.update, event is based on state transition (old_state -> state field in the queue message payload).

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
2 followers

Stats

Asked: 2013-12-04 06:26:11 -0500

Seen: 188 times

Last updated: Dec 10 '13