Skip to content

Commit

Permalink
SM-HEAT: changed length of heat encryption key
Browse files Browse the repository at this point in the history
Closes-bug: #1583552

With new changes in puppet heat_encrypton_key needs to be minimum of 16
instead of 12.

Change-Id: I364041e1a9965d58e002a934489f7791f3010c15
  • Loading branch information
Dheeraj Gautam committed May 19, 2016
1 parent 55f6ba7 commit 284fe5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server_mgr_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5051,7 +5051,7 @@ def generate_passwords(self, params):
#Do we need the below
self._plug_service_passwords(openstack_params, "heat",
"encryption_key",
self.random_string(12))
self.random_string(16))

else:
#old params
Expand All @@ -5060,7 +5060,7 @@ def generate_passwords(self, params):
params["mysql_service_password"] = params.get("mysql_service_password", self.random_string(12))
params["keystone_password"] = params.get("keystone_password", self.random_string(12))
params["keystone_admin_token"] = params.get("keystone_admin_token", self.random_string(12))
params["heat_encryption_key"] = params.get("heat_encryption_key", self.random_string(12))
params["heat_encryption_key"] = params.get("heat_encryption_key", self.random_string(16))

# End class VncServerManager()

Expand Down

0 comments on commit 284fe5e

Please sign in to comment.