Provide list of memcached servers to Nova
authorGiulio Fidente <gfidente@redhat.com>
Thu, 16 Jul 2015 18:51:23 +0000 (20:51 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 21 Jul 2015 23:11:41 +0000 (01:11 +0200)
Memcached is used by novnc to share the auth tokens.

Change-Id: I18415b6ae38b46e3c92e4ce84b858a014ef8398b

puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp

index c9ff86c..03f47ec 100644 (file)
@@ -244,7 +244,9 @@ if hiera('step') >= 3 {
   include ::glance::registry
   include join(['::glance::backend::', $glance_backend])
 
-  include ::nova
+  class { '::nova' :
+    memcached_servers => suffix(hiera('memcache_node_ips'), ':11211'),
+  }
   include ::nova::api
   include ::nova::cert
   include ::nova::conductor
index 24a2f73..0cdd31d 100644 (file)
@@ -556,7 +556,9 @@ if hiera('step') >= 3 {
   }
   include join(['::glance::backend::', $glance_backend])
 
-  include ::nova
+  class { '::nova' :
+    memcached_servers => suffix(hiera('memcache_node_ips'), ':11211'),
+  }
 
   class { '::nova::api' :
     sync_db => $sync_db,