Comment 24 for bug 1367767

Revision history for this message
Max Yatsenko (myatsenko) wrote :

There are some test failures in https://review.openstack.org/184227 were observed, and take these lines from the request to fuel-master :

CACHES = {
    'default': {
       <% if @cache_server_ip %>
       'BACKEND': <%= @cache_backend %>

       <% if @cache_options and @cache_options.kind_of?(Array) %>
       OPTIONS : {
           <% @cache_options.each do |option| -%><%= option -%>,
           <% end %>
    }
    <% end -%>
      <% if @cache_server_ip.kind_of?(Array) %>
        <% split = ":" + @cache_server_port + "','" %>
    'LOCATION': [ <% @cache_server_ip.each do |ip| -%>'<%= ip -%>:<%= @cache_server_port -%>',
     end -%> ],
       <% else %>
     'LOCATION': '<%= @cache_server_ip %>:<%= @cache_server_port %>',
       <% end %>
     <% else %>
     'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
     <% end %>
    }
}

After deployment using the lines above we got the following incorrect settings in controller /etc/openstack-dashboard/local_settings.py:

CACHES = {
    'default': {

       'BACKEND': horizon.backends.memcached.HorizonMemcached

       OPTIONS : {
           'SOCKET_TIMEOUT': 1,
           'SERVER_RETRIES': 1,
           'DEAD_RETRY': 1,

    }