More clue...
Tried to add image with glance CLI tool....
==================================
root@api001:~/image/maver# glance add name="TEST_MAV" is_public=true disk_format=aki container_format=aki < maverick-server-uec-amd64-vmlinuz-virtual
Added new image with ID: 10
==================================
ID Name Disk Format Container Format Size
---------------- ------------------------------ -------------------- -------------------- --------------
10 TEST_MAV aki aki 4408496
==================================
But while I add ami , there's got some error , I believe that will help.....
[TRACE]
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 "/usr/lib/pymodules/python2.7/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 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/pymodules/python2.7/webob/dec.py", line 159, in __call__
return resp(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 "/usr/lib/pymodules/python2.7/glance/common/wsgi.py", line 307, in __call__
action, request)
File "/usr/lib/pymodules/python2.7/glance/common/wsgi.py", line 328, in dispatch
return method(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/glance/api/v1/images.py", line 517, in create
return self._deserialize(request)
File "/usr/lib/pymodules/python2.7/glance/api/v1/images.py", line 512, in _deserialize
data = request.body if self.has_body(request) else None
File "/usr/lib/pymodules/python2.7/webob/request.py", line 483, in _body__get
self.make_body_seekable() # we need this to have content_length
File "/usr/lib/pymodules/python2.7/webob/request.py", line 739, in make_body_seekable
self.copy_body()
File "/usr/lib/pymodules/python2.7/webob/request.py", line 755, in copy_body
self.body = self.body_file_raw.read()
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 147, in read
return self._chunked_read(self.rfile, length)
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 143, in _chunked_read
return ''.join(response)
MemoryError
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
More clue...
Tried to add image with glance CLI tool....
======= ======= ======= ======= ====== ~/image/ maver# glance add name="TEST_MAV" is_public=true disk_format=aki container_ format= aki < maverick- server- uec-amd64- vmlinuz- virtual ======= ======= ======= ====== ------- ------- ------- -- ------- ------- ------ ------- ------- ------ -------------- ======= ======= ======= ======
root@api001:
Added new image with ID: 10
=======
ID Name Disk Format Container Format Size
---------------- -------
10 TEST_MAV aki aki 4408496
=======
But while I add ami , there's got some error , I believe that will help.....
======= ======= ======= ======= ===== format= ami kernel_id=10 < maverick- server- uec-amd64. img
# glance add name="TEST_MAV_AMI" is_public=true disk_format=ami container_
[TRACE] python2. 7/dist- packages/ eventlet/ wsgi.py" , line 336, in handle_one_response n(self. environ, start_response) pymodules/ python2. 7/webob/ dec.py" , line 147, in __call__ pymodules/ python2. 7/webob/ dec.py" , line 208, in call_func pymodules/ python2. 7/glance/ common/ wsgi.py" , line 113, in __call__ response( self.applicatio n) pymodules/ python2. 7/webob/ request. py", line 1053, in get_response info=False) pymodules/ python2. 7/webob/ request. py", line 1022, in call_application self.environ, start_response) pymodules/ python2. 7/webob/ dec.py" , line 159, in __call__ pymodules/ python2. 7/routes/ middleware. py", line 131, in __call__ pymodules/ python2. 7/webob/ dec.py" , line 159, in __call__ pymodules/ python2. 7/webob/ dec.py" , line 147, in __call__ pymodules/ python2. 7/webob/ dec.py" , line 208, in call_func pymodules/ python2. 7/glance/ common/ wsgi.py" , line 307, in __call__ pymodules/ python2. 7/glance/ common/ wsgi.py" , line 328, in dispatch pymodules/ python2. 7/glance/ api/v1/ images. py", line 517, in create ze(request) pymodules/ python2. 7/glance/ api/v1/ images. py", line 512, in _deserialize body(request) else None pymodules/ python2. 7/webob/ request. py", line 483, in _body__get make_body_ seekable( ) # we need this to have content_length pymodules/ python2. 7/webob/ request. py", line 739, in make_body_seekable copy_body( ) pymodules/ python2. 7/webob/ request. py", line 755, in copy_body file_raw. read() python2. 7/dist- packages/ eventlet/ wsgi.py" , line 147, in read read(self. rfile, length) python2. 7/dist- packages/ eventlet/ wsgi.py" , line 143, in _chunked_read
Internal Server error: Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
action, request)
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
return self._deseriali
File "/usr/lib/
data = request.body if self.has_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.body = self.body_
File "/usr/lib/
return self._chunked_
File "/usr/lib/
return ''.join(response)
MemoryError
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.