← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334734] Re: User creation error not descriptive

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

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

Title:
  User creation error not descriptive

Status in OpenStack Dashboard (Horizon):
  Expired

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/keystone/identity/controllers.py
  by adding this line:

  def create_user(...):
      ...

      self.assert_admin(context)

      # Add this line
      raise exception.ValidationTimeStampError()

      ...

  
  2. Restart keystone service

  3a. Within CLI:
  > keystone user-create --name=example --pass=examplepass --email=example@xxxxxxxxxxx

  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

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


References