← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1715684] Re: password_regex option in keystone.conf not working

 

Since it was a containerized deployment, the keystone.conf file had to
be changed in a different location. Works as expected. Hence marking the
bug as invalid.

(overcloud) [heat-admin@controller-0 ~]$ openstack user create --project members --password-prompt user3
User Password:abcd
Repeat User Password:abcd
The password does not match the requirements: None. (HTTP 400) (Request-ID: req-8ee9bf87-76ef-4788-b6af-5dbba53e43a8)


** Changed in: tripleo
       Status: New => Invalid

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

Title:
  password_regex option in keystone.conf not working

Status in OpenStack Identity (keystone):
  Invalid
Status in tripleo:
  Invalid

Bug description:
  Set password_regex to the pattern below (Note that this pattern is
  from the note section in keystone.conf above 'password_regex' -
  pattern for at least 1 letter, 1 digit, and have a minimum length of 7
  characters)

  ******************
  STEPS TO REPRODUCE
  *******************
  $ sudo grep "password_regex" /etc/keystone/keystone.conf
  password_regex = ^(?=.*\d)(?=.*[a-zA-Z]).{7,}$

  2) Restart httpd
  $ sudo service httpd restart

  3) $ openstack user create --password-prompt panbalag
  User Password:a
  Repeat User Password:a
  +----------+----------------------------------+
  | Field    | Value                            |
  +----------+----------------------------------+
  | email    | None                             |
  | enabled  | True                             |
  | id       | 12665ec14f73478fa7acc74271f119bd |
  | name     | panbalag                         |
  | options  | {}                               |
  | username | panbalag                         |
  +----------+----------------------------------+

  4) Step 3 must have returned an error message since password does not
  match the requirements defined in password_regex

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


References