Comment 2 for bug 2067478

Revision history for this message
Grzegorz Koper (koperg) wrote :

Hello,

It looks like prometheus_bcrypt_salt was generated before this change got merged:
https://review.opendev.org/c/openstack/kolla-ansible/+/828695

and backported to 2023.1 with:

https://github.com/stackhpc/kolla-ansible/pull/476/files

Regenerating with genpwd from latest 2023.1 will always results in 22 long salt:

>>> from ansible.utils.encrypt import random_salt
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22
>>> len(random_salt(22))
22

Closing as support request.