Bug 2090456

Summary: Skip ceph-infra during ceph-ansible rolling_update
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: high    
Version: 5.1CC: akraj, aoconnor, aschoen, ceph-eng-bugs, gabrioux, gmeno, jbadiapa, lbezdick, nthomas, tserlin, vereddy, ykaul
Target Milestone: ---   
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.27.3-1.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 17:38:27 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:
Bug Depends On:    
Bug Blocks: 1820257, 2090461, 2102272    

Description Francesco Pantano 2022-05-25 19:29:38 UTC
Description of problem:

When the upgrade from Ceph 4 to 5 is performed in the OpenStack context, ceph-ansible triggers the rolling_update playbook, which is supposed to rollout new Ceph containers.
However, the playbook fails in [1].
The ceph-infra role tries to take care about:

1. Firewall: this part is skipped in the TripleO context through [2]
2. Ntp: this part is managed by Tripleo through [3]
3. logrotate: managed through [4]


For this reason we should have an additional tag (when the role is imported in [1]) to optionally skip that part. 


[1] https://github.com/ceph/ceph-ansible/blob/v6.0.26/infrastructure-playbooks/rolling_update.yml#L153


[2] https://github.com/openstack/tripleo-heat-templates/blob/stable/wallaby/deployment/ceph-ansible/ceph-base.yaml#L523

[3] https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/timesync/chrony-baremetal-ansible.yaml

[4] https://github.com/openstack/tripleo-heat-templates/blob/stable/wallaby/deployment/logrotate/

Comment 1 RHEL Program Management 2022-05-25 19:29:45 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 14 errata-xmlrpc 2022-08-09 17:38: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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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-2022:5997