Bug 1491244

Summary: [ovirt-ansible-roles] ovirt-clusters: variable ksm and fence_enabled should have priority before their childs variables
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Kubica <pkubica>
Component: ovirt-ansible-rolesAssignee: Ondra Machacek <omachace>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.6CC: mperina, pkubica, pstehlik
Target Milestone: ovirt-4.2.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-roles-1.1.1-0.el7ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 18:00:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kubica 2017-09-13 11:42:45 UTC
Description of problem:
variable ksm and fence_enabled should have priority before their childs variables.

clusters:
  ...
  fence_enabled: false <-- disable fence at all
  fence_skip_if_connectivity_broken: true
  fence_skip_if_sd_active: true

will enable fence but it should be disabled

the same situation about ksm
cluster:
  ...
  ksm: false
  ksm_numa: true

will enable ksm but it should be disabled

Version-Release number of selected component (if applicable):
ovirt-ansible-roles-1.0.3-1.el7ev.noarch
ansible-2.3.2.0-2.el7.noarch

Comment 1 Petr Kubica 2018-01-29 13:30:57 UTC
fence_enabled: false
fence_skip_if_connectivity_broken: true
fence_skip_if_sd_active: true

still fence_enabled is enabled in engine (should be disabled)

Comment 2 Petr Kubica 2018-01-29 13:42:41 UTC
too, with
ksm: false
ksm_numa: true

trying to update existung cluster where:
ksm: true
ksm_numa: true

at first run

ovirt-ansible-infra-1.1.2-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch

Comment 3 Petr Kubica 2018-01-29 13:43:07 UTC
too, with
ksm: false
ksm_numa: true

trying to update existing cluster where:
ksm: true
ksm_numa: true

at first run

ovirt-ansible-infra-1.1.2-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch

Comment 4 Ondra Machacek 2018-01-29 17:18:54 UTC
Can you try with Ansible 2.4.2?

Comment 5 Petr Kubica 2018-01-30 13:12:08 UTC
Verified with:
ansible-2.4.2.0-2.el7.noarch
ovirt-ansible-infra-1.1.3-1.el7ev.noarch

Comment 10 errata-xmlrpc 2018-05-15 18:00:33 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.

https://access.redhat.com/errata/RHEA-2018:1534

Comment 11 Franta Kust 2019-05-16 13:09:21 UTC
BZ<2>Jira Resync