Comment 2 for bug 1748160

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystonemiddleware (master)

Reviewed: https://review.openstack.org/542133
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=ce06c0ce1035964ecf117bd56f769174508dc269
Submitter: Zuul
Branch: master

commit ce06c0ce1035964ecf117bd56f769174508dc269
Author: wangxiyuan <email address hidden>
Date: Thu Feb 8 17:19:28 2018 +0800

    Add arguments for MemcacheClientPool init

    Now keystonemiddleware use oslo.cache to init the
    MemcacheClientPool. The MemcacheClientPool in
    Olso.cache needs (urls, arguments, **kwargs) parameter
    to init, but keystonemiddleware passed only
    (urls, **kwargs). Then it leads the error:
    __init__() takes exactly 3 arguments (2 given)

    This patch fixed this issue.

    Please note that even this error is fixed, set
    "memcache_use_advanced_pool = True" will lead another
    error, see bug #1747565 for the detail. It will be
    fixed in the following patch.

    Closes-bug: #1748160
    Change-Id: I642f959ab8b010207314312a6b6a06a6de23e92c