yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10473
[Bug 1287492] [NEW] Add one configuration item for cache-using in libvirt/hypervisor
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
Follow ups
References