[pve-devel] [PATCH manager 1/2] 5to6: check for ceph global keyring config

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Jul 4 10:55:48 CEST 2019


which causes issues after upgrading to Nautilus.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/CLI/pve5to6.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/PVE/CLI/pve5to6.pm b/PVE/CLI/pve5to6.pm
index 48377a7f..60e57e49 100644
--- a/PVE/CLI/pve5to6.pm
+++ b/PVE/CLI/pve5to6.pm
@@ -454,6 +454,13 @@ sub check_ceph {
 	} else {
 	    log_pass("ms_bind_ipv6 not enabled");
 	}
+
+	if (defined($global->{keyring})) {
+	    log_warn("[global] config section contains 'keyring' option, which will prevent services from starting with Nautilus.\n Move 'keyring' option to [client] section instead.");
+	} else {
+	    log_pass("no 'keyring' option in [global] section found.");
+	}
+
     } else {
 	log_warn("Empty ceph config found");
     }
-- 
2.20.1





More information about the pve-devel mailing list