Disable compute fanout to scheduler
Now that nothing is using publish_service_capabilities it can be disabled, but not removed in order to not break compute rpcapi backwards compatibility. Part of bp no-compute-fanout-to-scheduler. Change-Id: I80c49c46138fd6ee89cb08ffbbced72ada4de72e
This commit is contained in:
@@ -152,13 +152,14 @@ class SchedulerDependentManager(Manager):
|
||||
capabilities = [capabilities]
|
||||
self.last_capabilities = capabilities
|
||||
|
||||
@periodic_task.periodic_task
|
||||
def publish_service_capabilities(self, context):
|
||||
"""Pass data back to the scheduler.
|
||||
|
||||
Called at a periodic interval. And also called via rpc soon after
|
||||
the start of the scheduler.
|
||||
"""
|
||||
#NOTE(jogo): this is now deprecated, unused and can be removed in
|
||||
#V3.0 of compute RPCAPI
|
||||
if self.last_capabilities:
|
||||
LOG.debug(_('Notifying Schedulers of capabilities ...'))
|
||||
self.scheduler_rpcapi.update_service_capabilities(context,
|
||||
|
Reference in New Issue
Block a user