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

Bug #1363144 reported by Nick Mishin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
naggappan

Bug Description

Hello!
I think need add a comma after the line: "'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'"
should be:
Enabled by:

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
  'default': {
    'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
    'LOCATION': 'my_memcached_host:11211'
  }
}
-----------------------------------
Built: 2014-08-21T22:11:41 00:00
git SHA: d9e3ab1f86d8157cd4a7b0ad5be680aaa300ceb3
URL: http://docs.openstack.org/icehouse/install-guide/install/yum/content/dashboard-session-key-value-store.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/common/section_dashboard_sessions.xml
xml:id: dashboard-session-key-value-store

Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
tags: added: install-guide low-hanging-fruit
removed: config memcached
Anne Gentle (annegentle)
Changed in openstack-manuals:
assignee: nobody → Anne Gentle (annegentle)
Anne Gentle (annegentle)
Changed in openstack-manuals:
assignee: Anne Gentle (annegentle) → nobody
assignee: nobody → naggappan (naggappan)
Revision history for this message
naggappan (naggappan) wrote :

Changes submitted for review,

https://review.openstack.org/#/c/121450/

Revision history for this message
naggappan (naggappan) wrote :

Hi ,

Currently when i checked in the code and build i get the following in the document,

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

I added a comma in the end of LOCATION. In dictionary format it doesn't matter we have a comma or not for the last variable. So It is proper now. But i don't see this update in ,
http://docs.openstack.org/icehouse/install-guide/install/yum/content/dashboard-session-key-value-store.html

But in the latest icehouse branch its modified. So please let me know do i still need to do any changes on this?

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

Hi naggappan,

This was fixed in juno work, I believe. Thanks for the report!

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

oh - I see you submitted the review to fix it in stable/icehouse as well.

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

oh - it is fixed in icehouse too - looks like someone beat you to it by a whisker. Sorry, naggappan.

Changed in openstack-manuals:
milestone: none → juno
status: Confirmed → Fix Released
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.