Password requirement check on user create / change incomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Undecided
|
Walter |
Bug Description
Version: OpenStack Horizon stable/ussri (18.3.2-
** Action **
When doing:
- create user, or
- change password
using a password that does not meet the keystone requirements.
** Expected behaviour **
- Horizon interface should print error with "password_
- Input field should not be closed, but left open, so user can fix the problem.
- Error logs should report the original warning.
** Actual behaviour **
- If there is a line feed in the description, the regex_description is not parsed (uses re.MULTILINE instead of re.DOTALL).
- The edit-window is closed instead of left open for editing (missing "return False").
- The log message is eaten by ignore=True, making it harder to debugging problems.
- The create-user window simply reported "Error: Unable to create user." without any further info, closing the edit-window.
** Related bugs **
- #1838003 - "Horizon hides password requirements"
** Fixes **
- https:/
Cheers,
Walter Doekes
OSSO B.V.
Fix proposed to branch: master /review. opendev. org/760302
Review: https:/