aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--notcompute.yaml4
-rw-r--r--overcloud-source.yaml14
-rw-r--r--undercloud-source.yaml14
3 files changed, 32 insertions, 0 deletions
diff --git a/notcompute.yaml b/notcompute.yaml
index b097dd02..2d3301fb 100644
--- a/notcompute.yaml
+++ b/notcompute.yaml
@@ -191,6 +191,10 @@ Resources:
Ref: RabbitUserName
password:
Ref: RabbitPassword
+ cookie:
+ Fn::GetAtt:
+ - RabbitCookie
+ - value
service-password:
Ref: ServicePassword
Properties:
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 6d21a4dc..fa626aa2 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -124,7 +124,17 @@ Parameters:
Description: The password for RabbitMQ
Type: String
NoEcho: true
+ RabbitCookieSalt:
+ Type: String
+ Default: unset
+ Description: Salt for the rabbit cookie, change this to force the randomly generated rabbit cookie to change.
Resources:
+ RabbitCookie:
+ Type: OS::Heat::RandomString
+ Properties:
+ length: 20
+ salt:
+ Ref: RabbitCookieSalt
AccessPolicy:
Properties:
AllowedResources:
@@ -435,6 +445,10 @@ Resources:
Ref: RabbitUserName
password:
Ref: RabbitPassword
+ cookie:
+ Fn::GetAtt:
+ - RabbitCookie
+ - value
ntp:
servers:
- {server: {Ref: NtpServer}, fudge: "stratum 0"}
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index efce1e87..97a05ed9 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -55,7 +55,17 @@ Parameters:
Description: The password for RabbitMQ
Type: String
NoEcho: true
+ RabbitCookieSalt:
+ Type: String
+ Default: unset
+ Description: Salt for the rabbit cookie, change this to force the randomly generated rabbit cookie to change.
Resources:
+ RabbitCookie:
+ Type: OS::Heat::RandomString
+ Properties:
+ length: 20
+ salt:
+ Ref: RabbitCookieSalt
AccessPolicy:
Properties:
AllowedResources:
@@ -191,6 +201,10 @@ Resources:
Ref: RabbitUserName
password:
Ref: RabbitPassword
+ cookie:
+ Fn::GetAtt:
+ - RabbitCookie
+ - value
undercloud:
Type: OS::Nova::Server
Properties: