Created attachment 1357507 [details] engine log. the scenario starts at line 1348 Description of problem: The HA VM with lease that is started on SPM host could not be restarted after Pause. Version-Release number of selected component (if applicable): ovirt-engine-setup-plugin-ovirt-engine-4.2.0-0.0.master.20171119135709.git6d448d3. How reproducible: 80% Steps to Reproduce: 1. There are two hosts Normal host1 and SPM host2. Create VM with scsi storage. open HA tab , check HA with nfs lease (Resume Behavior = KILL). Run VM on SPM host2. block the storage on the SPM host2 with command <iptables -I INPUT -s 10.35.146.129 -j DROP>. As result The VM is "paused due to storage I/O problem". 2. Wait until SPM moves to the host1. AS result we have two healthy hosts - SPM host1 and Normal host2. 3. Unblock the storage with command <iptables -D INPUT 1>. Actual results: The VM is not killed and restarted . it is moved to down state forever Expected results: the VM must be killed and restarted Additional info: engine log attached . please see the scenario starting from 1348 line: VM vm_glance_templ_scsi has been paused due to storage I/O problem.
the reason is that the exit code of the VM killed this way is not "error" so the engine is not trying to restart it.
this is just a bug. Doesn't deserve a doc_text
put depends on https://bugzilla.redhat.com/show_bug.cgi?id=1516712 because I want to verify it with kinds of VMs - HA &HA with lease
verified for ovirt-engine-4.2.1-0.2.el7.noarch
verified on ovirt-engine-4.2.1-0.2.el7.noarch