Remove mangling swift memcached list (now in puppet-tripleo)
authorSteven Hardy <shardy@redhat.com>
Thu, 1 Sep 2016 14:52:25 +0000 (15:52 +0100)
committerEmilien Macchi <emilien@redhat.com>
Sat, 3 Sep 2016 19:47:16 +0000 (19:47 +0000)
Moved this list manipulation to puppet-tripleo where it can easily
reference the memcached_node_ips array instead of hard-coded output
from the Controller.

Depends-On: Ic8872e5e51732874ca5b93bff5efd3e7ed75bc31
Change-Id: I523a802c8d22be7602728ebe8966d9e2ee109cde
Partially-Implements: blueprint custom-roles

overcloud.yaml
puppet/controller.yaml
puppet/swift-devices-and-proxy-config.yaml

index 68ee23c..84ac2f4 100644 (file)
@@ -855,7 +855,6 @@ resources:
     properties:
       controller_swift_devices: {get_attr: [Controller, swift_device]}
       object_store_swift_devices: {get_attr: [ObjectStorage, swift_device]}
-      controller_swift_proxy_memcaches: {get_attr: [Controller, swift_proxy_memcache]}
 
   ControllerAllNodesDeployment:
     type: OS::Heat::StructuredDeployments
index 7650c1e..4fec295 100644 (file)
@@ -492,20 +492,6 @@ outputs:
                   template: "NETWORK_uri"
                   params:
                     NETWORK: {get_param: [ServiceNetMap, SwiftMgmtNetwork]}
-  swift_proxy_memcache:
-    description: Swift proxy-memcache value
-    value:
-      str_replace:
-        template: "IP:11211"
-        params:
-          IP:
-            get_attr:
-              - NetIpMap
-              - net_ip_map
-              - str_replace:
-                  template: "NETWORK_uri"
-                  params:
-                    NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]}
   tls_key_modulus_md5:
     description: MD5 checksum of the TLS Key Modulus
     value: {get_attr: [NodeTLSData, key_modulus_md5]}
index 14df831..afee4da 100644 (file)
@@ -6,8 +6,6 @@ parameters:
     type: comma_delimited_list
   object_store_swift_devices:
     type: comma_delimited_list
-  controller_swift_proxy_memcaches:
-    type: comma_delimited_list
 
 resources:
 
@@ -29,14 +27,6 @@ resources:
                     - list_join:
                       - ", "
                       - {get_param: object_store_swift_devices}
-                swift::proxy::cache::memcache_servers:
-                  str_replace:
-                    template: "['SERVERS_LIST']"
-                    params:
-                      SERVERS_LIST:
-                        list_join:
-                        - "','"
-                        - {get_param: controller_swift_proxy_memcaches}
 
 outputs:
   config_id: