Add Nova service password.
authorRobert Collins <rbtcollins@hp.com>
Fri, 13 Sep 2013 07:02:30 +0000 (19:02 +1200)
committerRobert Collins <rbtcollins@hp.com>
Sat, 14 Sep 2013 04:23:42 +0000 (16:23 +1200)
Another service converted to match the keystone model of unique
accounts per service.

Change-Id: I62fce289a7032138be3aca8c74df499c2b1fde28

nova-compute-instance.yaml
overcloud-source.yaml
undercloud-vm.yaml

index 3a29f01..b461d97 100644 (file)
@@ -34,6 +34,10 @@ Parameters:
     Default: ''
   NovaApiHost:
     Type: String
+  NovaPassword:
+    Default: unset
+    Description: The password for the nova service account, used by nova-api.
+    Type: String
   GlanceHost:
     Type: String
   NovaDSN:
@@ -98,6 +102,8 @@ Resources:
         compute_libvirt_type: {Ref: NovaComputeLibvirtType}
         db: {Ref: NovaDSN}
         host: {Ref: NovaApiHost}
+        service-password:
+          Ref: NovaPassword
       glance:
         host: {Ref: GlanceHost}
       keystone:
index 8800aca..2505ba2 100644 (file)
@@ -42,6 +42,10 @@ Parameters:
   NovaInterfaces:
     Default: eth0
     Type: String
+  NovaPassword:
+    Default: unset
+    Description: The password for the nova service account, used by nova-api.
+    Type: String
   PowerUserName:
     Default: stack
     Description: What username to ssh to the virtual power host with.
@@ -195,6 +199,8 @@ Resources:
             - notcompute
             - PrivateIp
         metadata-proxy: true
+        service-password:
+          Ref: NovaPassword
       neutron:
         host:
           Fn::GetAtt:
index efd3b02..7941b0d 100644 (file)
@@ -28,6 +28,10 @@ Parameters:
     Default: unset
     Description: The password for the neutron service account, used by neutron agents.
     Type: String
+  NovaPassword:
+    Default: unset
+    Description: The password for the nova service account, used by nova-api.
+    Type: String
   PowerUserName:
     Default: stack
     Description: What username to ssh to the virtual power host with.
@@ -133,6 +137,8 @@ Resources:
             key: /opt/stack/boot-stack/virtual-power-key
             ssh_host: 192.168.122.1
             type: virsh
+        service-password:
+          Ref: NovaPassword
       neutron:
         host: 127.0.0.1
         ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8