From e0f68e82353e14e9f102bab33c8f11c2896bb723 Mon Sep 17 00:00:00 2001 From: Jared Watts Date: Mon, 24 Oct 2016 12:28:49 -0700 Subject: [PATCH] Set crushtool path to empty in the config so that crushtool will not be invoked --- pkg/cephmgr/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cephmgr/config.go b/pkg/cephmgr/config.go index 72d3cd0f2..f0177cbd1 100644 --- a/pkg/cephmgr/config.go +++ b/pkg/cephmgr/config.go @@ -43,6 +43,7 @@ type cephGlobalConfig struct { OsdMaxObjectNamespaceLen int `ini:"osd max object namespace len,omitempty"` OsdObjectStore string `ini:"osd objectstore"` RbdDefaultFeatures int `ini:"rbd_default_features,omitempty"` + CrushtoolPath string `ini:"crushtool"` } func ConnectToClusterAsAdmin(context *clusterd.Context, factory client.ConnectionFactory, cluster *ClusterInfo) (client.Connection, error) { @@ -181,6 +182,7 @@ func createDefaultCephConfig(cluster *ClusterInfo, runDir string, bluestore bool OsdPoolDefaultPgpNum: 100, OsdObjectStore: store, RbdDefaultFeatures: 3, + CrushtoolPath: "", }, } }