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,
}
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) %> server_ ip.kind_ of?(Array) %> server_ ip.each do |ip| -%>'<%= ip -%>:<%= @cache_server_port -%>', core.cache. backends. locmem. LocMemCache'
OPTIONS : {
<% @cache_options.each do |option| -%><%= option -%>,
<% end %>
}
<% end -%>
<% if @cache_
<% split = ":" + @cache_server_port + "','" %>
'LOCATION': [ <% @cache_
end -%> ],
<% else %>
'LOCATION': '<%= @cache_server_ip %>:<%= @cache_server_port %>',
<% end %>
<% else %>
'BACKEND': 'django.
<% 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. HorizonMemcache d
OPTIONS : {
'SOCKET_ TIMEOUT' : 1,
'SERVER_ RETRIES' : 1,
'DEAD_ RETRY': 1,
}