Change radosgw client caps to allow read-write on mon, not just read
This commit is contained in:
parent
9c97e79e91
commit
2d1b38c0d5
@ -50,7 +50,7 @@ unless File.exists?("/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}/done
|
||||
|
||||
ruby_block "create rados gateway client key" do
|
||||
block do
|
||||
keyring = %x[ ceph auth get-or-create client.radosgw.#{node['hostname']} osd 'allow rwx' mon 'allow r' --name mon. --key='#{node["ceph"]["monitor-secret"]}' ]
|
||||
keyring = %x[ ceph auth get-or-create client.radosgw.#{node['hostname']} osd 'allow rwx' mon 'allow rw' --name mon. --key='#{node["ceph"]["monitor-secret"]}' ]
|
||||
keyfile = File.new("/etc/ceph/ceph.client.radosgw.#{node['hostname']}.keyring", "w")
|
||||
keyfile.puts(keyring)
|
||||
keyfile.close
|
||||
|
Loading…
x
Reference in New Issue
Block a user