Commit 7c90be21 by Kálmán Viktor

vmdriver: more logging for shutdown

parent 1562b83b
......@@ -210,9 +210,12 @@ class shutdown(AbortableTask):
def run(self, args):
from time import sleep
name, = args
logging.info("Shutdown started for vm: %s", name)
try:
domain = lookupByName(name)
logging.info("%s domain found in shutdown", name)
domain.shutdown()
logging.info("Domain shutdown called for vm: %s", name)
while True:
try:
Connection.get().lookupByName(name)
......
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 sign in to comment