[openstack-dev] [nova][vitrage] host evacuate

Afek, Ifat (Nokia - IL) ifat.afek at nokia.com
Mon Aug 15 09:24:01 UTC 2016


Hi,

In Vitrage project[1], I would like to add an option to call nova host-evacuate for a failed host. I noticed that there is an api for ‘nova evacuate’, and a cli (but no api) for ‘nova host-evacuate’. Is there a way that I can call 'nova host-evacuate’ from Vitrage code? Did you consider adding host-evacuate to nova api? Obviously it would improve the performance for Vitrage use case.


Some more details: The Vitrage project is used for analysing the root cause of OpenStack alarms, and deducing their existence before they are directly observed. It receives information from various data sources (Nova, Neutron, Zabbix, etc.) performs configurable actions and notifies other projects like Nova. 

For example, in case zabbix detect a host NIC failure, Vitrage calls nova force-down api to indicate that the host is unavailable. We would like to add an option to evacuate the failed host.

Thanks,

Ifat.

[1] https://wiki.openstack.org/wiki/Vitrage








More information about the OpenStack-dev mailing list