openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #05111
starting a service with reporting updates to the db
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