From: Casey Bodley Date: Wed, 23 Mar 2016 15:11:48 +0000 (-0400) Subject: radosgw-admin: add explanation for EACCESS on 'realm pull' X-Git-Tag: v10.1.1~127^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=087de861a99d8a04ac38338bf12c2f284289c372;p=ceph.git radosgw-admin: add explanation for EACCESS on 'realm pull' References #15200 Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 6239dc603a7f8..46ed41b1c6d06 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -2746,6 +2746,11 @@ int main(int argc, char **argv) info, bl, p); if (ret < 0) { cerr << "request failed: " << cpp_strerror(-ret) << std::endl; + if (ret == -EACCES) { + cerr << "If the realm has been changed on the master zone, the " + "master zone's gateway may need to be restarted to recognize " + "this user." << std::endl; + } return ret; } RGWRealm realm;