]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: warn that 'realm rename' does not update other clusters
authorCasey Bodley <cbodley@redhat.com>
Fri, 21 Apr 2017 19:04:48 +0000 (15:04 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 6 Jul 2017 18:08:18 +0000 (20:08 +0200)
Fixes: http://tracker.ceph.com/issues/19746
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8a459c768ffecd689a53a79dfe33eb8f1bbc318f)

src/rgw/rgw_admin.cc

index d1ad3467e9f181942e3e42aadbd6573a876195fc..d3211b9c54fd96b184b35c427e324968ce1b5dee 100644 (file)
@@ -3095,6 +3095,9 @@ int main(int argc, char **argv)
          cerr << "realm.rename failed: " << cpp_strerror(-ret) << std::endl;
          return -ret;
        }
+        cout << "Realm name updated. Note that this change only applies to "
+            "the current cluster, so this command must be run separately "
+            "on each of the realm's other clusters." << std::endl;
       }
       break;
     case OPT_REALM_SET: