Update PrivateIp to first_private_address.
authorJames Slagle <jslagle@redhat.com>
Mon, 16 Sep 2013 20:27:59 +0000 (13:27 -0700)
committerJames Slagle <jslagle@redhat.com>
Mon, 16 Sep 2013 20:31:31 +0000 (13:31 -0700)
Update the PrivateIp attribute to first_private_address as a result of
the change to the OS::Nova::Server type.

Change-Id: Id90f8c7c4e0217e1f94d3e5134744a810390e7b7

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

index 4f6a422..0bdb1d3 100644 (file)
@@ -97,4 +97,4 @@ Resources:
       InstanceType: {Ref: InstanceType}
 Outputs:
     Nagios3Host:
-        Fn::GetAtt: [ nagios3 , PrivateIp ]
+        Fn::GetAtt: [ nagios3 , first_private_address ]
index a321044..ca8ff11 100644 (file)
@@ -116,7 +116,7 @@ Resources:
           local_ip:
             Fn::GetAtt:
               - NovaCompute0
-              - PrivateIp
+              - first_private_address
           tenant_network_type: {Ref: NeutronNetworkType}
           network_vlan_ranges: {Ref: NeutronNetworkVLANRanges}
           bridge_mappings: {Ref: NeutronBridgeMappings}
index cf32fe5..3acaa19 100644 (file)
@@ -90,13 +90,13 @@ Resources:
     Path: nova-compute-instance.yaml
     SubKey: Resources.NovaCompute0Config
     Parameters:
-        NovaApiHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
-        KeystoneHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
-        RabbitHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
-        NeutronHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
-        GlanceHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
-        NovaDSN: {"Fn::Join": ['', ['mysql://nova:unset@', {"Fn::GetAtt": [notcompute, PrivateIp]}, '/nova']]}
-        NeutronDSN: {"Fn::Join": ['', ['mysql://neutron:unset@', {"Fn::GetAtt": [notcompute, PrivateIp]}, '/neutron']]}
+        NovaApiHost: {"Fn::GetAtt": [notcompute, first_private_address]}
+        KeystoneHost: {"Fn::GetAtt": [notcompute, first_private_address]}
+        RabbitHost: {"Fn::GetAtt": [notcompute, first_private_address]}
+        NeutronHost: {"Fn::GetAtt": [notcompute, first_private_address]}
+        GlanceHost: {"Fn::GetAtt": [notcompute, first_private_address]}
+        NovaDSN: {"Fn::Join": ['', ['mysql://nova:unset@', {"Fn::GetAtt": [notcompute, first_private_address]}, '/nova']]}
+        NeutronDSN: {"Fn::Join": ['', ['mysql://neutron:unset@', {"Fn::GetAtt": [notcompute, first_private_address]}, '/neutron']]}
         NeutronNetworkType: "gre"
         NeutronEnableTunnelling: "True"
         NeutronNetworkVLANRanges: ""
@@ -135,14 +135,14 @@ Resources:
       controller-address:
         Fn::GetAtt:
           - notcompute
-          - PrivateIp
+          - first_private_address
       db-password: unset
       glance:
         db: mysql://glance:unset@localhost/glance
         host:
           Fn::GetAtt:
             - notcompute
-            - PrivateIp
+            - first_private_address
         service-password:
           Ref: GlancePassword
       os-collect-config:
@@ -169,7 +169,7 @@ Resources:
             - - 'http://'
               - Fn::GetAtt:
                   - notcompute
-                  - PrivateIp
+                  - first_private_address
               - ':8003'
         metadata_server_url:
           Fn::Join:
@@ -177,7 +177,7 @@ Resources:
             - - 'http://'
               - Fn::GetAtt:
                   - notcompute
-                  - PrivateIp
+                  - first_private_address
               - ':8000'
         waitcondition_server_url:
           Fn::Join:
@@ -185,7 +185,7 @@ Resources:
             - - 'http://'
               - Fn::GetAtt:
                   - notcompute
-                  - PrivateIp
+                  - first_private_address
               - ':8000/v1/waitcondition'
       interfaces:
         control: eth0
@@ -194,14 +194,14 @@ Resources:
         host:
           Fn::GetAtt:
             - notcompute
-            - PrivateIp
+            - first_private_address
       nova:
         compute_driver: libvirt.LibvirtDriver
         db: mysql://nova:unset@localhost/nova
         host:
           Fn::GetAtt:
             - notcompute
-            - PrivateIp
+            - first_private_address
         metadata-proxy: true
         service-password:
           Ref: NovaPassword
@@ -209,14 +209,14 @@ Resources:
         host:
           Fn::GetAtt:
             - notcompute
-            - PrivateIp
+            - first_private_address
         metadata_proxy_shared_secret: unset
         ovs:
           enable_tunneling: 'True'
           local_ip:
             Fn::GetAtt:
               - notcompute
-              - PrivateIp
+              - first_private_address
           public_interface: eth0
           physical_bridge: br-ex
           tenant_network_type: gre
@@ -227,7 +227,7 @@ Resources:
         host:
           Fn::GetAtt:
             - notcompute
-            - PrivateIp
+            - first_private_address
         password: guest
   notcompute:
     Type: OS::Nova::Server
index b9cf0ec..8a3a9d2 100644 (file)
@@ -71,7 +71,7 @@ Resources:
       controller-address:
         Fn::GetAtt:
           - notcompute
-          - PrivateIp
+          - first_private_address
       cinder:
         db: mysql://cinder:unset@localhost/cinder
         volume_size_mb: '5000'
@@ -92,19 +92,19 @@ Resources:
           Fn::Join:
             - ''
             - - http://
-              - {"Fn::GetAtt": [ notcompute, PrivateIp ]}
+              - {"Fn::GetAtt": [ notcompute, first_private_address ]}
               - ":8003"
         metadata_server_url:
           Fn::Join:
             - ''
             - - http://
-              - {"Fn::GetAtt": [ notcompute, PrivateIp ]}
+              - {"Fn::GetAtt": [ notcompute, first_private_address ]}
               - ":8000"
         waitcondition_server_url:
           Fn::Join:
             - ''
             - - http://
-              - {"Fn::GetAtt": [ notcompute, PrivateIp ]}
+              - {"Fn::GetAtt": [ notcompute, first_private_address ]}
               - ":8000/v1/waitcondition"
       os-collect-config:
         cfn: