← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254320] Re: Network cache should not be refreshed for instances that are still building

 

** Also affects: nova/havana
   Importance: Undecided
       Status: New

** Changed in: nova/havana
   Importance: Undecided => Medium

** Changed in: nova/havana
       Status: New => In Progress

** Changed in: nova/havana
     Assignee: (unassigned) => Alan Pevec (apevec)

** Changed in: nova/havana
    Milestone: None => 2013.2.4

-- 
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/1254320

Title:
  Network cache should not be refreshed for instances that are still
  building

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  In Progress

Bug description:
  heal_instance_info_cache is a periodic task which refreshes the
  network cache for instances on a host.  Currently it processes
  instances which are still in the building state, which is both
  unnecessary (the build itself will update the cache when it completes)
  and can lead to a race condition;  If the periodic task gets Null
  network information (likely as the instance is still being built) but
  then gets pre-empted by the build thread and updates the cache after
  the instance has finished build has finished then the cache is in
  effect cleared.

  Simply skipping instances in the building state avoids this situation.

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