tripleo-common/tripleo_common/utils
Michele Baldessari 39e5bec0fe Add a PacemakerRemoteAuthkey to the default passwords
This key must never be regenerated at re-deploy time, so add it to the
tripleo-common list of passwords. The length is set to 4096 bytes
as recommended here:

- http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Remote/#_mile_high_view_of_configuration_steps
  recommends a 4096 bytes key (32768 bits)

- Since we use the passlib generate_password module and it uses the
  lower/uppercase letters + numbers it provides ~5.95 bits of entropy per
  byte, in the end we will have ~24000 bits of entropy which should be
  largely sufficient.

We also make sure to test a key of that length (4096) in the unit tests.

Change-Id: I581552dfa64160e2f82f6a9b8f2ae521c3d6da8d
2017-01-19 15:51:02 +01:00
..
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
glance.py Remove unused LOG to keep code clean 2016-07-09 16:26:55 +08:00
nodes.py Do not ignore pm_port for Drac drivers 2016-11-23 15:26:35 +00:00
overcloudrc.py Move the overcloudrc generation from tripleoclient to a Mistral action 2016-11-30 11:34:15 +00:00
parameters.py Fix flavor matching for object-storage role 2016-11-28 21:52:31 +01:00
passwords.py Add a PacemakerRemoteAuthkey to the default passwords 2017-01-19 15:51:02 +01:00
tarball.py Exclude more unneeded files from default plan 2016-08-23 17:52:03 +02:00
validations.py Validate the plan name before running 2016-12-21 09:22:58 +00:00