3. 이제 마지막으로 –debug 옵션을 추가해 Swift 계정 정보를 확인합니다. 정상적으로 인증되면서 Account, Containers, Objects 정보를 확인할 수 있습니다.
root@controller:~# swift –debug stat DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://192.168.56.101:35357/v3/auth/tokens INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.56.101 DEBUG:requests.packages.urllib3.connectionpool:“POST /v3/auth/tokens HTTP/1.1” 201 8547 INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.56.101 DEBUG:requests.packages.urllib3.connectionpool:“HEAD /v1/AUTH_5951307446914a7981 b3faedf6471c72 HTTP/1.1” 204 0 DEBUG:swiftclient:REQ: curl -i http://192.168.56.101:8080/v1/AUTH_5951307446914a 7981b3faedf6471c72 -I -H “X-Auth-Token: gAAAAABXheh17yjgsHYc9WRt1sm1by0SgaZ4mu1y 6GshJTP3UMxtXGwxwCB5woGtLXHnam6-H3h53LjHruQYB3052PmmRm5onekSbnXFRwBzVCOxTlKxdeAi bSnm9SKscSI3IDAqaFLCPxasYPg7cQ3ethkeKaCXmfmnzexBKeZBnAbUFaQk4Dk” DEBUG:swiftclient:RESP STATUS: 204 No Content DEBUG:swiftclient:RESP HEADERS: {u’Content-Length’: u’0’, u’X-Put-Timestamp’: u’1468393590.36451’, u’X-Account-Object-Count’: u’0’, u’X-Timestamp’: u’1468393590.36451’, u’X-Trans-Id’: u’tx2ff340ce9adf4520805e8-005785e875’, u’Date’: u’Wed, 13 Jul 2016 07:06:30 GMT’, u’X-Account-Bytes-Used’: u’0’, u’X- Account-Container-Count’: u’0’, u’Content-Type’: u’text/plain; charset=utf-8’} Account: AUTH_5951307446914a7981b3faedf6471c72 Containers: 0 Objects: 0 Bytes: 0 X-Put-Timestamp: 1468393590.36451 X-Timestamp: 1468393590.36451 X-Trans-Id: tx2ff340ce9adf4520805e8-005785e875 Content-Type: text/plain; charset=utf-8