[Openstack] problem in creating a VM
Zhengguang Ou
zhengguangou at gmail.com
Wed Aug 21 13:16:06 UTC 2013
Hi all,
I have installed grizzly on ubuntu 13.04 and VMWare virtual machine, When I
create a vm, I hava a problem.
nova-compute.log:
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] Traceback (most recent call last):
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1103, in
_spawn
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] block_device_info)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1520,
in spawn
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] admin_pass=admin_password)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1806,
in _create_image
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] project_id=instance['project_id'])
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
158, in cache
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] *args, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
258, in create_image
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] prepare_template(target=base,
*args, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line
228, in inner
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] retval = f(*args, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
146, in call_if_not_exists
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] fetch_func(target=target, *args,
**kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 593, in
fetch_image
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] images.fetch_to_raw(context,
image_id, target, user_id, project_id)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 207, in
fetch_to_raw
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] fetch(context, image_href,
path_tmp, user_id, project_id)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 202, in fetch
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] image_service.download(context,
image_id, image_file)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 278, in
download
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4]
_reraise_translated_image_exception(image_id)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 276, in
download
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] image_chunks =
self._client.call(context, 1, 'data', image_id)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 182, in call
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return getattr(client.images,
method)(*args, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 117, in
data
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] % urllib.quote(image_id))
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 260,
in raw_request
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return self._http_request(url,
method, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 221,
in _http_request
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] raise exc.from_response(resp,
body_str)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] HTTPInternalServerError: Traceback
(most recent call last):
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 383, in
handle_one_response
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] result =
self.application(self.environ, start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] resp = self.call_func(req, *args,
**self.kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return self.func(req, *args,
**kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 333, in
__call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] response =
req.get_response(self.application)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] application, catch_exc_info=False)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
call_application
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] app_iter =
application(self.environ, start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 450, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return self.app(env,
start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] resp = self.call_func(req, *args,
**self.kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return self.func(req, *args,
**kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 333, in
__call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] response =
req.get_response(self.application)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] application, catch_exc_info=False)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
call_application
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] app_iter =
application(self.environ, start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
call_application
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] app_iter =
application(self.environ, start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 203, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return app(environ,
start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return resp(environ,
start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in
__call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] response = self.app(environ,
start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return resp(environ,
start_response)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] resp = self.call_func(req, *args,
**self.kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return self.func(req, *args,
**kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 540, in
__call__
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] request, **action_args)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 557, in
dispatch
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return method(*args, **kwargs)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 323, in
show
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] image_meta['location'])
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 299, in
_get_from_store
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] image_data, image_size =
get_from_backend(context, where)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/store/__init__.py", line 219, in
get_from_backend
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] return store.get(loc)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/store/http.py", line 124, in get
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] conn, resp, content_length =
self._query(location, 'GET')
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/glance/store/http.py", line 159, in _query
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] conn.request(verb, loc.path, "",
{})
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 973, in request
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self._send_request(method, url,
body, headers)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 1007, in _send_request
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self.endheaders(body)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 969, in endheaders
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self._send_output(message_body)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 829, in _send_output
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self.send(msg)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 791, in send
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self.connect()
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/httplib.py", line 1172, in connect
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] self.timeout, self.source_address)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] File
"/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 43, in
create_connection
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] for res in getaddrinfo(host,
port, 0, SOCK_STREAM):
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] error: [Errno 110] Connection timed
out
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4] (HTTP 500)
2013-08-21 05:21:03.592 17518 TRACE nova.compute.manager [instance:
24f9d999-b53f-47c9-adab-716779b0edf4]
Thank you very much for your help in advance
Regards
Zhengguang Ou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130821/4555d516/attachment.html>
More information about the Openstack
mailing list