Bug 1257610 - Automatic fencing doesn't work when network is killed on host
Summary: Automatic fencing doesn't work when network is killed on host
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Martin Perina
QA Contact: Petr Matyáš
Depends On:
Blocks: 1145099 1158861 1260619
TreeView+ depends on / blocked
Reported: 2015-08-27 12:45 UTC by Petr Matyáš
Modified: 2019-09-12 08:49 UTC (History)
8 users (show)

Fixed In Version: 3.6.0-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1260619 (view as bug list)
Last Closed: 2016-03-09 21:12:17 UTC
oVirt Team: Infra
Target Upstream Version:

Attachments (Terms of Use)
engine log (8.12 MB, text/plain)
2015-08-27 12:45 UTC, Petr Matyáš
no flags Details
engine log (145.99 KB, text/plain)
2015-09-02 09:30 UTC, Petr Matyáš
no flags Details
engine log + debug (1.65 MB, text/plain)
2015-09-03 10:06 UTC, Petr Matyáš
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2070223 0 None None None Never
Red Hat Product Errata RHEA-2016:0376 0 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.0 2016-03-10 01:20:52 UTC
oVirt gerrit 45725 0 master MERGED core: Fix checking compatibility of proxy host and fencing policy Never
oVirt gerrit 45744 0 ovirt-engine-3.6 MERGED core: Fix checking compatibility of proxy host and fencing policy Never

Description Petr Matyáš 2015-08-27 12:45:37 UTC
Created attachment 1067725 [details]
engine log

Description of problem:
When I stop network service on host machine, is stops responding in engine and the host should be automatically fenced, but the stop command never succeeds.

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

How reproducible:

Steps to Reproduce:
1. log into hosts console
2. stop network service
3. wait for host to be fenced

Actual results:
fencing fails

Expected results:
successful fencing

Additional info:
Host can be fenced manually.

Comment 1 Petr Matyáš 2015-09-02 09:30:09 UTC
Created attachment 1069314 [details]
engine log

the log is cut to relevant parts

Also the second host is not used at all for stop operation

Comment 2 Petr Matyáš 2015-09-03 10:06:18 UTC
Created attachment 1069724 [details]
engine log + debug

Comment 3 Martin Perina 2015-09-03 13:08:14 UTC
I found the issue: newest vdsm reports as supported cluster levels only 3.4+ but on engine we support cluster levels 3.0+. This change covered in BZ1229177 was merged later than fencing refactoring patches (before this change vdsm also reported 3.0+), so that's why we haven't found out it sooner.

When we test if the host can be used as a fencing proxy we check if it supports fencing policy for the cluster using: "is minimal supported version for fencing policy contained in version set reported by VDSM" (as noted above minimal support version in engine is 3.0 vs. 3.4 in VDSM). So we will have to change this condition to: "is there a version in VDSM version set which is higher or equal to minimal version need for fencing policy".

Without this change engine is not capable to fence any host in cluster with version <= 3.4 and also hosts in 3.5+ cluster if options "skip fencing if connected to storage" and "skip fencing if connectivity issues" were disable in cluster fencing policy.

Comment 6 errata-xmlrpc 2016-03-09 21:12:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.