]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: warn that 'realm rename' does not update other clusters 14722/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 21 Apr 2017 19:04:48 +0000 (15:04 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 21 Apr 2017 19:08:08 +0000 (15:08 -0400)
Fixes: http://tracker.ceph.com/issues/19746
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc

index 23473bc1259ada0ae39372d94bd2f8ecdf6ae9f1..46a9d3f933c837f5d300c5ac5480019c27a837fe 100644 (file)
@@ -3286,6 +3286,9 @@ int main(int argc, const 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: