← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439689] [NEW] Cannot see update notifications from nova.api

 

Public bug reported:

Running devstack K, trying to get the notification from nova.api,
especially the instance update.

Enabled in config:
[DEFAULT]
notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_topics=notifications,monitor
notify_on_state_change=vm_and_task_state
notify_on_any_change=True
instance_usage_audit=True
instance_usage_audit_period=hour

I can see some notifications coming (rabbitmqctl list_queues | grep
notifications.info), but when i rename an instance (which calls into
servers.py - update) i don't see the message count increasing, meaning
the message is not being sent to rabbitmq.

I can see the action being called:
2015-04-02 15:12:23.738 DEBUG nova.api.openstack.wsgi [req-b8fc8e5e-c339-4329-9f01-3d6e57d2f14b admin admin] Action: 'update', calling method: <bound method Controller.update of <nova.api.openstack.compute.servers.Controller object at 0x7f9e9c382190>>, body: {"server": {"name": "instance3"}}  but i don't see the notification.

Related: https://ask.openstack.org/en/question/62331/how-to-receive-
nova-notification-computeinstanceupdate/

/opt/stack/nova# git log -1
commit fc5e6315afb7fc90c6f80bd1dfed0babfa979f2f
Merge: 86c8611 af4ce3e
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date:   Fri Mar 27 04:10:19 2015 +0000

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1439689

Title:
  Cannot see update notifications from nova.api

Status in OpenStack Compute (Nova):
  New

Bug description:
  Running devstack K, trying to get the notification from nova.api,
  especially the instance update.

  Enabled in config:
  [DEFAULT]
  notification_driver=nova.openstack.common.notifier.rpc_notifier
  notification_topics=notifications,monitor
  notify_on_state_change=vm_and_task_state
  notify_on_any_change=True
  instance_usage_audit=True
  instance_usage_audit_period=hour

  I can see some notifications coming (rabbitmqctl list_queues | grep
  notifications.info), but when i rename an instance (which calls into
  servers.py - update) i don't see the message count increasing, meaning
  the message is not being sent to rabbitmq.

  I can see the action being called:
  2015-04-02 15:12:23.738 DEBUG nova.api.openstack.wsgi [req-b8fc8e5e-c339-4329-9f01-3d6e57d2f14b admin admin] Action: 'update', calling method: <bound method Controller.update of <nova.api.openstack.compute.servers.Controller object at 0x7f9e9c382190>>, body: {"server": {"name": "instance3"}}  but i don't see the notification.

  Related: https://ask.openstack.org/en/question/62331/how-to-receive-
  nova-notification-computeinstanceupdate/

  /opt/stack/nova# git log -1
  commit fc5e6315afb7fc90c6f80bd1dfed0babfa979f2f
  Merge: 86c8611 af4ce3e
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Fri Mar 27 04:10:19 2015 +0000

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1439689/+subscriptions


Follow ups

References