Merge "Log warnings instead of infos about cleanup fails"

This commit is contained in:
Jenkins
2014-01-02 06:34:36 +00:00
committed by Gerrit Code Review

View File

@@ -132,8 +132,10 @@ class ScenarioRunner(object):
clients["keystone"].project_id)
cls._delete_cinder_resources(clients["cinder"])
except Exception as e:
LOG.info(_('Unable to fully cleanup the cloud: %s') %
(e.message))
LOG.debug(_("Not all resources were cleaned."),
exc_info=sys.exc_info())
LOG.warning(_('Unable to fully cleanup the cloud: %s') %
(e.message))
def _cleanup_scenario(self, concurrent):
indexes = range(0, len(__openstack_clients__))