出错详情

[root@openStack image]# glance add name="tty-linux-kernel" disk_format=aki container_format=aki < ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
============================================================================================[100%] 20.9M/s, ETA  0h  0m  0s
Failed to add image. Got error:
The request returned 500 Internal Server Error


The response body:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 336, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/common/wsgi.py", line 279, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.6/site-packages/webob/request.py", line 1053, in get_response
    application, catch_exc_info=False)
  File "/usr/lib/python2.6/site-packages/webob/request.py", line 1022, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.6/site-packages/keystone-2012.1-py2.6.egg/keystone/middleware/auth_token.py", line 176, in __call__
    return self.app(env, start_response)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/common/wsgi.py", line 279, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.6/site-packages/webob/request.py", line 1053, in get_response
    application, catch_exc_info=False)
  File "/usr/lib/python2.6/site-packages/webob/request.py", line 1022, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, 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 159, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/common/wsgi.py", line 477, in __call__
    request, **action_args)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/common/wsgi.py", line 494, in dispatch
    return method(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/api/v1/images.py", line 606, in create
    image_meta = self._handle_source(req, id, image_meta, image_data)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/api/v1/images.py", line 545, in _handle_source
    image_meta = self._upload_and_activate(req, image_meta)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/api/v1/images.py", line 536, in _upload_and_activate
    location = self._upload(req, image_meta)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/api/v1/images.py", line 465, in _upload
    self.notifier.error('image.upload', msg)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/notifier/__init__.py", line 73, in error
    self.strategy.error(msg)
  File "/usr/lib/python2.6/site-packages/glance-2012.1-py2.6.egg/glance/notifier/notify_qpid.py", line 150, in error
    self.sender_error.send(qpid_msg)
  File "", line 6, in send
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 836, in send
    self._ecwait(lambda: self.linked)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 50, in _ecwait
    result = self._ewait(lambda: self.closed or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 787, in _ewait
    result = self.session._ewait(lambda: self.error or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 554, in _ewait
    result = self.connection._ewait(lambda: self.error or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 197, in _ewait
    self.check_error()
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 190, in check_error
    raise self.error
InternalError: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 507, in dispatch
    self.engine.dispatch()
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 811, in dispatch
    self.process(ssn)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 1046, in process
    self.send(snd, msg)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 1274, in send
    sst.write_cmd(xfr, msg_acked, sync=msg._sync)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 158, in write_cmd
    self.write_op(cmd)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 171, in write_op
    self.driver.write_op(op)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 684, in write_op
    self._seg_enc.write(*self._op_enc.read())
  File "/usr/lib/python2.6/site-packages/qpid/framing.py", line 178, in write
    payload = remaining[:self.max_payload]
TypeError: unhashable type




Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
[root@openStack image]# 

你可能感兴趣的:(出错详情)