diff --git a/tacker/common/exceptions.py b/tacker/common/exceptions.py index d8c4fb9a2..b367151a5 100644 --- a/tacker/common/exceptions.py +++ b/tacker/common/exceptions.py @@ -287,7 +287,7 @@ class VNFPackageURLInvalid(Invalid): class VnfPackageLocationInvalid(Invalid): - message = _("Failed to find location: %(location)") + message = _("Failed to find location: %(location)s") class InvalidZipFile(Invalid): diff --git a/tacker/vnfm/infra_drivers/openstack/openstack.py b/tacker/vnfm/infra_drivers/openstack/openstack.py index 81807c780..05d45aaba 100644 --- a/tacker/vnfm/infra_drivers/openstack/openstack.py +++ b/tacker/vnfm/infra_drivers/openstack/openstack.py @@ -700,7 +700,7 @@ class OpenStack(abstract_driver.VnfAbstractDriver, {'image_uuid': image_uuid, 'status': status}) return True time.sleep(self.IMAGE_RETRY_WAIT) - LOG.debug('Image %(image_uuid)s status: %(status)', + LOG.debug('Image %(image_uuid)s status: %(status)s', {"image_uuid": image_uuid, "status": status}) if retries == 0 and image.status != expected_status: