Key-value stores in OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora  - icehouse

Bug #1315088 reported by Dave S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Unassigned

Bug Description

On the docs page:
http://docs.openstack.org/icehouse/install-guide/install/yum/content/dashboard-session-key-value-store.html

The Example code on the session backend config pages doesn't work as shown:

CACHES = {
    'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
    'LOCATION': 'my_memcached_host:11211',
}

It causes an error if it isn't wrapped in a 'default' value section like this:

CACHES = {
 'default': {
    'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
    'LOCATION': 'my_memcached_host:11211',
    }
}

-----------------------------------
Built: 2014-05-01T17:07:45 00:00
git SHA: b931549e9dade5f9ae39bc57c90f4365dbaecc20
URL: http://docs.openstack.org/icehouse/install-guide/install/yum/content/dashboard-session-key-value-store.html

Revision history for this message
Tom Fifield (fifieldt) wrote :

Thanks Dave!

Changed in openstack-manuals:
status: New → Triaged
importance: Undecided → High
milestone: none → juno
tags: added: install-guide
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/91636
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=0b9aad391dd5b4111e921f12981e504ea253a47f
Submitter: Jenkins
Branch: master

commit 0b9aad391dd5b4111e921f12981e504ea253a47f
Author: Tom Fifield <email address hidden>
Date: Fri May 2 02:02:20 2014 +0800

    add default wrapper to horizon CACHES

    As reported by Dave, the syntax for specifying CACHES
    in the sessions documentation was incorrect and needed
    to be wrapped by a 'default' clause.

    Change-Id: Ia32181abe3c05eb0c31eafd7037dbc552fe1e5d8
    Closes-Bug:1315088

Changed in openstack-manuals:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.