Comment 5 for bug 1748160

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

Reviewed: https://review.openstack.org/583684
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=c21f7f43eef21f4b78273058b86fc5b9005f1d93
Submitter: Zuul
Branch: stable/queens

commit c21f7f43eef21f4b78273058b86fc5b9005f1d93
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.

    Conflicts:
     keystonemiddleware/tests/unit/auth_token/test_cache.py

    Closes-bug: #1748160
    Change-Id: I642f959ab8b010207314312a6b6a06a6de23e92c
    (cherry picked from commit ce06c0ce1035964ecf117bd56f769174508dc269)