keystonemiddleware is missing a dependency on memcache

Bug #1550357 reported by Stuart McLaren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystonemiddleware
Triaged
Medium
Unassigned

Bug Description

Running tox -epy27 --no-test to create a venv for glance and then running glance-api results in:

  File "/mnt/sam/git/glance/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/openstack/common/memorycache.py", line 44, in get_client
    import memcache
ImportError: No module named memcache

def get_client(memcached_servers=None):
    client_cls = Client

    if not memcached_servers:
        memcached_servers = CONF.memcached_servers
    if memcached_servers:
        import memcache <<<<<<<<<<<
        client_cls = memcache.Client

should memcache be in requirements.txt?

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

Fix proposed to branch: master
Review: https://review.openstack.org/285315

Changed in keystonemiddleware:
assignee: nobody → Stuart McLaren (stuart-mclaren)
status: New → In Progress
Changed in keystonemiddleware:
assignee: Stuart McLaren (stuart-mclaren) → Steve Martinelli (stevemar)
Changed in keystonemiddleware:
importance: Undecided → Medium
Changed in keystonemiddleware:
assignee: Steve Martinelli (stevemar) → nobody
Changed in keystonemiddleware:
assignee: nobody → Mohammed Naser (mnaser)
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Automatically unassigning due to inactivity.

Changed in keystonemiddleware:
assignee: Mohammed Naser (mnaser) → nobody
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystonemiddleware (master)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/285315
Reason: administratively abandoning this change. You may restore it if it is to be picked up and continued.

I'll get a pymemcache driver for oslo.cache spun up to eliminate this continued request.

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.