openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06940
Error getting image list via nova
I am using the latest version of nova, glance and swift from Ubuntu and I am running into an issue getting the list of images via nova. When I run either nova image-list or euca-describe-images I get the following (glance index works just fine):
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/python2.7/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 113, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
application, catch_exc_info=False)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 113, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
application, catch_exc_info=False)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
return resp(environ, start_response)
File "/usr/lib/pymodules/python2.7/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
return resp(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 311, in __call__
request, **action_args)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 328, in dispatch
return method(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 147, in detail
**params)
File "/usr/lib/python2.7/dist-packages/glance/registry/__init__.py", line 42, in get_images_detail
return c.get_images_detailed(**kwargs)
File "/usr/lib/python2.7/dist-packages/glance/registry/client.py", line 62, in get_images_detailed
res = self.do_request("GET", "/images/detail", params=params)
File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 140, in do_request
method, action, body=body, headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 232, in _do_request
raise Exception("Internal Server error: %s" % res.read())
Exception: 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/python2.7/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 113, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
application, catch_exc_info=False)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
return resp(environ, start_response)
File "/usr/lib/pymodules/python2.7/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
return resp(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 311, in __call__
request, **action_args)
File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 328, in dispatch
return method(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/glance/registry/server.py", line 112, in detail
images = self._get_images(req.context, **params)
File "/usr/lib/python2.7/dist-packages/glance/registry/server.py", line 62, in _get_images
return db_api.image_get_all(context, **params)
File "/usr/lib/python2.7/dist-packages/glance/registry/db/api.py", line 253, in image_get_all
or_(sort_key_attr < marker_value,
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/expression.py", line 1575, in __lt__
return self.operate(operators.lt, other)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 127, in operate
return op(self.comparator, *other, **kwargs)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/expression.py", line 1575, in __lt__
return self.operate(operators.lt, other)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/properties.py", line 158, in operate
return op(self.__clause_element__(), *other, **kwargs)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/expression.py", line 1575, in __lt__
return self.operate(operators.lt, other)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/expression.py", line 1745, in operate
return o[0](self, op, other[0], *o[1:], **kwargs)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/expression.py", line 1684, in __compare
raise exc.ArgumentError("Only '='/'!=' operators can "
ArgumentError: Only '='/'!=' operators can be used with NULL
(HTTP 500)
Please help!