switch from oslo-incubator cache code to dogpile

Bug #1517883 reported by Ihar Hrachyshka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Ihar Hrachyshka

Bug Description

Oslo-incubator is about to stop support for cache module, so we should get rid of it. The best candidate is probably dogpile. There is also oslo.cache library released, but it has different API and is overkill for our needs (metadata agent optimizations).

Tags: oslo
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

There are some complications with switching from the module to something different. The main one is that we exposed cache_url from the module into metadata config as-is: https://github.com/openstack/neutron/blob/master/neutron/openstack/common/cache/cache.py#L51

So to switch to something different, we would need to make sure we support the url config option for a cycle the least.

Changed in neutron:
importance: Undecided → Wishlist
tags: added: oslo
Gary Kotton (garyk)
Changed in neutron:
status: New → Confirmed
Revision history for this message
fangzhen (zhen-fang) wrote :

Hi, I'd like to work on this bug. Do we have a firm prefer on dogpile to oslo.cache? I''m thinking if oslo.cache a more standard way for openstack?

fangzhen (zhen-fang)
Changed in neutron:
assignee: nobody → fangzhen (zhen-fang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
milestone: none → newton-1
Changed in neutron:
assignee: fangzhen (zhen-fang) → Henry Gessau (gessau)
Henry Gessau (gessau)
Changed in neutron:
assignee: Henry Gessau (gessau) → fangzhen (zhen-fang)
Changed in neutron:
assignee: fangzhen (zhen-fang) → Henry Gessau (gessau)
Changed in neutron:
assignee: Henry Gessau (gessau) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/290305
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=56efc8ac76415070041d125a6e30523caf9b3cbd
Submitter: Jenkins
Branch: master

commit 56efc8ac76415070041d125a6e30523caf9b3cbd
Author: Fang Zhen <email address hidden>
Date: Wed Mar 9 14:46:12 2016 +0800

    Switch to oslo.cache

    Oslo incubator is about to stop for cache module. We could use
    oslo.cache instead. The legacy memory backend is replaced by
    oslo_cache.dict.

    Closes-Bug: #1517883

    Change-Id: I108242ca9f27c9ec47959ce7615bc7d84cae014b

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/325154

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/325154
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=60a8f961377c208c2d72715889c7c4020a0fd03a
Submitter: Jenkins
Branch: master

commit 60a8f961377c208c2d72715889c7c4020a0fd03a
Author: Jakub Libosvar <email address hidden>
Date: Fri Jun 3 11:26:07 2016 +0200

    oslo.cache: Remove memory alias for cache

    Current code replaces 'memory' backend with 'oslo_cache.dict' backend in
    order to keep backward compatibility.

    Related-Bug: 1517883
    Change-Id: Ibcefa13eaf4b1021322eb5bd4320b8306aa0c510

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b2

This issue was fixed in the openstack/neutron 9.0.0.0b2 development milestone.

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.