Commit 7c90be21 by Kálmán Viktor

vmdriver: more logging for shutdown

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