Merge "Update log's level when backup a volume backend instance"

This commit is contained in:
Jenkins 2015-09-16 17:12:40 +00:00 committed by Gerrit Code Review
commit 9103831f11
1 changed files with 2 additions and 4 deletions

View File

@ -2186,10 +2186,8 @@ class API(base.Base):
props_copy = dict(extra_properties, backup_type=backup_type)
if self.is_volume_backed_instance(context, instance):
# TODO(flwang): The log level will be changed to INFO after
# string freeze (Liberty).
LOG.debug("It's not supported to backup volume backed instance.",
context=context, instance=instance)
LOG.info(_LI("It's not supported to backup volume backed "
"instance."), context=context, instance=instance)
raise exception.InvalidRequest()
else:
image_meta = self._create_image(context, instance,