memcached config item in Installation Guide for Object Storage Service is wrong

Bug #1658333 reported by Johnny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Invalid
Undecided
Unassigned

Bug Description

The memcached config item looks wrong:
In the [filter:cache] section, configure the memcached location:

[filter:cache]
use = egg:swift#memcache
...
memcache_servers = controller:11211

Should it be memcached_servers = controller:11211?
I think yes and please confirm.

-----------------------------------
Release: 2.12.1.dev49 on 2017-01-21 01:33
SHA: a1c88b906b9b056aa3f8b56be1eb000935fc0be4
Source: http://git.openstack.org/cgit/openstack/swift/tree/install-guide/source/controller-install-ubuntu.rst
URL: http://docs.openstack.org/project-install-guide/object-storage/draft/controller-install-ubuntu.html

Johnny (qf-hao)
summary: - Install and configure the controller node for Ubuntu in Installation
- Guide for Object Storage Service
+ memcached config item in Installation Guide for Object Storage Service
+ is wrong
tags: added: config memcached object storage
Revision history for this message
Alistair Coles (alistair-coles) wrote :

The doc is correct, the swift memcache middleware conf item is memcache_servers, read here

That is different from the keystone authtoken middleware which uses memcached_servers, but it's curious that the install guide specifies that at all - in swift's sample proxy-server conf [2] authtoken is shown to use swift's cache service rather than memcached directly.

[1] https://github.com/openstack/swift/blob/e24d7c36fa9758618ef88ed1a8e19f4d7bb0404f/swift/common/middleware/memcache.py#L31-L31
[2] https://github.com/openstack/swift/blob/f850ff065e70fb56f9b9e224194553770787f516/etc/proxy-server.conf-sample#L325-L348

Changed in swift:
status: New → Invalid
Revision history for this message
Alistair Coles (alistair-coles) wrote :

The doc is correct, the swift memcache middleware conf item is memcache_servers, read here [1]

That is different from the keystone authtoken middleware which uses memcached_servers, but it's curious that the install guide specifies that at all - in swift's sample proxy-server conf [2] authtoken is shown to use swift's cache service rather than memcached directly.

[1] https://github.com/openstack/swift/blob/e24d7c36fa9758618ef88ed1a8e19f4d7bb0404f/swift/common/middleware/memcache.py#L31-L31
[2] https://github.com/openstack/swift/blob/f850ff065e70fb56f9b9e224194553770787f516/etc/proxy-server.conf-sample#L325-L348

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.