summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2018-04-30 15:52:59 +0100
committerElod Illes <elod.illes@est.tech>2020-07-15 12:01:50 +0000
commit4bffe4804a37812bc9ec44fac21be43c218c2f15 (patch)
tree298a0fa870ce1d4ac61b8c9b1dabd21472ff42b0
parent0730aba7aef493dfa160381a534aec4ca1b497fd (diff)
downloadnova-4bffe4804a37812bc9ec44fac21be43c218c2f15.tar.gz
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)
-rw-r--r--nova/virt/libvirt/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py
index 0a7582a772..469de4afdb 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."""