← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1516174] [NEW] nova-cells in api cells generate redundant instance.update notifications

 

Public bug reported:

Commit eaaa6593 causes instance updates in compute cells to generate
redundant notifications by nova-cells in the api cell.  This can
overwhelm notification consumers as instance.update notifications double
in quantity, especially over short time periods like during multiple
simultaneous instance creations.

That commit used the Instance.skip_cells_sync() contextmanager with
Instance.save() in instance_update_at_top() to prevent update cycles
between api and compute cells, but the notification in Instance.save()
is not guarded by _sync_cells, so notifications generated in compute
cells are also generated in api cells.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cells

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

Title:
  nova-cells in api cells generate redundant instance.update
  notifications

Status in OpenStack Compute (nova):
  New

Bug description:
  Commit eaaa6593 causes instance updates in compute cells to generate
  redundant notifications by nova-cells in the api cell.  This can
  overwhelm notification consumers as instance.update notifications
  double in quantity, especially over short time periods like during
  multiple simultaneous instance creations.

  That commit used the Instance.skip_cells_sync() contextmanager with
  Instance.save() in instance_update_at_top() to prevent update cycles
  between api and compute cells, but the notification in Instance.save()
  is not guarded by _sync_cells, so notifications generated in compute
  cells are also generated in api cells.

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


Follow ups