Merge "fix the exception of nova_notifier log"
This commit is contained in:
commit
f065416545
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user