masakari/masakari/tests/unit/db
Dinesh Bhor 81ed98101e Exclude on maintenance reserved_hosts for host_failure recovery
masakari-engine considers reserved_hosts which are under maintenance
for host failure recovery when recovery_method is reserved_host,
auto_priority or rh_priority and passes it to workflow for processing.

If the reserved_host is under maintenance then it should not be used
for evacuating the instances for host_failure recovery.

This patch excludes reserved_hosts which are on maintenance for
host_failure recovery by filtering host_list with
'on_maintenance'=False.

Closes-Bug: #1697902
Change-Id: Ie6beff110d03b67d6f5d8694603816c0db017660
2017-06-19 12:49:54 +05:30
..
__init__.py Add database related test cases 2016-12-09 18:30:55 +05:30
test_db_api.py Exclude on maintenance reserved_hosts for host_failure recovery 2017-06-19 12:49:54 +05:30
test_migrations.py Add database related test cases 2016-12-09 18:30:55 +05:30