Ask Your Question

Revision history [back]

How to make Nova send notifications?

Which options are needed in nova.conf to have notifications about instance create and delete appear in the notifications.info queue in AMQP? The nova.conf on the compute hosts should be updated too? Which nova services do I need to restart?

Oslo documentation, here: http://docs.openstack.org/icehouse/config-reference/content/configuring-rpc.html says to set notification_driver tonova.notifier.rabbit_notifier. I did that to no effect.

Ceilometer documentation (and other places) says to use this value: notification_driver=nova.openstack.common.notifier.rpc_notifier, that points to a file that no longer exists.

Other values are suggested here and there, not one works. Adding print() in the code I can see some "update" notifications that are sent, but then I cannot see them from amqp.

How to make Nova send notifications?

Which options are needed in nova.conf to have notifications about instance create and delete appear in the notifications.info queue in AMQP? The nova.conf on the compute hosts should be updated too? Which nova services do I need to restart?

Oslo documentation, here: http://docs.openstack.org/icehouse/config-reference/content/configuring-rpc.html says to set notification_driver tonova.notifier.rabbit_notifier. I did that to no effect.

Ceilometer documentation (and other places) says to use this value: notification_driver=nova.openstack.common.notifier.rpc_notifier, that points to a file that no longer exists.exists. Even the Ops guide seems to contain obsolete instructions (look at the StackTack section): http://docs.openstack.org/openstack-ops/content/logging_monitoring.html

Other values are suggested here and there, not one works. Adding print() in the code I can see some "update" notifications that are sent, but then I cannot see them from amqp.

How to make Nova send notifications?

Which options are needed in nova.conf to have notifications about instance create and delete appear in the notifications.info queue in AMQP? The nova.conf on the compute hosts should be updated too? Which nova services do I need to restart?

Oslo documentation, here: http://docs.openstack.org/icehouse/config-reference/content/configuring-rpc.html says to set notification_driver tonova.notifier.rabbit_notifier. I did that to no effect.

Ceilometer documentation (and other places) says to use this value: notification_driver=nova.openstack.common.notifier.rpc_notifier, that points to a file that no longer exists. Even the Ops guide seems to contain obsolete instructions (look at the StackTack section): http://docs.openstack.org/openstack-ops/content/logging_monitoring.html

Other values are suggested here and there, not one works. Adding print() in the code I can see some "update" notifications that are sent, but then I cannot see them from amqp.

EDIT: To clarify: I tried with nova.openstack.common.notifier.rpc_notifier. It does not work for me, I see notifications from Neutron, but nothing from nova. Anyway that option is deprecated and there is no such module in nova, just some compatibility code in Oslo.