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 <tnielsen@redhat.com>
This commit is contained in:
1 parent
9654e51db1
commit
69fba00f6b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user