From: Dai Dang Van Date: Fri, 24 Aug 2018 09:54:06 +0000 (+0700) Subject: docs: Fixed swift client authentication fail X-Git-Tag: v14.1.0~408^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=26e10fdf295510834a86a0499fda10e444c79433;p=ceph.git docs: Fixed swift client authentication fail For now, swift client use V3 as a default, so we should pass an explicit version for this example Signed-off-by: Dai Dang Van --- diff --git a/doc/install/install-ceph-gateway.rst b/doc/install/install-ceph-gateway.rst index 92479b2800f0..bd1a76e7dd8a 100644 --- a/doc/install/install-ceph-gateway.rst +++ b/doc/install/install-ceph-gateway.rst @@ -593,7 +593,7 @@ On Debian-based distributions:: To test swift access, execute the following:: - swift -A http://{IP ADDRESS}:{port}/auth/1.0 -U testuser:swift -K '{swift_secret_key}' list + swift -V 1 -A http://{IP ADDRESS}:{port}/auth -U testuser:swift -K '{swift_secret_key}' list Replace ``{IP ADDRESS}`` with the public IP address of the gateway server and ``{swift_secret_key}`` with its value from the output of ``radosgw-admin key @@ -603,7 +603,7 @@ don't replace the port, it will default to port ``80``. For example:: - swift -A http://10.19.143.116:7480/auth/1.0 -U testuser:swift -K '244+fz2gSqoHwR3lYtSbIyomyPHf3i7rgSJrF/IA' list + swift -V 1 -A http://10.19.143.116:7480/auth -U testuser:swift -K '244+fz2gSqoHwR3lYtSbIyomyPHf3i7rgSJrF/IA' list The output should be::