oslo.cache 2.1.0 breaks oslo_cache.memcache_pool

Herve Beraud hberaud at redhat.com
Wed Mar 4 12:20:46 UTC 2020


I think our issue is due to the fact that python-memcached accept a param
named `dead_retry` [1] which is not defined in pymemcache.

We just need to define it in our oslo.cache mapping. During testing we
faced the same kind of issue with connection timeout.

[1]
https://github.com/linsomniac/python-memcached/blob/bad41222379102e3f18f6f2f7be3ee608de6fbff/memcache.py#L183
[2]
https://github.com/openstack/oslo.cache/blob/8a8248d764bbb1db6c0089a58745803c03e38fdb/oslo_cache/_memcache_pool.py#L193,L201

Le mer. 4 mars 2020 à 12:21, Radosław Piliszek <radoslaw.piliszek at gmail.com>
a écrit :

> Please be informed that oslo.cache 2.1.0 breaks oslo_cache.memcache_pool
>
> Kolla-Ansible gate is already RED and a quick codesearch revealed
> other deployment methods might be in trouble soon as well.
>
> This does not affect devstack/tempest as they use
> dogpile.cache.memcached instead.
>
> The error is TypeError: __init__() got an unexpected keyword argument
> 'dead_retry'
>
> For details see: https://bugs.launchpad.net/oslo.cache/+bug/1866008
>
> -yoctozepto
>
>

-- 
Hervé Beraud
Senior Software Engineer
Red Hat - Openstack Oslo
irc: hberaud
-----BEGIN PGP SIGNATURE-----

wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+
Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+
RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP
F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G
5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g
glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw
m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ
hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0
qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y
F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3
B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O
v6rDpkeNksZ9fFSyoY2o
=ECSj
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200304/ca18eba9/attachment.html>


More information about the openstack-discuss mailing list