Bug 1683885

Summary: roles/ceph-defaults/defaults/main.yml Incompatible W/ RHEL 8/Python3
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: acalhoun
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, gabrioux, gmeno, kdreyer, nthomas, rgowdege, tchandra, tserlin, ukurundw, vashastr
Target Milestone: rcKeywords: AutomationBlocker
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.0-0.rc3.43.g8edb0646.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 12:45:38 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:

Description acalhoun 2019-02-28 03:18:34 UTC
Description of problem:
task redhat_package_dependencies  within  roles/ceph-defaults/defaults/main.yml fails due to the python packages not including the specific python version on the package name. This is due to the changes in RHEL8 pertaining to python. 

Issue was resolved when changing the following:

roles/ceph-defaults/defaults/main.yml
------
80 redhat_package_dependencies:
81   - python-pycurl
82   - python-setuptools
++++++
80 redhat_package_dependencies:
81   - python3-pycurl
82   - python3-setuptools

Version-Release number of selected component (if applicable):
ceph-ansible.noarch  4.0.0-0.beta1.29.g3930791c.el8

How reproducible:
always

Steps to Reproduce:
1.run ansible-playbook site.yml 
2.
3.

Actual results:
ceph-ansible fails to locate dependencies 

Expected results:
installation of redhat package dependencies resolves successfully 

Additional info:

Comment 1 Ken Dreyer (Red Hat) 2019-03-04 17:01:23 UTC
Guillaume I wonder why we need these at all.

Comment 4 Ken Dreyer (Red Hat) 2019-04-17 16:43:31 UTC
This is in the stable-4.0 branch now upstream. I'll build a new git snapshot to get this change downstream.

Comment 11 errata-xmlrpc 2020-01-31 12:45:38 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/RHBA-2020:0312