Bug 1897125

Summary: [Ceph-Installer] : Deployment fails due to mismatch in ansible version in ansible-runner container for 4.2
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ameena Suhani S H <amsyedha>
Component: Ceph-InstallerAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, nthomas, tjeyasin, tserlin, vereddy, ykaul
Target Milestone: ---Keywords: TestBlocker
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-runner-service:ceph-4.2-rhel-8-containers-candidate-22641-20201124083951 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 14:58:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of UI none

Description Ameena Suhani S H 2020-11-12 11:41:40 UTC
Created attachment 1728727 [details]
Screenshot of UI

Description of problem:
RHCS 4.2 supports ansible-2.9 version and deployment fails due to mismatch in ansible version in ansible-runner container as it is 2.8. So the container needs to be built with ansible-2.8 for RHCS4.1 and ansible-2.9 for RHCS4.2

[root@magna065 ansible-runner-service]# podman ps
CONTAINER ID  IMAGE                                                  COMMAND               CREATED      STATUS          PORTS   NAMES
501526d05327  registry.redhat.io/rhceph/ansible-runner-rhel8:latest  /usr/bin/supervis...  9 hours ago  Up 9 hours ago          runner-service
[root@magna065 ansible-runner-service]# podman exec -it 501526d05327 bash
[root@magna065 ~]# rpm -qa|grep ansi
python3-ansible-runner-1.3.4-2.el8ar.noarch
ansible-runner-service-0.9-3.el8cp.noarch
ansible-2.8.15-1.el8ae.noarch
ansible-runner-1.3.4-2.el8ar.noarch

[root@magna065 ansible-runner-service]# rpm -qa|grep ansi
ansible-2.9.15-1.el8ae.noarch
ceph-ansible-4.0.34.2-1.el8cp.noarch

 

Version-Release number of selected component (if applicable):
cockpit-ceph-installer-1.3-0.el8cp.noarch

How reproducible:
2/2

Steps to Reproduce:
1. Deploy cluster with 4.2 build using cockpit


Actual results:
playbook fails looking for TASK [ceph-validate : fail on unsupported ansible version] 

Expected results:
deployment should be successful

Comment 9 errata-xmlrpc 2021-01-12 14:58:11 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 (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), 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/RHSA-2021:0081