Bug 1855361 - [el7] gluster-ansible playbooks for RHHI-V deployment fails with ansible-2.9.10
Summary: [el7] gluster-ansible playbooks for RHHI-V deployment fails with ansible-2.9.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1854760
TreeView+ depends on / blocked
 
Reported: 2020-07-09 16:33 UTC by SATHEESARAN
Modified: 2020-07-23 04:42 UTC (History)
5 users (show)

Fixed In Version: gluster-ansible-infra-1.0.5-7.2.el8rhgs
Doc Type: No Doc Update
Doc Text:
Clone Of: 1855352
Environment:
rhhiv
Last Closed: 2020-07-23 04:42:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3120 0 None None None 2020-07-23 04:42:36 UTC

Description SATHEESARAN 2020-07-09 16:33:02 UTC
Description of problem:
------------------------
gluster-ansible playbooks for RHHI-V deployment failed with ansible 2.9.10


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gluster-ansible-roles-1.0.5-7.1.el7rhgs

How reproducible:
-----------------
Always

Actual results:
----------------
Playbook tasks with delegation to remote host executes on the localhost only

Expected results:
-----------------
Playbook tasks with delegation to remote host should also work in remote host

Comment 2 Gobinda Das 2020-07-10 16:05:54 UTC
PR: https://github.com/gluster/gluster-ansible/pull/118

Comment 3 SATHEESARAN 2020-07-14 14:20:43 UTC
Tested with gluster-ansible-roles-1.0.5-7.2.el7rhgs

<snip>
  - name: Set Engine public key as authorized key without validating the TLS/SSL certificates
    connection: ssh
    authorized_key:
      user: root
      state: present
      # The certificate has to be verified by the user for its authenticity
      key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
      validate_certs: False
    delegate_to: "{{ host }}"
    with_items: "{{ groups['gluster'] }}"
    loop_control:
      loop_var: host
    when: "'gluster' in groups"
</snip>

The task now has 'connection: ssh'

Comment 5 errata-xmlrpc 2020-07-23 04:42:31 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-2020:3120


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