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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765057

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to