error log is produced for etcd3gw backend even when not using it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.cache |
Fix Released
|
Undecided
|
Mitya Eremeev |
Bug Description
We deploy OpenStack in containers, and use only memcached backend, not installing dependencies of other backends into the containers
on many services (e.g. Neutron, Keystone) we see the following errors:
2021-05-13 07:40:38.529 18 ERROR stevedore.extension [req-e5eecc70-
746b67 0d654ccd0eb647e
even if our cache is explicitly configured to use memcached:
[cache]
backend = oslo_cache.
memcache_secret_key = eD6SEGCYNIMSyIWG
memcache_
memcached_servers = openstack-
Since it seems that the plugin lookup and loading code is actually in the dogpile.cache lib,
the solution would be for etcd3gw backend to use lazy imports similar to e.g. what mongodb backend does in the oslo.cache already https:/
Changed in oslo.cache: | |
assignee: | nobody → Mitya Eremeev (mitos) |
Fix proposed to branch: master /review. opendev. org/c/openstack /oslo.cache/ +/792677
Review: https:/