In 'allocate' mode, the documentation specifies that we export the
hypervisor value (“Allocation needs, in addition: … hypervisor, the
hypervisor of this instance”) and we need that on input, however we
don't actually export it.
---
 lib/cmdlib.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 2f1e1e3..b4fd489 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -12256,6 +12256,7 @@ class IAllocator(object):
       "disk_space_total": disk_space,
       "nics": self.nics,
       "required_nodes": self.required_nodes,
+      "hypervisor": self.hypervisor,
       }
 
     return request
-- 
1.7.3.1

Reply via email to