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

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  "Malformed request url" error for project ID mismatch is confusing

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Scenario: With Keystone authentication, request for a resource in Nova
  for a tenant that is not mapped to the given token:

  Curl Request: 
  rohit@devhost:~/dev/tempest_ci_env/tempest/etc$ curl -H "X-Auth-Token: 
1234567890" http://127.0.0.1:8774/v1.1/2/images

  Response: {"badRequest": {"message": "Malformed request url", "code":
  400}}

  Expected error message, something like: {"badRequest": {"message": 
"Unauthorized tenant for token <token_id>", "code": 400}}
  Actual Error Message: {"badRequest": {"message": "Malformed request url", 
"code": 400}}

  The message "Malformed request URL" mis-guides the user to check his
  URL string, which is correct in this case. The only thing that is
  wrong is either the supplied token for the tenant, or the tenant ID
  passed in the URL for the given token.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/915151/+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