Merge "fix the exception of nova_notifier log"

This commit is contained in:
Zuul 2017-11-14 01:47:57 +00:00 committed by Gerrit Code Review
commit f065416545

View File

@ -45,6 +45,6 @@ class NovaNotifier(NotifierBase):
str(host_id), str(is_down)) str(host_id), str(is_down))
response = self.client.services.force_down( response = self.client.services.force_down(
host_id, 'nova-compute', is_down) host_id, 'nova-compute', is_down)
LOG.info('RESPONSE %s', str(response)) LOG.info('RESPONSE %s', str(response.to_dict()))
except Exception as e: except Exception as e:
LOG.exception('Failed to services.force_down - %s', e) LOG.exception('Failed to services.force_down - %s', e)