日志/var/log/glance/api.log
2014-12-23 09:20:29.454 1472 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
2014-12-23 09:20:29.601 1472 INFO glance.registry.client.v1.client [8d19abc1-712f-48fc-bcfd-d431a269ae9c 25d9fe78eccf46fa876c59bc6df7f7ae 6298a6f29bcf43489a051975b36df694 - - -] Registry client request POST /images raised ServerError
2014-12-23 09:20:29.602 1472 INFO glance.wsgi.server [8d19abc1-712f-48fc-bcfd-d431a269ae9c 25d9fe78eccf46fa876c59bc6df7f7ae 6298a6f29bcf43489a051975b36df694 - - -] Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 389, in handle_one_response
result = self.application(self.environ, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 378, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 679, in __call__
return self.app(env, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 378, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 203, in __call__
return app(environ, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 644, in __call__
request, **action_args)
File "/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 668, in dispatch
return method(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/utils.py", line 436, in wrapped
return func(self, req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/api/v1/images.py", line 794, in create
image_meta = self._reserve(req, image_meta)
File "/usr/lib/python2.6/site-packages/glance/api/v1/images.py", line 523, in _reserve
image_meta = registry.add_image_metadata(req.context, image_meta)
File "/usr/lib/python2.6/site-packages/glance/registry/client/v1/api.py", line 161, in add_image_metadata
return c.add_image(image_meta)
File "/usr/lib/python2.6/site-packages/glance/registry/client/v1/client.py", line 163, in add_image
res = self.do_request("POST", "/images", body=body, headers=headers)
File "/usr/lib/python2.6/site-packages/glance/registry/client/v1/client.py", line 107, in do_request
**kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 66, in wrapped
return func(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 386, in do_request
headers=copy.deepcopy(headers))
File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 83, in wrapped
return func(self, method, url, body, headers)
File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 542, in _do_request
raise exception.ServerError()
ServerError: The request returned 500 Internal Server Error.
2014-12-23 09:20:29.642 1472 INFO glance.wsgi.server [8d19abc1-712f-48fc-bcfd-d431a269ae9c 25d9fe78eccf46fa876c59bc6df7f7ae 6298a6f29bcf43489a051975b36df694 - - -] 192.168.25.7 - - [23/Dec/2014 09:20:29] "POST /v1/images HTTP/1.1" 500 139 0.189350
|