Disable worrying warning message related to resource owner.

Change-Id: I14af68f55e10201700c324fededae6f902ac6f75
This commit is contained in:
Jordan Pittier 2017-01-10 17:14:47 +01:00
parent 3ea94225fc
commit 5e6c61f443
1 changed files with 4 additions and 1 deletions

View File

@ -116,7 +116,10 @@ class ServiceResource(BaseServiceResource, metaclass=CodingStyleMixin):
if project_id:
return project_id == self.cleanup_project_id
else:
logging.warning("Can't determine owner of resource %s", resource)
# Uncomment the following line once Shade and all OpenStack
# services returns the resource owner. In the mean time no need
# to be worrying.
# logging.warning("Can't determine owner of resource %s", resource)
return True
@abc.abstractmethod