Make admin-password configurable.
authorRobert Collins <rbtcollins@hp.com>
Thu, 12 Sep 2013 20:23:17 +0000 (08:23 +1200)
committerClint Byrum <clint@fewbar.com>
Fri, 13 Sep 2013 01:10:28 +0000 (18:10 -0700)
We use the admin password in in-instance scripts that configure e.g.
nagios from the cloud metadata, but production clouds will all have
unique passwords - it has to be a parameter.

Change-Id: I1f6c697ce27580fd669c7623e7fcea4c96ec62d0

overcloud-source.yaml
undercloud-vm.yaml

index 552f114..c20f81f 100644 (file)
@@ -2,6 +2,10 @@ Description: Nova API,Keystone,Heat Engine and API,Glance,Neutron,Dedicated MySQ
   server,Dedicated RabbitMQ Server,Group of Nova Computes
 HeatTemplateFormatVersion: '2012-12-12'
 Parameters:
+  AdminPassword:
+    Default: unset
+    Description: The password for the keystone admin account, used for monitoring, querying neutron etc.
+    Type: String
   AdminToken:
     Default: unset
     Description: The keystone auth secret.
@@ -100,7 +104,8 @@ Resources:
       - heat-cfntools
       - heat-localip
       - neutron-network-node
-      admin-password: unset
+      admin-password:
+        Ref: AdminPassword
       admin-token:
         Ref: AdminToken
       cinder:
index 45a5386..d2b4a4e 100644 (file)
@@ -1,6 +1,10 @@
 escription: All-in-one baremetal OpenStack and all dependencies.
 HeatTemplateFormatVersion: '2012-12-12'
 Parameters:
+  AdminPassword:
+    Default: unset
+    Description: The password for the keystone admin account, used for monitoring, querying neutron etc.
+    Type: String
   AdminToken:
     Default: unset
     Description: The keystone auth secret.
@@ -44,7 +48,8 @@ Resources:
     Metadata:
       OpenStack::Heat::Stack: {}
       Openstack::ImageBuilder::Elements: [ boot-stack, heat-cfntools, neutron-network-node ]
-      admin-password: unset
+      admin-password:
+        Ref: AdminPassword
       admin-token:
         Ref: AdminToken
       controller-address: