Merge pull request #107 from jbw976/crushtool-path-clear

Set crushtool path to empty in the config so that crushtool will not …
This commit is contained in:
jbw976 authored and GitHub committed 2016-10-24 13:04:04 -07:00
commit cde16f6077
1 file changed
+2
+2
View File
@@ -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: "",
},
}
}