Bug 1377068

Summary: [BUG] Hosted Engine vm (on FC storage) is not failing over to other host when the host network 'ovirtmgmt' is down.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ulhas Surse <usurse>
Component: ovirt-hosted-engine-haAssignee: Martin Sivák <msivak>
Status: CLOSED NOTABUG QA Contact: meital avital <mavital>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0.3CC: gklein, lsurette, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-19 02:17:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ulhas Surse 2016-09-18 07:42:00 UTC
Description of problem:
Hosted_Engine VM is not failing over to other host in case of host network goes down. 


Version-Release number of selected component (if applicable):

RHV-M: rhevm-4.0.3-0.1.el7ev.noarch
RHV-H (HE Hosts): Red Hat Enterprise Linux release 7.2

How reproducible:
Always in customer environment.

Steps to Reproduce:
1. 3 HE host setup. 
2. ifdown ovirtmgmt on host where HE vm is running
3. VM never migrate to other HE host

Actual results:
VM does not migrate to other host. 

Expected results:
VM should migrate to other host. 


Additional info:

What tried already: 

1] Tried to stop vm on one host and start on other manually . Success.
2] Tried to reinitialize lockspace. Success! 

# hosted-engine --reinitialize-lockspace
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15: DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
  import vdsm.vdscli
#