User creation error not descriptive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When the creation of a user fails by some exceptions within Keystone, the error message given by Horizon is "Error: Unable to create user." The error message within Keystone CLI shows detailed description of error.
To replicate:
1. Raise an exception within keystone/
def create_user(...):
...
self.
# Add this line
raise exception.
...
2. Restart keystone service
3a. Within CLI:
> keystone user-create --name=example --pass=examplepass --<email address hidden>
Output:
> Timestamp not in expected format. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400)
3b. Within Horizon:
Create user with same information as CLI (add to any project and role)
Output:
Error: Unable to create user
Changed in horizon: | |
assignee: | nobody → Ryan Rossiter (rlrossit) |
status: | New → In Progress |
Changed in horizon: | |
status: | In Progress → New |
assignee: | Ryan Rossiter (rlrossit) → nobody |
Fix proposed to branch: master /review. openstack. org/105232
Review: https:/