memcached_servers parameter parse error ,should be a list

Bug #1261260 reported by Yaguang Tang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Invalid
Undecided
Unassigned

Bug Description

499 def _conf_get(self, name):
 500 # try config from paste-deploy first
 501 if name in self.conf:
 502 return self.conf[name]
 503 else:
 504 return CONF.keystone_authtoken[name]

options get from paste-deploy need to be a list for memcached_servers

    Usage summary
    =============

    This should give you a feel for how this module operates::

        import memcache
        mc = memcache.Client(['127.0.0.1:11211'], debug=0)

Yaguang Tang (heut2008)
Changed in python-keystoneclient:
assignee: nobody → Yaguang Tang (heut2008)
Yaguang Tang (heut2008)
description: updated
Changed in python-keystoneclient:
status: New → In Progress
Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

This should be fixed as memcached_servers is a list opt now in both keystonelcient and keystonemiddleware. There is also (when using newest versions of oslo.config) validation that will ensure the types of the options in paste-ini are correct option types.

Changed in python-keystoneclient:
assignee: Yaguang Tang (heut2008) → nobody
status: In Progress → Invalid
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.