Cluster creation fails because of password complexity

Bug #1775460 reported by George
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
Unassigned

Bug Description

Hi,

I just deployed Magnum on Pike and Ubuntu 16.04, but creating a Kubernetes cluster fails with the following error:

"BadRequest: resources.kube_masters.resources[0].resources.master_wait_handle: The password does not match the requirements: Your password does not meet the requirements. Your password should have minimum length of eight and maximum of 18 characters, and contain three out of the following four: lower-case, upper-case, digits or symbols.. (HTTP 400) (Request-ID: req-e4bcb44f-938e-4237-b557-413e81ac5794)"

We have the following password complexity requirements in Keystone:
password_regex = ^(((?=.*[a-z])(?=.*[A-Z])(?=.*[\d]))|((?=.*[a-z])(?=.*[A-Z])(?=.*[\W]))|((?=.*[a-z])(?=.*[\d])(?=.*[\W]))|((?=.*[A-Z])(?=.*[\d])(?=.*[\W]))).{8,18}$

I changed in magnum.conf but with no success:
password_symbols = 23456789,ABCDEFGHJKLMNPQRSTUVWXYZ,abcdefghijkmnopqrstuvwxyz,#@!&^%()

I also changed the default password defined in "magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml" to something that's complex enough.

I'm not sure if this can be considered a bug, a miss-configuration or feature request...

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.