Bug 1455532

Summary: Backport https://github.com/ceph/ceph/pull/14871
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Boris Ranto <branto>
Component: DistributionAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: Parikshith <pbyregow>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.3CC: agunn, branto, ceph-qe-bugs, hnallurv, kdreyer, tserlin, uboppana
Target Milestone: rc   
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.10-1.el7cp Ubuntu: ceph_10.2.10-2redhat1xenial Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 19:43:32 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 Boris Ranto 2017-05-25 12:19:02 UTC
Description of problem:
The PR https://github.com/ceph/ceph/pull/14871 is the last missing bit with respect to speeding up upgrades as it covers the scenario when you are upgrading from non-SELinux enabled ceph version to an SELinux enabled one and it does the SELinux relabel in parallel in this case.

Version-Release number of selected component (if applicable):
ceph 2.3

How reproducible:
Always

Steps to Reproduce:
1. Try to upgrade from 1.3 (without ceph-selinux package) to 2.x
2.
3.

Actual results:
It is very slow especially when you have a couple of OSDs on the host.

Expected results:
It is much faster in when you have a couple of OSDs as it does the relabel in parallel per OSD. (please note that it can still take a lot of time, though)

Additional info:

Comment 6 Boris Ranto 2017-12-13 10:04:09 UTC
@Drew: If we are doing a rebase to 10.2.10 in 2.5, we will get this for free in 2.5, this was already back-ported to jewel and is in the release.

Comment 7 Ken Dreyer (Red Hat) 2018-01-03 19:55:18 UTC
v10.2.10 is built for RHEL & Ubuntu -> MODIFIED

Comment 13 errata-xmlrpc 2018-02-21 19:43:32 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-2018:0340