]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: prefer secure mode between monitors
authorSage Weil <sage@redhat.com>
Fri, 19 Jul 2019 18:10:21 +0000 (13:10 -0500)
committerSage Weil <sage@redhat.com>
Fri, 19 Jul 2019 18:10:21 +0000 (13:10 -0500)
We still allow crc here in order to facilitate upgrades.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a39273b79430cc0683b29fb7550cdbf18c760d98)

# Conflicts:
# src/common/options.cc
 - the STARTUP flag was already backported

src/common/options.cc

index 9c79197cf93d63e1902665dec9dc9bc90cf652ad..a3e634d8c71cd98f5d8f89db8c29282c36f75fad 100644 (file)
@@ -905,7 +905,7 @@ std::vector<Option> get_global_options() {
     .add_see_also("ms_type"),
 
     Option("ms_mon_cluster_mode", Option::TYPE_STR, Option::LEVEL_BASIC)
-    .set_default("crc")
+    .set_default("secure crc")
     .set_flag(Option::FLAG_STARTUP)
     .set_description("Connection modes (crc, secure) for intra-mon connections in order of preference")
     .add_see_also("ms_mon_service_mode")