Advertisement
Guest User

Keystone Error on Token Validation

a guest
Aug 24th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.88 KB | None | 0 0
  1. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider [req-e29cd12c-fad1-4c4c-960c-94958f320855 - - - - -] Unexpected error or malformed token determining token expiry: {'token': {'user': {'password_expires_at': None, 'name': 'admin', 'id': '6657c1fc6f65495e8f6d7bef81654e81', 'domain': {'name': 'default', 'id': 'fcfca16e5e1a4b049c26bf352af276e4'}}, 'methods': ['password'], 'project': {'name': 'admin', 'id': 'e74c6db7d8614bb78828a7edf75c8cc6', 'domain': {'name': 'default', 'id': 'fcfca16e5e1a4b049c26bf352af276e4'}}, 'expires_at': '2017-08-24T15:22:13.000000UTC+00:00', 'roles': [{'name': 'admin', 'id': '86c178b573e74d9b8afc5e9faf33dadb'}], 'audit_ids': ['D9WGl73oSW24PEjMzIadSg'], 'issued_at': '2017-08-24T14:22:13.000000Z', 'is_domain': False, 'catalog': [{'type': 'identity', 'endpoints': [{'id': '2827c65b1c5e4609beeb185dcf8bddcd', 'interface': 'public', 'region_id': 'One', 'region': 'One', 'url': 'http://keystone:5000/v3'}, {'id': '75abc1c4bab043b1aa07a02cd2c21ba2', 'interface': 'internal', 'region_id': 'One', 'region': 'One', 'url': 'http://keystone:5000/v3'}, {'id': '5defad5072f14565a13b185d0c2b4f7f', 'interface': 'admin', 'region_id': 'One', 'region': 'One', 'url': 'http://keystone:35357/v3'}], 'name': 'keystone', 'id': '0c09d3c351c0461396e35df22b1275a6'}]}}: ValueError: Unable to parse date string '2017-08-24T15:22:13.000000UTC+00:00'
  2. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider Traceback (most recent call last):
  3. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider   File "/usr/local/lib/python3.5/site-packages/oslo_utils/timeutils.py", line 65, in parse_isotime
  4. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider     return iso8601.parse_date(timestr)
  5. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider   File "/usr/local/lib/python3.5/site-packages/iso8601/iso8601.py", line 195, in parse_date
  6. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider     raise ParseError("Unable to parse date string %r" % datestring)
  7. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider iso8601.iso8601.ParseError: Unable to parse date string '2017-08-24T15:22:13.000000UTC+00:00'
  8. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider
  9. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider During handling of the above exception, another exception occurred:
  10. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider
  11. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider Traceback (most recent call last):
  12. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider   File "/usr/local/lib/python3.5/site-packages/keystone/token/provider.py", line 197, in _is_valid_token
  13. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider     expiry = timeutils.parse_isotime(expires_at)
  14. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider   File "/usr/local/lib/python3.5/site-packages/oslo_utils/timeutils.py", line 67, in parse_isotime
  15. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider     raise ValueError(six.text_type(e))
  16. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider ValueError: Unable to parse date string '2017-08-24T15:22:13.000000UTC+00:00'
  17. 2017-08-24 14:58:26.771 114 ERROR keystone.token.provider
  18. 2017-08-24 14:58:26.772 114 INFO keystone.middleware.auth [req-e29cd12c-fad1-4c4c-960c-94958f320855 - - - - -] Invalid user token
  19. 2017-08-24 14:58:26.773 114 INFO keystone.common.wsgi [req-3ccdad69-5b79-434d-bdb1-381a29aa5668 - - - - -] GET http://127.0.0.1:5000/v3/services
  20. 2017-08-24 14:58:26.773 114 WARNING keystone.common.wsgi [req-3ccdad69-5b79-434d-bdb1-381a29aa5668 - - - - -] Authorization failed. The request you have made requires authentication. from 172.17.0.1: keystone.exception.Unauthorized: The request you have made requires authentication.
  21. [pid: 114|app: 0|req: 4/4] 172.17.0.1 () {40 vars in 712 bytes} [Thu Aug 24 14:58:26 2017] GET /v3/services => generated 114 bytes in 62 msecs (HTTP/1.1 401) 5 headers in 224 bytes (1 switches on core 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement