"Malformed request url" error for project ID mismatch is confusing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rick Harris |
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:
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.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Mauro Sergio Martins Rodrigues (maurosr) |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
The message was introduced by bug #904072
I agree it does not give enough information and is misleading
I've created this FAQ: https:/ /answers. launchpad. net/nova/ +faq/2004