From 6db6fe5bbdd3fd1c712c0b68b8866a79ddf0d153 Mon Sep 17 00:00:00 2001 From: Delfino Curado Date: Wed, 15 Sep 2021 12:05:18 -0400 Subject: [PATCH] Change ceph-mon configuration Disabling by default the warnings related to monitors allowing insecure global_id reclaim as well as defining "auth allow insecure global id reclaim" to true by default to all monitors. The main goal here is to enable a mixed set of ceph versions. A next step is to enable through service parameters to the user to mix non-compliant ceph clients installed by other application. Gdisk was added again as this is necessary for StarlingX Test plan: PASS: Build successfully PASS: Install on AIO-SX, AIO-DX, Standard and Storage configs successfully and without alarms (fm alarm-list) or ceph warnings (ceph -s). PASS: platform-integ-apps is applied successfully Story: 2009074 Task: 43464 Signed-off-by: Delfino Curado Change-Id: I5f3e432444b60ab73136431bb94bb6ab532ae0ab --- ceph/ceph/centos/ceph.spec | 2 +- ceph/ceph/files/ceph.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ceph/ceph/centos/ceph.spec b/ceph/ceph/centos/ceph.spec index 842865e46..7bce0255f 100644 --- a/ceph/ceph/centos/ceph.spec +++ b/ceph/ceph/centos/ceph.spec @@ -596,6 +596,7 @@ Requires: util-linux Requires: xfsprogs Requires: which %if 0%{?fedora} || 0%{?rhel} +Requires: gdisk # The following is necessary due to tracker 36508 and can be removed once the # associated upstream bugs are resolved. %if 0%{with tcmalloc} @@ -1468,7 +1469,6 @@ CMAKE=cmake3 %else CMAKE=cmake %endif - ${CMAKE} .. \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/ceph/ceph/files/ceph.conf b/ceph/ceph/files/ceph.conf index 29e0711ea..2bc42642f 100644 --- a/ceph/ceph/files/ceph.conf +++ b/ceph/ceph/files/ceph.conf @@ -56,3 +56,6 @@ mon pg warn max per osd = 2048 mon pg warn max object skew = 0 mgr initial modules = restful + mon warn on insecure global id reclaim = false + mon warn on insecure global id reclaim allowed = false + auth allow insecure global id reclaim = true