[Bug 1765057] [NEW] rax-nova-agent does not drain the event queue, before starting

Dimitri John Ledkov launchpad at surgut.co.uk
Wed Apr 18 13:56:47 UTC 2018


Public bug reported:

A single iteration of event processing is not sufficient to drain all of
the events on firstboot provisioning in Xen based clouds.

Specifically, instead of receiving a list of 7 events, one might only
receive 1 event at a time, spaced 1 or 2 seconds apart, until all
initial events are processed.

To work around the fact that supervisor is not batching all events
together, do the following:

* process events until there are none
* ensure that there were at least three iterations without any events
* then notify that daemon as ready, as no more early boot events are expected
* continue polling any interactive triggered events going forward

** Affects: rax-nova-agent (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rax-nova-agent in Ubuntu.
https://bugs.launchpad.net/bugs/1765057

Title:
  rax-nova-agent does not drain the event queue, before starting

Status in rax-nova-agent package in Ubuntu:
  New

Bug description:
  A single iteration of event processing is not sufficient to drain all
  of the events on firstboot provisioning in Xen based clouds.

  Specifically, instead of receiving a list of 7 events, one might only
  receive 1 event at a time, spaced 1 or 2 seconds apart, until all
  initial events are processed.

  To work around the fact that supervisor is not batching all events
  together, do the following:

  * process events until there are none
  * ensure that there were at least three iterations without any events
  * then notify that daemon as ready, as no more early boot events are expected
  * continue polling any interactive triggered events going forward

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rax-nova-agent/+bug/1765057/+subscriptions



More information about the foundations-bugs mailing list