Merge "Modify incorrect debug meaasge in _inject_data"

This commit is contained in:
Zuul 2017-11-15 01:27:13 +00:00 committed by Gerrit Code Review
commit 008bc4065d
1 changed files with 3 additions and 3 deletions

View File

@ -3098,8 +3098,8 @@ class LibvirtDriver(driver.ComputeDriver):
:param injection_info: Injection info
"""
# Handles the partition need to be used.
LOG.debug('Checking root disk injection %(info)s',
info=str(injection_info), instance=instance)
LOG.debug('Checking root disk injection %s',
str(injection_info), instance=instance)
target_partition = None
if not instance.kernel_id:
target_partition = CONF.libvirt.inject_partition
@ -3129,7 +3129,7 @@ class LibvirtDriver(driver.ComputeDriver):
metadata = instance.get('metadata')
if any((key, net, metadata, admin_pass, injection_info.files)):
LOG.debug('Injecting %(info)s', info=str(injection_info),
LOG.debug('Injecting %s', str(injection_info),
instance=instance)
img_id = instance.image_ref
try: