I then tried http://devstack.org , and entered
git clone git://github.com/cloudbuilders/devstack.git
cd devstack; ./stack.sh
However, I got the following flags:
Failed to add image. Got error:
Internal Server error: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336, in handle_one_response
result = self.application(self.environ, start_response)
File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
resp = self.call_func(req, args, *self.kwargs)
File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
return self.func(req, args, *kwargs)
File "/opt/stack/glance/glance/common/wsgi.py", line 113, in __call__
response = req.get_response(self.application)
File "/usr/lib/pymodules/python2.7/webob/request.py", line 1053, in get_response
application, catch_exc_info=False)
File "/usr/lib/pymodules/python2.7/webob/request.py", line 1022, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
resp = self.call_func(req, args, *self.kwargs)
File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
return self.func(req, args, *kwargs)
File "/opt/stack/glance/glance/common/wsgi.py", line 110, in __call__
response = self.process_request(req)
File "/opt/stack/glance/glance/common/context.py", line 111, in process_request
raise exception.NotAuthorized()
NotAuthorized: None
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
It seems that it uses python 2.7. Should I install and use python 2.6?
Thanks,
Jerry