← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1287492] Re: Add one configuration item for cache-using in libvirt/hypervisor

 

** Changed in: nova
       Status: Incomplete => Opinion

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

Title:
  Add one configuration item for cache-using in libvirt/hypervisor

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  We met one scenario which needs to close the cache on linux
  hypervisor.

  But some codes written in libvirt/driver.py (including
  'suspend'/'snapshot' actions) are hard-coded.

  For example:
  -----------
      def suspend(self, instance):
          """Suspend the specified instance."""
          dom = self._lookup_by_name(instance['name'])
          self._detach_pci_devices(dom,
              pci_manager.get_instance_pci_devs(instance))
          dom.managedSave(0)

  So, we need to add one configuration item for it in nova.conf, and let
  operator can choose it.

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


References