From 26e10fdf295510834a86a0499fda10e444c79433 Mon Sep 17 00:00:00 2001 From: Dai Dang Van Date: Fri, 24 Aug 2018 16:54:06 +0700 Subject: [PATCH] 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 --- doc/install/install-ceph-gateway.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/install/install-ceph-gateway.rst b/doc/install/install-ceph-gateway.rst index 92479b2800f00..bd1a76e7dd8a9 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:: -- 2.39.5