From 69fba00f6be83e99159ca290df3fe615e9680f4f Mon Sep 17 00:00:00 2001 From: travisn Date: Fri, 5 Oct 2018 16:16:15 -0600 Subject: [PATCH] remove --set-uid option from ceph-authtool calls Newer versions of ceph have deprecated this option, and the commands will fail if you try to pass it in. Signed-off-by: travisn --- pkg/operator/ceph/cluster/mon/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/cluster/mon/util.go b/pkg/operator/ceph/cluster/mon/util.go index bb7f587b1..6f887cd39 100644 --- a/pkg/operator/ceph/cluster/mon/util.go +++ b/pkg/operator/ceph/cluster/mon/util.go @@ -210,7 +210,7 @@ func createNamedClusterInfo(context *clusterd.Context, clusterName string) (*cep } // generate the admin secret if one was not provided at the command line - args := []string{"--set-uid=0", "--cap", "mon", "'allow *'", "--cap", "osd", "'allow *'", "--cap", "mgr", "'allow *'", "--cap", "mds", "'allow'"} + args := []string{"--cap", "mon", "'allow *'", "--cap", "osd", "'allow *'", "--cap", "mgr", "'allow *'", "--cap", "mds", "'allow'"} adminSecret, err := genSecret(context.Executor, dir, client.AdminUsername, args) if err != nil { return nil, err