Merge pull request #3385 from bk201/wip-3384

Ceph: fix error when creating monmap in Octopus
This commit is contained in:
Sébastien Han
2019-07-04 11:12:52 +02:00
committed by GitHub
+8 -8
View File
@@ -30,14 +30,14 @@ const (
// AdminKeyringTemplate is a string template of Ceph keyring settings which allow connection
// as admin. The key value must be filled in by the admin auth key for the cluster.
AdminKeyringTemplate = `
[client.admin]
key = %s
auid = 0
caps mds = "allow *"
caps mon = "allow *"
caps osd = "allow *"
caps mgr = "allow *"
`
[client.admin]
key = %s
auid = 0
caps mds = "allow *"
caps mon = "allow *"
caps osd = "allow *"
caps mgr = "allow *"
`
)
// AdminKeyring returns the filled-out admin keyring