<div dir="ltr">hello<br>i use masakari for migrate servers when the compute being down.<div>i install these container on the region:<br>masakari-monitors<br></div><div>masakari-engine<br></div><div>masakari-api<br></div><div>hacluster-pacemaker<br></div><div>hacluster-corosync<br></div><div>and on the compute server i install "hacluster-pacemaker-remote". <br>In openstack i created segment and I added 2 hosts (in this case the name of that 2 hosts are: R3SG5 & R3SG12).<br>for testing evacuate function i shut off one of that compute that i added in host. <br>(in this case i shutoff R3SG5)<br>i attached the log that i found in this directory:<br>/var/log/kolla/masakari/masakari-hostmonitor.log<br><br>*********<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG5' is 'online' (current: 'online').<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG12' is 'online' (current: 'online').<br> WARNING masakarimonitors.hostmonitor.host_handler.handle_host [-] Corosync communication using 'eth0' is failed.: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.<br> ERROR masakarimonitors.hostmonitor.host_handler.handle_host [-] Corosync communication is failed.<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG5' is 'offline' (current: 'offline').<br> INFO masakarimonitors.ha.masakari [-] Send a notification. {'notification': {'type': 'COMPUTE_HOST', 'hostname': 'R3SG5', 'generated_time': datetime.datetime(2022, 6, 14, 7, 6, 46, 138867), 'payload': {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'}}}<br> INFO masakarimonitors.ha.masakari [-] Response: openstack.instance_ha.v1.notification.Notification(type=COMPUTE_HOST, hostname=R3SG5, generated_time=2022-06-14T07:06:46.138867, payload={'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'}, id=105, notification_uuid=a7364095-cc7d-48f8-b963-c64ba147897c, source_host_uuid=6328f08c-c752-43d5-4689-801d91dd67ec, status=new, created_at=2022-06-14T07:06:47.000000, updated_at=None, location=Munch({'cloud': 'controller', 'region_name': 'RegionThree', 'zone': None, 'project': Munch({'id': 'a75a951b4537478e8cea39a932f830da', 'name': None, 'domain_id': None, 'domain_name': None})}))<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG12' is 'online' (current: 'online').<br> WARNING masakarimonitors.hostmonitor.host_handler.handle_host [-] Corosync communication using 'eth0' is failed.: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.<br> ERROR masakarimonitors.hostmonitor.host_handler.handle_host [-] Corosync communication is failed.<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG5' is 'offline' (current: 'offline').<br> INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'R3SG12' is 'online' (current: 'online').<br> WARNING masakarimonitors.hostmonitor.host_handler.handle_host [-] Corosync communication using 'eth0' is failed.: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.<br>*****************<br><br><br><br>also i checked nova_scheduler logs and on that directory i receive error:<br><br>***<br>ERROR oslo_messaging.rpc.server nova.exception.NoValidHost: No valid host was found. There are not enough hosts available.<br>*******<br><br>finally in OpenStack dashboard in the notification section tatus change from running to failed.  after the error state that shows in the notification section, my VM that was on R3SG5 became to ERROR state and the VM still exists on 

R3SG5 and it doenst been migrated to R3SG12.<br><br>could you please help me why evacuate function doesn't work correctly?<br><table id="gmail-notifications" class="gmail-table gmail-table-striped gmail-datatable gmail-tablesorter gmail-tablesorter-default" style="border-collapse:collapse;border-spacing:0px;width:1099px;max-width:100%;margin-bottom:18px;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><tbody style="box-sizing:border-box"><tr class="gmail-odd" id="gmail-notifications__row__a7936095-cc7d-48f8-b277-c64ba149487c" style="box-sizing:border-box;background-color:rgb(249,249,249);margin:10px 0px"><td class="gmail-normal_column gmail-sortable" style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box"><br></td></tr></tbody></table><br><br><br><br></div></div>