OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] HA Compute & Instance Evacuation


Hi Tushar,

I followed the documentation to set up the masakari monitors, after I 
installed the masakari API. None of the monitor services seem to work. I keep 
getting an error: "AttributeError: 'module' object has no attribute 'URI'" 
Here is the full output: http://paste.openstack.org/show/720761/
Are you aware of what causes the issue? Can you provide any example configs 
for a working masakari setup? 


On Sunday, May 6, 2018 10:41:48 PM EDT Patil, Tushar wrote:
> Hi Torin,
> 
> Masakari supports 4 different types of recovery methods at the time of
> creation of failover_segment.
> 
> 1. auto: It will let nova decide on which compute host the instances should
> be evacuated.
> 
> 2. reserved_host:  You will first need to add reserved hosts to the failover
> segments. Masakari engine will select the first available reserved host
> from the failover segment, enable compute service in nova and then use that
> reserved host to evacuate the instances from the failed compute host.
> 
> 3. auto_priority: it will first try to evacuate instances using 'auto'
> recovery method, if it's fails then it attempts to evacuate using
> "reserved_host" recovery method.
> 
> 4. rh_priority: It's opposite of above "auto_priority" recovery method. it
> will first try to evacuate instances using 'reserved_host' recovery method,
> if it's fails then it attempts to evacuate using "auto" recovery method.
> 
> In your case you will need to use "auto" recovery method.
> 
> Please refer to the below documentation links for more details.
> 
> Masakari system architecture:
> https://docs.openstack.org/masakari/latest/
> 
> Masakari api-ref:
> https://developer.openstack.org/api-ref/instance-ha/
> 
> To install masakari-monitors with pacemaker/corosync:
> https://review.openstack.org/#/c/489095/6/doc/source/install_and_configure_d
> ebian.rst
> 
> Other ways to reach us: Masakari weekly meeting on #openstack-meeting IRC
> channel on every Tuesday at 0400 UTC or else you can post your queries on
> #openstack-masakari IRC channel.
> 
> Regards,
> Tushar