← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1277204] Re: notification topics no longer configurable

 

** Also affects: oslo.messaging
   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/1277204

Title:
  notification topics no longer configurable

Status in OpenStack Compute (Nova):
  New
Status in Messaging API for OpenStack:
  New

Bug description:
  The recent change to oslo messaging seems to have removed the ability
  to specify a list of topics for notifications.   This is a critical
  feature for systems which provide multiple message streams for billing
  and monitoring.

  
  To reproduce:

  1) Create a devstack system

  2) Add the following lines to the [DEFAULT] section of nova.conf:
  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

  3) Restart all the n-* services

  4) Look at the info queues in rabbit
  sudo rabbitmqctl list_queues | grep info
  notifications.info      15

  5) Create an instance
  ubuntu@devstack-net-cache:/mnt/devstack$ nova boot --image cirros-0.3.1-x86_64-uec --flavor 1 phil2

  6) Look at the info queues in rabbit
  sudo rabbitmqctl list_queues | grep info
  notifications.info      17


  Messages are being added to the "notifications" queue, but not to the
  monitor queue

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


References