← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805659] Re: nova notifications hammering the message bus

 

Reviewed:  https://review.opendev.org/603079
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ed613aa66fe37737ab97ce7e483949d931a0c3a5
Submitter: Zuul
Branch:    master

commit ed613aa66fe37737ab97ce7e483949d931a0c3a5
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxx>
Date:   Tue Jun 4 10:36:45 2019 +0200

    Change the default of notification_format to unversioned
    
    The default config `both` means that both the legacy and the versioned
    notifications are emitted. This was selected as default in the past when
    we thought that this will help the adoption of the versioned interface
    while we worked on to make that new interface in feature parity with the
    legacy. Even though the versioned notification interface is in feature
    parity with the legacy interface since Stein the projects consuming nova
    notifications do not have the resources to switch to the new interface.
    
    In the other hand having `both` as a default in an environtment where
    only the legacy notifications are consumed causes performance issues in
    the message bus hence the bug #1805659.
    
    The original plan was that we set the default to `versioned` when the
    interface reaches feature parity but as major consumers are not ready
    to switch we cannot do that.
    
    So the only option left is to set the default to `unversioned`.
    
    Related devstack patch: https://review.opendev.org/#/c/662849/
    
    Closes-Bug: #1805659
    
    Change-Id: I72faa356afffb7a079a9ce86fed1b463773a0507


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1805659

Title:
  nova notifications hammering the message bus

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The default value of the notification_format [1] config option is
  'both' which means that both legacy unversioned and the new versioned
  notifications are emitted. As most of the openstack projects only
  consuming legacy notifications the emitted but not consumed versioned
  notifications are unnecessary loading the message bus.

  
  [1]https://docs.openstack.org/nova/latest/configuration/config.html#notifications.notification_format

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


References