stevedore always shows error if boto3 is not installed

Bug #2007924 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Takashi Kajinami

Bug Description

Currently stevedore always dump the following error in case boto3 is not installed in the system.

ERROR stevedore.extension [-] Could not load 'glance.store.s3.Store': No module named 'boto3': ModuleNotFoundError: No module named 'boto3'
ERROR stevedore.extension [-] Could not load 's3': No module named 'boto3': ModuleNotFoundError: No module named 'boto3'

This error is red herring because missing boto3 does not harm unless s3 backend is actually used.

The other stores such as swift store ignores missing library during loading drivers but fails in case swift store is actually requested. It'd be helpful to follow that strategy for s3 backend to avoid confusing error.

Changed in glance:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

This is fixed by 7dc94f7 in glance_store.

Changed in glance:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance_store 4.4.0

This issue was fixed in the openstack/glance_store 4.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance_store 4.3.2

This issue was fixed in the openstack/glance_store 4.3.2 release.

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.