Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: wingwj (wingwj)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => wingwj (wingwj)

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to