[openstack-dev] [oslo][nova] how to best deal with default periodic task spacing behavior

Joe Gordon joe.gordon0 at gmail.com
Tue May 20 23:49:33 UTC 2014


On Tue, May 20, 2014 at 8:00 AM, Davanum Srinivas <davanum at gmail.com> wrote:

> @Matt,
>
> Agree, My vote would be to change existing behavior.
>

Same.  I think its reasonable to say the current behavior is not ideal
(otherwise we wouldn't have changed it), and that the new behavior is
better for the vast majority of folks.


>
> -- dims
>
> On Tue, May 20, 2014 at 10:15 AM, Matt Riedemann
> <mriedem at linux.vnet.ibm.com> wrote:
> > Between patch set 1 and patch set 3 here [1] we have different solutions
> to
> > the same issue, which is if you don't specify a spacing value for
> periodic
> > tasks then they run whenever the periodic task processor runs, which is
> > non-deterministic and can be staggered if some tasks don't complete in a
> > reasonable amount of time.
> >
> > I'm bringing this to the mailing list to see if there are more opinions
> out
> > there, especially from operators, since patch set 1 changes the default
> > behavior to have the spacing value be the DEFAULT_INTERVAL (hard-coded 60
> > seconds) versus patch set 3 which makes that behavior configurable so the
> > admin can set global default spacing for tasks, but defaults to the
> current
> > behavior of running every time if not specified.
> >
> > I don't like a new config option, but I'm also not crazy about changing
> > existing behavior without consensus.
> >
> > [1] https://review.openstack.org/#/c/93767/
> >
> > --
> >
> > Thanks,
> >
> > Matt Riedemann
> >
> >
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140520/4e17b203/attachment.html>


More information about the OpenStack-dev mailing list