Description of problem: as part of an upgrade of OSP9 to OSP10 we upgraded ceph from 1.3 to ~2. During the upgrade of the osd we have found that it took 3h to upgrade. The whole process was stuck on the upgrade of ceph-selinux. It was running restorecon on the top level directory (~/var/lib/ceph/osd/) which: - adjusted the selinux; - I think was adjust chown permission (from root to ceph) This is completely unnecessary as ceph-disk fix does this faster by spawning more process. The package post script should use that tool. In the end we end up disabling selinux (selinux=disable+reboot) to be able to upgrade ceph-selinux and run one chown for each osd disk (~18 chown in // per server) and the process went down from 3h to ... 20min (all included). We had more that 10 nodes to upgrade ... so 10*3h became 10*20min ... please, fix the install post script.
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:3689