Bug 1807085 - ceph-ansible 4.0.x does not work with ansible 2.9
Summary: ceph-ansible 4.0.x does not work with ansible 2.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 4.1
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks: 1760354 1807145 1816167
TreeView+ depends on / blocked
 
Reported: 2020-02-25 15:08 UTC by Giulio Fidente
Modified: 2020-05-19 17:32 UTC (History)
21 users (show)

Fixed In Version: ceph-ansible-4.0.16-1.el8, ceph-ansible-4.0.16-1.el7
Doc Type: Bug Fix
Doc Text:
.Ceph Ansible works with Ansible 2.9 Previously, `ceph-ansible` versions 4.0 and above did not work with Ansible version 2.9. This occurred because the `ceph-validate` role did not allow `ceph-ansible` to be run against Ansible 2.9. With this update, `ceph-ansible` works with Ansible 2.9.
Clone Of:
Environment:
Last Closed: 2020-05-19 17:32:27 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:32:56 UTC

Internal Links: 1831996

Description Giulio Fidente 2020-02-25 15:08:43 UTC
ceph-ansible 4.0.14 refuses to work with ansible 2.9, which is the latest version found for centos8 when deploying rdo

Comment 1 RHEL Program Management 2020-02-25 15:08:51 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Dimitri Savineau 2020-02-25 16:57:18 UTC
This is a CentOS 8 issue not a ceph-ansible issue.

> ansible 2.9, which is the latest version found for centos8 when deploying rdo

Because you're using EPEL 8 which provides this ansible package.

The EPEL ansible package is always bumped to a recent major ansible release and there's no versionning. This package was based on 2.8 few weeks ago. So you can't pin on a previous version.

If ansible 2.10 is out tomorrow then the EPEL ansible package will also be updated. Will you then asking us to update to 2.10 ?

Comment 3 Ken Dreyer (Red Hat) 2020-02-25 17:00:47 UTC
Giulio, we don't understand the exact implications to the products downstream.

Would you please say how this bug impacts OpenStack 16? and OpenStack 17?

Comment 5 John Fulton 2020-02-25 17:38:03 UTC
(In reply to Ken Dreyer (Red Hat) from comment #3)
> Giulio, we don't understand the exact implications to the products
> downstream.
> 
> Would you please say how this bug impacts OpenStack 16? and OpenStack 17?

This impacts OSP16. As tracked in bz1807145, inevitably OSP16 will move to Ansible 2.9 because Ansible live cycles tend to be shorter than OpenStack life cycles and OSP16 is a five-year release. OSP16/RHCSv4 need to continue their joint support.

Comment 7 Alfredo Moralejo 2020-02-25 18:26:57 UTC
(In reply to Dimitri Savineau from comment #2)
> This is a CentOS 8 issue not a ceph-ansible issue.
> 
> > ansible 2.9, which is the latest version found for centos8 when deploying rdo
> 
> Because you're using EPEL 8 which provides this ansible package.
> 
> The EPEL ansible package is always bumped to a recent major ansible release
> and there's no versionning. This package was based on 2.8 few weeks ago. So
> you can't pin on a previous version.
> 
> If ansible 2.10 is out tomorrow then the EPEL ansible package will also be
> updated. Will you then asking us to update to 2.10 ?

RDO doesn't use EPEL at all, but maintain its own builds of ansible in CloudSIG repository, i.e.:

https://cbs.centos.org/koji/buildinfo?buildID=28297

In this particular case, for CentOS8 bootstrap we built 2.9 which was last upstream release (2.9 was released on 2019-10-31) for the OpenStack version under development (Ussuri). Using latest upstream version of dependencies in the development phase is the recommended practice in OpenStack ecosystem.

Note that, in the case of OpenStack, Ceph is integrated in a wider set of projects and tecnologies that need to be coinstalled and live together so cooperation between all involved parts to define the versions of ansible (the same may apply to others, although i think ansible is the most critical one) is needed. Typically, supporting new versions of ansible with backwards compatibility at some level has been very helpful as a way to provide flexibility in the integration, although i understand there can be several ways this can be achieved and discussing the best way for all parties is fair.

Also note that according to https://access.redhat.com/support/policy/updates/ansible-engine, EOL 2.8 EOL is "After the release of Ansible Engine 2.11 - Approx. 8-12 months after GA" (May 21, 2019). 

At this point, I'm flexible with moving back to ansible 2.8 in RDO for CentOS8 if TripleO is fine with it.

Comment 27 errata-xmlrpc 2020-05-19 17:32:27 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/RHSA-2020:2231


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