← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1274317] [NEW] heal_instance_info_cache_interval config is not effective

 

Public bug reported:

There is configuration item in /etc/nova/nova.conf that controls how
often the instance info should be updated. By default the value is 60
seconds. However, the current implementation only uses that value to
prevent over clocked.  Configure it to a different value in nova.conf
does not has impact how often the task is executed.

If I change the code in  /usr/lib/python2.6/site-
packages/nova/compute/manager.py with the spacing parameter, the
configured value will be in action. Please fix this bug.

@periodic_task.periodic_task(spacing=CONF.heal_instance_info_cache_interval)
    def _heal_instance_info_cache(self, context):

** 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/1274317

Title:
  heal_instance_info_cache_interval config is not effective

Status in OpenStack Compute (Nova):
  New

Bug description:
  There is configuration item in /etc/nova/nova.conf that controls how
  often the instance info should be updated. By default the value is 60
  seconds. However, the current implementation only uses that value to
  prevent over clocked.  Configure it to a different value in nova.conf
  does not has impact how often the task is executed.

  If I change the code in  /usr/lib/python2.6/site-
  packages/nova/compute/manager.py with the spacing parameter, the
  configured value will be in action. Please fix this bug.

  @periodic_task.periodic_task(spacing=CONF.heal_instance_info_cache_interval)
      def _heal_instance_info_cache(self, context):

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


Follow ups

References