← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1452955] [NEW] Client does not catch exceptions when making a token authentication request

 

Public bug reported:

keystoneclient.auth.identity.v3.token.TokenMethod does a session.post()
without catching exceptions.

In my case, I had a misconfigured DNS which meant that this post() never
succeeded, however the error that ends up going back to Horizon is a
simplified:

"Login failed: An error occurred authenticating. Please try again
later."

which makes no mention of the underlying cause, nor do the keystone
logs. This caused me an enormous amount of wasted time debugging, the
error could certainly be improved here!

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Client does not catch exceptions when making a token authentication
  request

Status in OpenStack Identity (Keystone):
  New

Bug description:
  keystoneclient.auth.identity.v3.token.TokenMethod does a
  session.post() without catching exceptions.

  In my case, I had a misconfigured DNS which meant that this post()
  never succeeded, however the error that ends up going back to Horizon
  is a simplified:

  "Login failed: An error occurred authenticating. Please try again
  later."

  which makes no mention of the underlying cause, nor do the keystone
  logs. This caused me an enormous amount of wasted time debugging, the
  error could certainly be improved here!

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


Follow ups

References