Bug 1175419 - python-glance-store requires python-oslo-serialization
Summary: python-glance-store requires python-oslo-serialization
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-glance-store
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: hguemar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-17 17:27 UTC by Richard W.M. Jones
Modified: 2016-04-26 15:11 UTC (History)
5 users (show)

Fixed In Version: python-glance-store-0.1.10-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-17 15:07:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
api.log (88.28 KB, text/plain)
2014-12-17 17:27 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2014-12-17 17:27:03 UTC
Created attachment 970223 [details]
api.log

Description of problem:

Running 'packstack --allinone' fails on Rawhide.  openstack-glance
fails to start, and also fails to start if I try to start it
manually using 'systemctl start openstack-glance.service'.

The error appears to be:

2014-12-17 17:19:52.036 10163 CRITICAL glance [-] ImportError: No module named serialization
2014-12-17 17:19:52.036 10163 TRACE glance Traceback (most recent call last):
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
2014-12-17 17:19:52.036 10163 TRACE glance     sys.exit(main())
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 70, in main
2014-12-17 17:19:52.036 10163 TRACE glance     glance_store.create_stores(config.CONF)
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 187, in create_stores
2014-12-17 17:19:52.036 10163 TRACE glance     for (store_entry, store_instance) in _load_stores(conf):
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 169, in _load_stores
2014-12-17 17:19:52.036 10163 TRACE glance     store_instance = _load_store(conf, store_entry)
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 156, in _load_store
2014-12-17 17:19:52.036 10163 TRACE glance     invoke_on_load=invoke_load)
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 45, in __init__
2014-12-17 17:19:52.036 10163 TRACE glance     verify_requirements=verify_requirements,
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 55, in __init__
2014-12-17 17:19:52.036 10163 TRACE glance     verify_requirements)
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 170, in _load_plugins
2014-12-17 17:19:52.036 10163 TRACE glance     self._on_load_failure_callback(self, ep, err)
2014-12-17 17:19:52.036 10163 TRACE glance   File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 50, in _default_on_load_failure
2014-12-17 17:19:52.036 10163 TRACE glance     raise err
2014-12-17 17:19:52.036 10163 TRACE glance ImportError: No module named serialization

(Actually there are tons of errors, see the attached
api.log file)

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

openstack-glance-2014.2.1-1.fc22.noarch
openstack-packstack-2014.2-0.12.dev1370.ge46bee1.fc22.noarch

How reproducible:

100%

Steps to Reproduce:
1. packstack --allinone
or:
1. systemctl start openstack-glance

Comment 1 Richard W.M. Jones 2014-12-17 17:29:05 UTC
I'm going to guess this is something to do with 'python-oslo'
not being new enough.

Currently I have:

python-oslo-config-1.4.0-1.fc22.noarch
python-oslo-rootwrap-1.3.0.0-1.fc22.noarch
python-oslo-vmware-0.6.0-1.fc22.noarch
python-oslo-i18n-1.1.0-1.fc22.noarch
python-oslo-utils-1.0.0-1.fc22.noarch
python-oslo-messaging-1.4.1-2.fc22.noarch
python-oslo-db-1.0.2-2.fc22.noarch

Comment 2 Richard W.M. Jones 2014-12-17 17:31:19 UTC
OK, apparently 'python-oslo-serialization' is a think, and it has
to be installed first.  I manually installed

python-oslo-serialization-0.3.0-1.fc22.noarch

and this allows openstack-glance to start.

Comment 3 Flavio Percoco 2014-12-18 15:37:02 UTC
@hguemar, you may want to take a look at this.

Comment 4 Alan Pevec 2014-12-19 13:47:04 UTC
@Haikel - please sync Rawhide with Delorean spec, this is already fixed there:
https://github.com/openstack-packages/glance_store/blob/f20-master/python-glance-
store.spec

@Flavio glance_store should get stable/juno branch so that further new deps are not introduced to Juno, right?

Comment 5 hguemar 2015-01-17 15:07:34 UTC
Cleaning up, this was fixed a long time ago.


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