Public bug reported:

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.

** Affects: glance
     Importance: Undecided
     Assignee: Takashi Kajinami (kajinamit)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Takashi Kajinami (kajinamit)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2007924

Title:
  stevedore always shows error if boto3 is not installed

Status in Glance:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2007924/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to