Bug 2104364 - etcd3gw is not found when using oslo_cache
Summary: etcd3gw is not found when using oslo_cache
Keywords:
Status: CLOSED DUPLICATE of bug 2092335
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-containers
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-06 04:23 UTC by Donghwi Cha
Modified: 2022-07-06 05:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-06 05:12:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-16259 0 None None None 2022-07-06 04:24:28 UTC

Description Donghwi Cha 2022-07-06 04:23:31 UTC
Description of problem:

Following the recommendation of keystone.conf 

>> https://docs.openstack.org/keystone/rocky/configuration/samples/keystone-conf.html
>> .. 
>> # Cache backend module. For eventlet-based or environments with hundreds of
>> # threaded servers, Memcache with pooling (oslo_cache.memcache_pool) is
>> # recommended. 

oslo_cache.memcache_pool was enabled for cache backend of keystone service 

>> [cache]
>> backend=dogpile.cache.memcached 

But when the keystone service is started, there is error on keystone.log

>> Error stevedore extenstion could not load oslo_cache.etcd3gw no module named etcd3gw module not found error"

And etcd3gw is not available on keystone kolla container as seen below 

cat /lib/python3.6/site-packages/oslo.cache-1.37.1-py3.6.egg-info/requires.txt

[dogpile]

[dogpile:python_version == "2.7"]
python-memcached>1.55

[dogpile:python_version >= "3.4"]
python-memcached>1.57

[etcd3gw]
etcd3gw>=0.2.0

[mongo]
pymongo!=3.1,>=3.0.2

$ rpm -qa | grep python3 | grep etcd |  wc -l
0

$ pip3 list | grep -i etcd | wc -l
0



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. follow the description above to reproduce using RHOSP 16.2.3
2. find the error as the description above 

Actual results:
There is error on keystone log 

Expected results:
there should not be any error log on keystone

Additional info:

I've checked https://github.com/openstack/kolla but python-etcd3gw is missing from openstack base image dockerfile of rhel container image.

Comment 1 Donghwi Cha 2022-07-06 04:29:26 UTC
Hi. The description of error is different from this bz, but the patch included in this buzilla appears to be solution 

[bugzilla]
https://bugzilla.redhat.com/show_bug.cgi?id=2092335

[solution]

https://opendev.org/openstack/oslo.cache/commit/40946a9349407f36a43d5020d991085c11468698

Comment 2 Donghwi Cha 2022-07-06 04:36:32 UTC
Here is more information for versions of oslo-cache 


The version of oslo-cache in rhosp 16.2.3 -> 1.37.1

rpm -qa | grep oslo-cache
python3-oslo-cache-1.37.1-2.20220111022421.3e30378.el8ost.noarch
python-oslo-cache-lang-1.37.1-2.20220111022421.3e30378.el8ost.noarch

pip3 list | grep  oslo.cache
oslo.cache (1.37.1)

And the version of oslo-cache when the patch is applied  -> 2.8.1
https://opendev.org/openstack/oslo.cache/commit/40946a9349407f36a43d5020d991085c11468698

Comment 3 Luca Miccini 2022-07-06 05:12:25 UTC

*** This bug has been marked as a duplicate of bug 2092335 ***


Note You need to log in before you can comment on or make changes to this bug.