Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller:~# swift --debug -vvv stat
- DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
- INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1698
- /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py:196: UserWarning: Providing attr without filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. Either both should be provided or neither should be provided.
- 'Providing attr without filter_value to get_urls() is '
- DEBUG:iso8601.iso8601:Parsed 2016-02-21T05:49:52.450603Z into {'tz_sign': None, 'second_fraction': u'450603', 'hour': u'05', 'daydash': u'21', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'52', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'49'} with default timezone <iso8601.iso8601.Utc object at 0x7fe8326dd950>
- DEBUG:iso8601.iso8601:Got u'2016' for 'year' with default None
- DEBUG:iso8601.iso8601:Got u'02' for 'monthdash' with default 1
- DEBUG:iso8601.iso8601:Got 2 for 'month' with default 2
- DEBUG:iso8601.iso8601:Got u'21' for 'daydash' with default 1
- DEBUG:iso8601.iso8601:Got 21 for 'day' with default 21
- DEBUG:iso8601.iso8601:Got u'05' for 'hour' with default None
- DEBUG:iso8601.iso8601:Got u'49' for 'minute' with default None
- DEBUG:iso8601.iso8601:Got u'52' for 'second' with default None
- INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_851eee646ea44559b004fb18f2e9d624 HTTP/1.1" 401 0
- INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 -I -H "X-Auth-Token: 0c02e97eb7194476b54754ff16e7460f"
- INFO:swiftclient:RESP STATUS: 401 Unauthorized
- INFO:swiftclient:RESP HEADERS: [('Date', 'Sun, 21 Feb 2016 04:49:52 GMT'), ('Content-Length', '0'), ('Content-Type', 'text/html; charset=UTF-8'), ('Www-Authenticate', 'Swift realm="AUTH_851eee646ea44559b004fb18f2e9d624"'), ('X-Trans-Id', 'tx04486a8c126d4e5ebe4ce-0056c941f0')]
- DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
- INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1698
- DEBUG:iso8601.iso8601:Parsed 2016-02-21T05:49:53.633615Z into {'tz_sign': None, 'second_fraction': u'633615', 'hour': u'05', 'daydash': u'21', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'53', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'49'} with default timezone <iso8601.iso8601.Utc object at 0x7fe8326dd950>
- DEBUG:iso8601.iso8601:Got u'2016' for 'year' with default None
- DEBUG:iso8601.iso8601:Got u'02' for 'monthdash' with default 1
- DEBUG:iso8601.iso8601:Got 2 for 'month' with default 2
- DEBUG:iso8601.iso8601:Got u'21' for 'daydash' with default 1
- DEBUG:iso8601.iso8601:Got 21 for 'day' with default 21
- DEBUG:iso8601.iso8601:Got u'05' for 'hour' with default None
- DEBUG:iso8601.iso8601:Got u'49' for 'minute' with default None
- DEBUG:iso8601.iso8601:Got u'53' for 'second' with default None
- INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_851eee646ea44559b004fb18f2e9d624 HTTP/1.1" 401 0
- INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 -I -H "X-Auth-Token: 043a3fca3e5a4088afe9f1b5bc6a6fe9"
- INFO:swiftclient:RESP STATUS: 401 Unauthorized
- INFO:swiftclient:RESP HEADERS: [('Date', 'Sun, 21 Feb 2016 04:49:53 GMT'), ('Content-Length', '0'), ('Content-Type', 'text/html; charset=UTF-8'), ('Www-Authenticate', 'Swift realm="AUTH_851eee646ea44559b004fb18f2e9d624"'), ('X-Trans-Id', 'tx5958ffd2bbee4795b86fa-0056c941f1')]
- ERROR:swiftclient:Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1390, in _retry
- service_token=self.service_token, **kwargs)
- File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 591, in head_account
- http_response_content=body)
- ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
- ERROR:swiftclient.service:Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 435, in stat
- items, headers = get_future_result(stats_future)
- File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 204, in get_future_result
- res = f.result(timeout=timeout)
- File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 403, in result
- return self.__get_result()
- File "/usr/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/lib/python2.7/dist-packages/swiftclient/multithreading.py", line 188, in conn_fn
- return fn(*conn_args, **kwargs)
- File "/usr/lib/python2.7/dist-packages/swiftclient/command_helpers.py", line 23, in stat_account
- headers = conn.head_account()
- File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1430, in head_account
- return self._retry(None, head_account)
- File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1390, in _retry
- service_token=self.service_token, **kwargs)
- File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 591, in head_account
- http_response_content=body)
- ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
- Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement