Advertisement
Guest User

Untitled

a guest
Feb 20th, 2016
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. root@controller:~# swift --debug -vvv stat
  2. DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
  3. INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
  4. DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1698
  5. /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.
  6. 'Providing attr without filter_value to get_urls() is '
  7. 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>
  8. DEBUG:iso8601.iso8601:Got u'2016' for 'year' with default None
  9. DEBUG:iso8601.iso8601:Got u'02' for 'monthdash' with default 1
  10. DEBUG:iso8601.iso8601:Got 2 for 'month' with default 2
  11. DEBUG:iso8601.iso8601:Got u'21' for 'daydash' with default 1
  12. DEBUG:iso8601.iso8601:Got 21 for 'day' with default 21
  13. DEBUG:iso8601.iso8601:Got u'05' for 'hour' with default None
  14. DEBUG:iso8601.iso8601:Got u'49' for 'minute' with default None
  15. DEBUG:iso8601.iso8601:Got u'52' for 'second' with default None
  16. INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
  17. DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_851eee646ea44559b004fb18f2e9d624 HTTP/1.1" 401 0
  18. INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 -I -H "X-Auth-Token: 0c02e97eb7194476b54754ff16e7460f"
  19. INFO:swiftclient:RESP STATUS: 401 Unauthorized
  20. 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')]
  21. DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
  22. INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
  23. DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1698
  24. 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>
  25. DEBUG:iso8601.iso8601:Got u'2016' for 'year' with default None
  26. DEBUG:iso8601.iso8601:Got u'02' for 'monthdash' with default 1
  27. DEBUG:iso8601.iso8601:Got 2 for 'month' with default 2
  28. DEBUG:iso8601.iso8601:Got u'21' for 'daydash' with default 1
  29. DEBUG:iso8601.iso8601:Got 21 for 'day' with default 21
  30. DEBUG:iso8601.iso8601:Got u'05' for 'hour' with default None
  31. DEBUG:iso8601.iso8601:Got u'49' for 'minute' with default None
  32. DEBUG:iso8601.iso8601:Got u'53' for 'second' with default None
  33. INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
  34. DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_851eee646ea44559b004fb18f2e9d624 HTTP/1.1" 401 0
  35. INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 -I -H "X-Auth-Token: 043a3fca3e5a4088afe9f1b5bc6a6fe9"
  36. INFO:swiftclient:RESP STATUS: 401 Unauthorized
  37. 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')]
  38. ERROR:swiftclient:Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
  39. Traceback (most recent call last):
  40. File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1390, in _retry
  41. service_token=self.service_token, **kwargs)
  42. File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 591, in head_account
  43. http_response_content=body)
  44. ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
  45. ERROR:swiftclient.service:Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
  46. Traceback (most recent call last):
  47. File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 435, in stat
  48. items, headers = get_future_result(stats_future)
  49. File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 204, in get_future_result
  50. res = f.result(timeout=timeout)
  51. File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 403, in result
  52. return self.__get_result()
  53. File "/usr/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 55, in run
  54. result = self.fn(*self.args, **self.kwargs)
  55. File "/usr/lib/python2.7/dist-packages/swiftclient/multithreading.py", line 188, in conn_fn
  56. return fn(*conn_args, **kwargs)
  57. File "/usr/lib/python2.7/dist-packages/swiftclient/command_helpers.py", line 23, in stat_account
  58. headers = conn.head_account()
  59. File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1430, in head_account
  60. return self._retry(None, head_account)
  61. File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1390, in _retry
  62. service_token=self.service_token, **kwargs)
  63. File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 591, in head_account
  64. http_response_content=body)
  65. ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
  66. Account HEAD failed: http://controller:8080/v1/AUTH_851eee646ea44559b004fb18f2e9d624 401 Unauthorized
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement