← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496530] Re: debug note in error response inaccurate

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1496530

Title:
  debug note in error response inaccurate

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  If I do a GET /v3/auth/tokens with no token and keystone is configured
  with debug I get a message back saying I'm not authorized and to
  disable debug mode to suppress details:

  $ curl http://localhost:5000/v3/auth/tokens
  {"error": {"message": "The request you have made requires authentication. (Disable debug mode to suppress these details.)", "code": 401, "title": "Unauthorized"}}

  
  If I set debug=False, the message changes:

  {"error": {"message": "The request you have made requires
  authentication.", "code": 401, "title": "Unauthorized"}}

  
  No details have been suppressed. The only difference is that the note about disabling debug mode has been removed. The message shouldn't be saying to disable debug mode to suppress details when there's no details to suppress.

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


References