yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43647
[Bug 1528425] [NEW] memoized decorator not safe constructing a neutronclient in neutron api
Public bug reported:
in /horizon/openstack_dashboard/api/neutron.py:
@memoized
def neutronclient(request):
@memoized only take the request's fileds as key to index cache, but if a filed has a different descendant filed, cache will still hit.
when we reuse the request with new parameters when calling neutron api, return same responses unexpectedly.
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1528425
Title:
memoized decorator not safe constructing a neutronclient in neutron
api
Status in OpenStack Dashboard (Horizon):
New
Bug description:
in /horizon/openstack_dashboard/api/neutron.py:
@memoized
def neutronclient(request):
@memoized only take the request's fileds as key to index cache, but if a filed has a different descendant filed, cache will still hit.
when we reuse the request with new parameters when calling neutron api, return same responses unexpectedly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1528425/+subscriptions
Follow ups