Grizzly glance command fails on Ubuntu Precise with warlock error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-glanceclient (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
OS: Ubuntu Precise 12.04
Glance version: Grizzly 2
root@controller:~# dpkg --print-avail glance
Package: glance
Priority: extra
Section: python
Installed-Size: 45
Maintainer: Ubuntu OpenStack <email address hidden>
Architecture: all
Version: 2013.1.
Depends: glance-api (= 2013.1.
Suggests: python-ceph
Size: 22216
Problem Description:
After successful install and config of glance, glance index errors as below.
root@controller:~# glance index
Traceback (most recent call last):
File "/usr/bin/glance", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/
parse_
File "/usr/lib/
raise DistributionNot
pkg_resources.
root@controller:~#
The glance-api and glance-registry service is crashing as well. The upstart log has the following entry -
2013-02-21 22:30:03.072 2142 CRITICAL glance [-] duplicate option: log-format
The workaround mentioned on the other bugs filed for jsonschema error, 1100356, 1098688, 1101158 did not help.
Added the below in the following files -
root@controller
root@controller
jsonschema>=0.2
warlock>=0.1.0
Is there any other file, location where the value needs to be changed?
no longer affects: | glance |
Changed in python-glanceclient (Ubuntu): | |
status: | Confirmed → Fix Released |
I do not see the jsonschema error anymore. There is a Problem with the following file though: pyshared/ python_ glanceclient- 0.7.0.21. ged644d7. egg-info/ requires. txt
/usr/share/
In this file it specifies warlock>=0.7.0,<2
On my Ubuntu Precise load, warlock is Version 0.1.0 and I have to Change that line to the following to get this all to work:
warlock>=0.1.0,<2
I believe that the latest python-warlock is 0.3.1 but Ubuntu Precise is still using 0.1.0.