Generate VIP info for ctlplane VIP, not management
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 8 Sep 2016 13:11:53 +0000 (16:11 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 9 Sep 2016 05:43:24 +0000 (08:43 +0300)
The management network does not have a VIP, so it's been wrong to
generate a cloud name and hieradata for this. Instead, the network
that actually needs a name and a hosts entry is the ctlplane network,
which actually has a VIP and there are services that use it.

bp tls-via-certmonger

Closes-Bug: #1621742
Change-Id: I163b2c7b5684da6dc290636f54eefe3f2b0c3e3f

overcloud.yaml
puppet/all-nodes-config.yaml
puppet/services/vip-hosts.yaml

index f2c4b63..d576492 100644 (file)
@@ -34,8 +34,8 @@ parameters:
       The DNS name of this cloud's storage management endpoint. E.g.
       'ci-overcloud.storagemgmt.tripleo.org'.
     type: string
-  CloudNameManagement:
-    default: overcloud.management.localdomain
+  CloudNameCtlplane:
+    default: overcloud.ctlplane.localdomain
     description: >
       The DNS name of this cloud's storage management endpoint. E.g.
       'ci-overcloud.management.tripleo.org'.
@@ -422,7 +422,7 @@ resources:
         internal_api: {get_param: CloudNameInternal}
         storage: {get_param: CloudNameStorage}
         storage_mgmt: {get_param: CloudNameStorageManagement}
-        management: {get_param: CloudNameManagement}
+        ctlplane: {get_param: CloudNameCtlplane}
       NetIpMap: {get_attr: [VipMap, net_ip_map]}
       ServiceNetMap: {get_attr: [ServiceNetMap, service_net_map]}
 
@@ -665,7 +665,7 @@ resources:
       cloud_name_internal_api: {get_param: CloudNameInternal}
       cloud_name_storage: {get_param: CloudNameStorage}
       cloud_name_storage_mgmt: {get_param: CloudNameStorageManagement}
-      cloud_name_management: {get_param: CloudNameManagement}
+      cloud_name_ctlplane: {get_param: CloudNameCtlplane}
       hosts:
         - list_join:
             - '\n'
index 69bb193..05c5805 100644 (file)
@@ -10,7 +10,7 @@ parameters:
     type: string
   cloud_name_storage_mgmt:
     type: string
-  cloud_name_management:
+  cloud_name_ctlplane:
     type: string
   hosts:
     type: comma_delimited_list
@@ -182,7 +182,7 @@ resources:
                     cloud_name_internal_api: {get_param: cloud_name_internal_api}
                     cloud_name_storage: {get_param: cloud_name_storage}
                     cloud_name_storage_mgmt: {get_param: cloud_name_storage_mgmt}
-                    cloud_name_management: {get_param: cloud_name_management}
+                    cloud_name_ctlplane: {get_param: cloud_name_ctlplane}
 
 outputs:
   config_id:
index 445a276..a9d757e 100644 (file)
@@ -47,10 +47,10 @@ outputs:
             ip: "%{hiera('storage_mgmt_virtual_ip')}"
             ensure: present
             comment: FQDN of the storage mgmt VIP
-          management:
-            name: "%{hiera('cloud_name_management')}"
+          ctlplane:
+            name: "%{hiera('cloud_name_ctlplane')}"
             ip: "%{hiera('controller_virtual_ip')}"
             ensure: present
-            comment: FQDN of the management VIP
+            comment: FQDN of the ctlplane VIP
       step_config: |
         include ::tripleo::vip_hosts