Comment 3 for bug 1026062

Revision history for this message
Wall Lee (eelilei) wrote : Re: The json tools package can not used in new glance and keystone project

Hi,I think the version of anyjson has some different.Glance use 0.3.3 and Keystone need 0.2.4,but the Keystone pip-requires has no anyjson,like this :
# keystone dependencies
pam==0.1.4
WebOb==1.0.8
eventlet
greenlet
PasteDeploy
paste
routes
sqlalchemy
sqlalchemy-migrate
passlib
lxml
iso8601>=0.1.4
And the Glance like this:
# The greenlet package must be compiled with gcc and needs
# the Python.h headers. Make sure you install the python-dev
# package to get the right headers...
greenlet>=0.3.1

SQLAlchemy>=0.7
anyjson
eventlet>=0.9.12
PasteDeploy
routes
webob==1.0.8
wsgiref
argparse
boto==2.1.1
sqlalchemy-migrate>=0.7
httplib2
xattr>=0.6.0
kombu
pycrypto>=2.1.0alpha1
pysendfile==2.0.0
iso8601>=0.1.4

# For Swift storage backend.
python-swiftclient>=1,<2

# Note you will need gcc buildtools installed and must
# have installed libxml headers for lxml to be successfully
# installed using pip, therefore you will need to install the
# libxml2-dev and libxslt-dev Ubuntu packages.
lxml

# For paste.util.template used in keystone.common.template
Paste

passlib
jsonschema

So If you install the Glance and Keystone in one PC,the Glance can reload the anyjson to 0.3.3.So I think you can add anyjson==0.2.4 to Keystone pip-requires and install.