Commit 5db01b7c authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Log iAllocator request at debug level


Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 5bf08061
......@@ -42,6 +42,7 @@ from ganeti import utils
import ganeti.masterd.instance as gmi
import logging
_STRING_LIST = ht.TListOf(ht.TString)
_JOB_LIST = ht.TListOf(ht.TListOf(ht.TStrictDict(True, False, {
......@@ -816,6 +817,7 @@ class IAllocator(object):
self.in_data["request"] = request
self.in_text = serializer.Dump(self.in_data)
logging.debug("IAllocator request: %s", self.in_text)
def Run(self, name, validate=True, call_fn=None):
"""Run an instance allocator and return the results.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment