From 9f04a0b37b0099854b078f3e653ec49f0a7e783d Mon Sep 17 00:00:00 2001 From: zhufl Date: Wed, 23 Jan 2019 11:48:06 +0800 Subject: [PATCH] Add missing ws seperator between words This is to add missing ws seperator between words. Change-Id: I4e892e6b75aa5c222ec8154f2f4ad832b556ccbf --- nova/virt/libvirt/driver.py | 14 +++++++------- nova/virt/libvirt/guest.py | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index d775ee695d1c..63dc66070996 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -552,11 +552,11 @@ class LibvirtDriver(driver.ComputeDriver): # nonsensical. if (CONF.libvirt.live_migration_tunnelled and CONF.libvirt.live_migration_with_native_tls): - msg = _("Setting both 'live_migration_tunnelled' and" - "'live_migration_with_native_tls' at the same" - "time is invalid. If you have the relevant" - "libvirt and QEMU versions, and TLS configured" - "in your environment, pick" + msg = _("Setting both 'live_migration_tunnelled' and " + "'live_migration_with_native_tls' at the same " + "time is invalid. If you have the relevant " + "libvirt and QEMU versions, and TLS configured " + "in your environment, pick " "'live_migration_with_native_tls'.") raise exception.Invalid(msg) @@ -5731,7 +5731,7 @@ class LibvirtDriver(driver.ComputeDriver): total_pcpus = self._host.get_cpu_count() except libvirt.libvirtError: LOG.warning("Cannot get the number of cpu, because this " - "function is not implemented for this platform. ") + "function is not implemented for this platform.") return 0 if not CONF.vcpu_pin_set: @@ -7108,7 +7108,7 @@ class LibvirtDriver(driver.ComputeDriver): if CONF.serial_console.enabled: msg = _('Your destination node does not support' - ' retrieving listen addresses. In order' + ' retrieving listen addresses. In order' ' for live migration to work properly you' ' must disable serial console.') raise exception.MigrationError(reason=msg) diff --git a/nova/virt/libvirt/guest.py b/nova/virt/libvirt/guest.py index b4ea4a4ef27f..c60e45a0bae0 100644 --- a/nova/virt/libvirt/guest.py +++ b/nova/virt/libvirt/guest.py @@ -266,8 +266,8 @@ class Guest(object): flags |= libvirt.VIR_DOMAIN_UNDEFINE_NVRAM self._domain.undefineFlags(flags) except libvirt.libvirtError: - LOG.debug("Error from libvirt during undefineFlags. %d" - "Retrying with undefine", self.id) + LOG.debug("Error from libvirt during undefineFlags for guest " + "%d. Retrying with undefine", self.id) self._domain.undefine() except AttributeError: # Older versions of libvirt don't support undefine flags,