← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1152748] Re: libvirt imagebackend cache code encapsulation needs refactoring

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  libvirt imagebackend cache code encapsulation needs refactoring

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  libvirt.imagebackend.cache needs to be refactored to eliminate the
  callback to call_if_not_exists().  The only way it could meet all the
  requirements while remaining a callback is if the os.path.exists()
  check were removed from the function, which would then require path
  checks in each of the backend classes where prepare_template() is
  called.  Ultimately, this is a lot more code than simply adding a
  backend-specific call to each class.

  There's too much risk associated with such a refactor at such a late
  stage for Grizzly, so we'll look to tackle this for Havana.

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