glance-api failed to start up with latest devstack
Hi, I installed OpenStack with latest devstack and found that install failed.
+ screen -S stack -p g-api -X stuff 'cd /opt/stack/glance; /usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf || touch "/opt/stack/status/stack'g-api.failure"
+ echo 'Waiting for g-api (9.111.242.65:9292) to start...'
Waiting for g-api (9.111.242.65:9292) to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O- http://9.111.242.65:9292; do sleep 1; done'
+ die 191 'g-api did not start'
+ local exitcode=0
+ set +o xtrace
[ERROR] stack.sh:191 g-api did not start
Then I try to manually start up glance-api and get the following error:
root@ubuntu:~# glance-api
Traceback (most recent call last):
File "/usr/local/bin/glance-api", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 3011, in <module>
parse_requirements(__requires__), Environment()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: jsonschema>=1.3.0,!=1.4.0
Can anyone give some hep? Thanks.