Bug 1491244 - [ovirt-ansible-roles] ovirt-clusters: variable ksm and fence_enabled should have priority before their childs variables
Summary: [ovirt-ansible-roles] ovirt-clusters: variable ksm and fence_enabled should h...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-ansible-roles
Version: 4.1.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.2
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-13 11:42 UTC by Petr Kubica
Modified: 2019-05-16 13:17 UTC (History)
3 users (show)

Fixed In Version: ovirt-ansible-roles-1.1.1-0.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-15 18:00:33 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ansible ansible pull 30302 0 None None None 2017-09-15 12:21:21 UTC
Red Hat Product Errata RHEA-2018:1534 0 None None None 2018-05-15 18:01:05 UTC

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


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