← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1487960] Re: ValueError when creating a user

 

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

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

Title:
  ValueError when creating a user

Status in Keystone:
  Fix Released

Bug description:
  The keystone.conf gives no guidelines as to the minimum and maximum
  values of crypt_strength in keystone.conf.  If set too high or low,
  the user creation will fail.  The min, max is defined in
  https://pythonhosted.org/passlib/lib/passlib.hash.sha512_crypt.html,
  but this info is not indicated in keystone.

  To recreate:
  - install devstack (I ran keystone without mod_wsgi in my case, don't think its relevant though)
  - change crypt_strength value to 500 in keystone.conf
  - login to horizon
  - click on Identity -> Users
  - click Create User
  - enter any values you want for the new user
  - Notice the creation of the user fails.  The keystone log contains the following ValueError.  http://paste.openstack.org/show/425692/

  I believe similar errors would occur when setting admin_port,
  public_port, and pydev-debug-port outside the range of 1-65535

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


References