← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1179425] Re: Keystone Cannot Translate the REST API message returned from exception.py

 

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

** Changed in: keystone
    Milestone: None => havana-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/1179425

Title:
  Keystone Cannot Translate the REST API message returned from
  exception.py

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  The doc string in exception.py of Keystone will be returned with
  __doc__ method, but cannot realize the internationalization.

  /v2.0/tokens
  {
      "error": {
          "message": "Expecting to find username or userId in passwordCredentials. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.",
          "code": 400,
          "title": "Bad Request"
      }
  }
  {
      "error": {
          "message": "The request you have made requires authentication.",
          "code": 401,
          "title": "Not Authorized"
      }
  }
  {
      "error": {
          "message": "Invalid user / password",
          "code": 401,
          "title": "Not Authorized"
      }
  }
  The message in error which should be translated is returned from the doc string in excetpion.py of Keystone.

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