[Openstack] starting a service with reporting updates to the db

Craig Vyvial cp16net at gmail.com
Thu Oct 27 15:18:38 UTC 2011


I noticed that in the Nova Service start method the now=False seem to wait
and update heartbeat of the services after the first interval. I was curious
is there a reason for this? It looks like this would not matter too much but
the fact that the option is available to update now i would think this
should be set to True.

I think the initial thought behind this may have been when starting up the
services it would create the service and there for be available on create
but with the last report time of the service is not available until after
the interval is updated.

pulse.start(interval=self.report_interval, now=False)
periodic.start(interval=self.periodic_interval, now=False)

Should i mark this as a bug and submit a patch for it?
Thoughts?

Thanks, Craig Vyvial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111027/a5b05abf/attachment.html>


More information about the Openstack mailing list