** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => liberty-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1472987

Title:
  helpless exception message

Status in Keystone:
  Fix Released

Bug description:
  When there is an invalid token in use,  keystone will throw
  exception.UnsupportedTokenVersionException, currently, there is no
  useful information provided and user don't know what's happened, see
  the following error message.

  CLI,
  /usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:64: 
DeprecationWarning: The keystone CLI is deprecated in favor of 
python-openstackclient. For a Python library, continue using 
python-keystoneclient.
    'python-keystoneclient.', DeprecationWarning)
  An unexpected error prevented the server from fulfilling your request:  
(Disable debug mode to suppress these details.) (HTTP 500) (Request-ID: 
req-b116d6e4-336a-48d0-9a00-939249ac5b1a)

  keystone.log,
  2015-07-09 17:19:27.034038 14283 ERROR keystone.common.wsgi [-]
  2015-07-09 17:19:27.034047 14283 TRACE keystone.common.wsgi Traceback (most 
recent call last):
  2015-07-09 17:19:27.034049 14283 TRACE keystone.common.wsgi   File 
"/opt/stack/keystone/keystone/common/wsgi.py", line 463, in __call__
  2015-07-09 17:19:27.034051 14283 TRACE keystone.common.wsgi     response = 
self.process_request(request)
  2015-07-09 17:19:27.034053 14283 TRACE keystone.common.wsgi   File 
"/opt/stack/keystone/keystone/middleware/core.py", line 209, in process_request
  2015-07-09 17:19:27.034055 14283 TRACE keystone.common.wsgi     auth_context 
= self._build_auth_context(request)
  2015-07-09 17:19:27.034057 14283 TRACE keystone.common.wsgi   File 
"/opt/stack/keystone/keystone/middleware/core.py", line 189, in 
_build_auth_context
  2015-07-09 17:19:27.034059 14283 TRACE keystone.common.wsgi     
token_data=self.token_provider_api.validate_token(token_id))
  2015-07-09 17:19:27.034061 14283 TRACE keystone.common.wsgi   File 
"/opt/stack/keystone/keystone/models/token_model.py", line 59, in __init__
  2015-07-09 17:19:27.034063 14283 TRACE keystone.common.wsgi     raise 
exception.UnsupportedTokenVersionException()
  2015-07-09 17:19:27.034065 14283 TRACE keystone.common.wsgi 
UnsupportedTokenVersionException
  2015-07-09 17:19:27.034067 14283 TRACE keystone.common.wsgi

  We can provide some information to end user, so the user knows what's
  happened and going to fix it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1472987/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to