Description of problem: ======================= packstack wrong configuration for Horizon CACHE_BACKEND in local_setting.py. As a result of that, a DeprecationWarning appears in httpd logs Version-Release number of selected component (if applicable): ============================================================= Grizzly async puddle: 2013-08-15.1 openstack-packstack-2013.1.1-0.27.dev660.el6ost.noarch How reproducible: ================= 1/1 Steps to Reproduce: =================== 1. install openstack via packstack 2. grep CACHE /var/log/httpd/*_log Actual results: =============== /var/log/httpd/error_log: [error] DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior.DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in <class 'openstack_auth.backend.KeystoneBackend'>. Expected results: ================= No errors should be expected. Additional info: ================ jpichon mentioned that this was already fixed in Grizzly: https://github.com/openstack/horizon/blob/stable/grizzly/openstack_dashboard/local/local_settings.py.example#L69 IRC Chat: <jpichon> I think I remember mrunge saying packstack was creating its own local_settings.py instead of copy-pasting from local_settings.py.example, this may be the result
Created attachment 788827 [details] local_settings.py
It's fixed in Havana already.
Adding OtherQA for bugs in MODIFIED
[root@virtual-rhel ~]# cat /etc/openstack-dashboard/local_settings | grep CACHE -A8 # memcached set CACHES to something like # CACHES = { # 'default': { # 'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache', # 'LOCATION' : '127.0.0.1:11211', # } #} CACHES = { 'default': { # 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache' 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', } } [root@virtual-rhel ~]# cat /var/log/httpd/*log | grep CACHE [root@virtual-rhel ~]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html