Signed-off-by: Casey Bodley <cbodley@redhat.com>
config option. Previously, they would ignore invalid or missing realms and
go on to load a zone/zonegroup in a different realm. If startup fails with
a "failed to load realm" error, fix or remove the ``rgw_realm`` option.
+* rgw: The radosgw-admin commands ``realm create`` and ``realm pull`` no
+ longer set the default realm without ``--default``.
* CephFS: Running the command "ceph fs authorize" for an existing entity now
upgrades the entity's capabilities instead of printing an error. It can now
also change read/write permissions in a capability that the entity already
return r;
}
- // try to set as default. may race with another create, so pass exclusive=true
- // so we don't override an existing default
- r = set_default_realm(dpp, y, cfgstore, info, true);
- if (r < 0 && r != -EEXIST) {
- ldpp_dout(dpp, 0) << "WARNING: failed to set realm as default: "
- << cpp_strerror(r) << dendl;
- }
-
if (writer_out) {
*writer_out = std::move(writer);
}