Bug 1455532 - Backport https://github.com/ceph/ceph/pull/14871
Summary: Backport https://github.com/ceph/ceph/pull/14871
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Distribution
Version: 2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.5
Assignee: Boris Ranto
QA Contact: Parikshith
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-25 12:19 UTC by Boris Ranto
Modified: 2022-02-21 18:03 UTC (History)
7 users (show)

Fixed In Version: RHEL: ceph-10.2.10-1.el7cp Ubuntu: ceph_10.2.10-2redhat1xenial
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-02-21 19:43:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 20077 0 None None None 2017-12-13 15:49:48 UTC
Red Hat Bugzilla 1416575 0 unspecified CLOSED [RFE] Implement fix files (restorecon/chown) function in ceph-disk 2022-02-21 18:49:52 UTC
Red Hat Product Errata RHBA-2018:0340 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.5 bug fix and enhancement update 2018-02-22 00:50:32 UTC

Internal Links: 1416575

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


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