Bug 1599368 - On disable selinux environment upgrade from ceph 1.3 to ceph 2 takes a unnecessary long time (>2h for 2T)
Summary: On disable selinux environment upgrade from ceph 1.3 to ceph 2 takes a unnece...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z9
: 10.0 (Newton)
Assignee: Sofer Athlan-Guyot
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-09 15:51 UTC by Sofer Athlan-Guyot
Modified: 2018-09-17 16:57 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-5.3.10-16.el7ost
Doc Type: Enhancement
Doc Text:
With this update, parallelization of the selinux permission change enables faster upgrade of Ceph OSD.
Clone Of:
Environment:
Last Closed: 2018-09-17 16:56:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2670 0 None None None 2018-09-17 16:57:14 UTC

Description Sofer Athlan-Guyot 2018-07-09 15:51:35 UTC
Description of problem:  During an upgrade of osp9 to 10 we were stuck during the OSD node upgrade (non-controller script) in a selinux disabled env on the 

   chown ceph:ceph /var/lib/ceph/osd

We estimated that the whole process would have taken more than 2 hours at the current speed

We end up doing https://code.engineering.redhat.com/gerrit/143420 and then it tooks only 20min to upgrade the node.

143420 was just a quick fix but we should use ceph-disk fix to do that, could you look into it.

Also related : https://bugzilla.redhat.com/show_bug.cgi?id=1599359

Comment 9 Alex McLeod 2018-09-03 07:57:32 UTC
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex

Comment 11 errata-xmlrpc 2018-09-17 16:56:14 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:2670


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