← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1568188] [NEW] Scheduler should respect the setting of scheduler_tracks_instance_changes

 

Public bug reported:

The feature track instance change introduced in KILO has performance
issue when handling larger env when hypervisor count > 300.

The scheduler is still very slow even
scheduler_tracks_instance_changes=False because every scheduling will
invoke host_manager.get_all_host_states  and will invoke
_add_instance_info for every host.

Please adding one line to respect tracks_instance_change.
class HostManager(BaseHostManager):
    ....
    def get_all_host_states(self, context):
            ....
            if self. tracks_instance_changes:
                self._add_instance_info(context, compute, host_state)
            ....

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1568188

Title:
  Scheduler should respect the setting of
  scheduler_tracks_instance_changes

Status in OpenStack Compute (nova):
  New

Bug description:
  The feature track instance change introduced in KILO has performance
  issue when handling larger env when hypervisor count > 300.

  The scheduler is still very slow even
  scheduler_tracks_instance_changes=False because every scheduling will
  invoke host_manager.get_all_host_states  and will invoke
  _add_instance_info for every host.

  Please adding one line to respect tracks_instance_change.
  class HostManager(BaseHostManager):
      ....
      def get_all_host_states(self, context):
              ....
              if self. tracks_instance_changes:
                  self._add_instance_info(context, compute, host_state)
              ....

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1568188/+subscriptions


Follow ups