Remove extra list
authorJames Slagle <jslagle@redhat.com>
Thu, 17 Jul 2014 15:13:34 +0000 (11:13 -0400)
committerJames Slagle <jslagle@redhat.com>
Thu, 17 Jul 2014 15:13:34 +0000 (11:13 -0400)
We are using "ctlplane" as the first parameter to Fn::Select here, so
the second parameter must be a map, not a list. Fixes the following
error:

ERROR: Property error : BlockStorage0Deployment: input_values Index to
"Fn::Select" must be an integer

Change-Id: I34153543f8c3152df449e1b42e1f76a78a7d6ba3

block-storage.yaml

index 16363b5..55a629a 100644 (file)
@@ -30,7 +30,7 @@ Resources:
       input_values:
         controller_host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
         cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] } , '/cinder']]}
-        neutron_local_ip: {"Fn::Select": [0, "Fn::Select": [ctlplane, [{"Fn::GetAtt": [BlockStorage0 , networks]}]]]}
+        neutron_local_ip: {"Fn::Select": [0, "Fn::Select": [ctlplane, {"Fn::GetAtt": [BlockStorage0 , networks]}]]}
   BlockStorageConfig:
     Type: OS::Heat::StructuredConfig
     Properties: