masakari/masakari
Dinesh Bhor d45f754cbb Add reserved_host to failed_host's aggregate
Reserved hosts can be shared between multiple host_aggregates. So
before evacuating the instances from failed_host to reserved_host,
the target resered_host should be added to the same aggregate in
which the failed_host is.

This patch adds the reserved_host to failed_host's aggregate.
Adding reserved_host to aggregate is optional and can be configured
by operators with the help of new configuration parameter
'add_reserved_host_to_aggregate' which is added under the 'host_failure'
section. This config option defaults to 'False'.

Change-Id: I7478e0f24ecd6fd6385dd67e7f0cad5ca3460526
2017-02-16 11:57:40 +05:30
..
api Boolean filters are not working for host list api 2017-02-14 12:44:05 +05:30
cmd Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
common Add support for wsgi framework 2016-07-12 13:10:10 +05:30
compute Add reserved_host to failed_host's aggregate 2017-02-16 11:57:40 +05:30
conf Add reserved_host to failed_host's aggregate 2017-02-16 11:57:40 +05:30
db Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
engine Add reserved_host to failed_host's aggregate 2017-02-16 11:57:40 +05:30
ha Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
hacking Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30
objects Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
tests Add reserved_host to failed_host's aggregate 2017-02-16 11:57:40 +05:30
__init__.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
config.py Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
context.py Stop logging unnecessary warning on context create 2017-01-27 11:35:01 +05:30
exception.py Add host_failure workflow for 'reserved_host' recovery_method 2017-02-16 11:33:09 +05:30
i18n.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
manager.py Add masakari-engine support 2016-10-05 14:53:26 +05:30
policy.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
rpc.py Set access_policy for messaging's dispatcher 2017-02-09 12:17:15 +05:30
safe_utils.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
service.py Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
test.py Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30
utils.py Add host_failure workflow for 'reserved_host' recovery_method 2017-02-16 11:33:09 +05:30
version.py Add masakari-engine support 2016-10-05 14:53:26 +05:30
wsgi.py Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30