From 4bffe4804a37812bc9ec44fac21be43c218c2f15 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Mon, 30 Apr 2018 15:52:59 +0100 Subject: [PATCH] libvirt: Fix misleading debug msg "Instance is running" We were logging "Instance is running" after guest creation, but before the instance is running. The log message we emit when the instance is actually running is "Instance spawned successfully". Change-Id: I53ef1fb6a612fc55fa60f3a50f8710c8bf5caba4 (cherry picked from commit 339c29f98051edac3f3ee63f1fd6887c5fc08d2e) --- nova/virt/libvirt/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 0a7582a77274..469de4afdbe1 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -3168,7 +3168,7 @@ class LibvirtDriver(driver.ComputeDriver): block_device_info=block_device_info, post_xml_callback=gen_confdrive, destroy_disks_on_failure=True) - LOG.debug("Instance is running", instance=instance) + LOG.debug("Guest created on hypervisor", instance=instance) def _wait_for_boot(): """Called at an interval until the VM is running."""