Loading backend stores is not conditional and fails if optional dependencies are missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Fix Released
|
Medium
|
Ian Cordasco |
Bug Description
# pip list|grep glance
glance (2015.1.dev40)
glance-store (0.1.11)
# /usr/bin/glance-api
2015-02-28 15:21:25.949 23107 ERROR stevedore.extension [-] Could not load 's3': No module named boto.exception
2015-02-28 15:21:25.950 23107 ERROR stevedore.extension [-] No module named boto.exception
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension Traceback (most recent call last):
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension verify_
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension plugin = ep.load(
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension entry = __import_
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension import boto.exception
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension ImportError: No module named boto.exception
2015-02-28 15:21:25.950 23107 TRACE stevedore.extension
2015-02-28 15:21:26.033 23107 ERROR stevedore.extension [-] Could not load 'glance.
2015-02-28 15:21:26.034 23107 ERROR stevedore.extension [-] No module named boto.exception
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension Traceback (most recent call last):
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension verify_
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension plugin = ep.load(
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension entry = __import_
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension File "/usr/lib/
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension import boto.exception
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension ImportError: No module named boto.exception
2015-02-28 15:21:26.034 23107 TRACE stevedore.extension
boto does not exist to glance_store requirements.
After boto installation, issue was fixed.
Changed in glance: | |
assignee: | nobody → Oleg Gashev (oleg-f) |
Changed in glance-store: | |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/160136