[Openstack-operators] Error on booting an instance with Quantum Manager
liangjx
liangjx at buptnet.edu.cn
Wed May 23 04:18:36 UTC 2012
hello everyone from Junxue Liang.
I have installed Quantum and OpenvSwitch Plugin according to the official document in
http://docs.openstack.org/trunk/openstack-network/admin/content/Source-Install-d1e445.html
and
http://openvswitch.org/openstack/documentation/
i have boot the instance successful without creating network, but when i create private network with "nova-manage network create" and boot the instance, error appeared
below is the log file from /var/log/nova/nova-compute.log
2012-05-23 11:05:22 AUDIT nova.compute.manager [req-5f2e56ed-b373-4fc2-852f-cef973ed39e4 56887c73d63941b79dad8b6c5c69afbb 4241902a0a3b4fa8bee55567f9a743c2] [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] Starting instance...
2012-05-23 11:05:55 INFO nova.rpc.common [-] Connected to AMQP server on localhost:5672
2012-05-23 11:05:59 INFO nova.virt.libvirt.connection [-] Compute_service record updated for essex1
2012-05-23 11:06:22 ERROR nova.rpc.common [req-5f2e56ed-b373-4fc2-852f-cef973ed39e4 56887c73d63941b79dad8b6c5c69afbb 4241902a0a3b4fa8bee55567f9a743c2] Timed out waiting for RPC response: timed out
2012-05-23 11:06:22 TRACE nova.rpc.common Traceback (most recent call last):
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 490, in ensure
2012-05-23 11:06:22 TRACE nova.rpc.common return method(*args, **kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 567, in _consume
2012-05-23 11:06:22 TRACE nova.rpc.common return self.connection.drain_events(timeout=timeout)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 175, in drain_events
2012-05-23 11:06:22 TRACE nova.rpc.common return self.transport.drain_events(self.connection, **kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 238, in drain_events
2012-05-23 11:06:22 TRACE nova.rpc.common return connection.drain_events(**kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 57, in drain_events
2012-05-23 11:06:22 TRACE nova.rpc.common return self.wait_multi(self.channels.values(), timeout=timeout)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 63, in wait_multi
2012-05-23 11:06:22 TRACE nova.rpc.common chanmap.keys(), allowed_methods, timeout=timeout)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 120, in _wait_multiple
2012-05-23 11:06:22 TRACE nova.rpc.common channel, method_sig, args, content = read_timeout(timeout)
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 94, in read_timeout
2012-05-23 11:06:22 TRACE nova.rpc.common return self.method_reader.read_method()
2012-05-23 11:06:22 TRACE nova.rpc.common File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method
2012-05-23 11:06:22 TRACE nova.rpc.common raise m
2012-05-23 11:06:22 TRACE nova.rpc.common timeout: timed out
2012-05-23 11:06:22 TRACE nova.rpc.common
2012-05-23 11:06:22 ERROR nova.compute.manager [req-5f2e56ed-b373-4fc2-852f-cef973ed39e4 56887c73d63941b79dad8b6c5c69afbb 4241902a0a3b4fa8bee55567f9a743c2] [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] Instance failed network setup
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] Traceback (most recent call last):
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 559, in _allocate_network
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] requested_networks=requested_networks)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 170, in allocate_for_instance
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] 'args': args})
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 68, in call
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] return _get_impl().call(context, topic, msg, timeout)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 674, in call
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 338, in call
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] rv = list(rv)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 299, in __iter__
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] self._iterator.next()
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 572, in iterconsume
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] yield self.ensure(_error_callback, _consume)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 503, in ensure
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] error_callback(e)
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 553, in _error_callback
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] raise rpc_common.Timeout()
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670] Timeout: Timeout while waiting on RPC response.
2012-05-23 11:06:22 TRACE nova.compute.manager [instance: 2e1f7c04-7fd3-435d-8f6f-dde63cdb5670]
2012-05-23 11:06:22 ERROR nova.rpc.amqp [req-5f2e56ed-b373-4fc2-852f-cef973ed39e4 56887c73d63941b79dad8b6c5c69afbb 4241902a0a3b4fa8bee55567f9a743c2] Exception during message handling
2012-05-23 11:06:22 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data
2012-05-23 11:06:22 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-23 11:06:22 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-05-23 11:06:22 TRACE nova.rpc.amqp sys.exc_info())
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-23 11:06:22 TRACE nova.rpc.amqp self.gen.next()
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
2012-05-23 11:06:22 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651, in run_instance
2012-05-23 11:06:22 TRACE nova.rpc.amqp do_run_instance()
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
2012-05-23 11:06:22 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 650, in do_run_instance
2012-05-23 11:06:22 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451, in _run_instance
2012-05-23 11:06:22 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-23 11:06:22 TRACE nova.rpc.amqp self.gen.next()
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 424, in _run_instance
2012-05-23 11:06:22 TRACE nova.rpc.amqp requested_networks)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 559, in _allocate_network
2012-05-23 11:06:22 TRACE nova.rpc.amqp requested_networks=requested_networks)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 170, in allocate_for_instance
2012-05-23 11:06:22 TRACE nova.rpc.amqp 'args': args})
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 68, in call
2012-05-23 11:06:22 TRACE nova.rpc.amqp return _get_impl().call(context, topic, msg, timeout)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 674, in call
2012-05-23 11:06:22 TRACE nova.rpc.amqp return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 338, in call
2012-05-23 11:06:22 TRACE nova.rpc.amqp rv = list(rv)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 299, in __iter__
2012-05-23 11:06:22 TRACE nova.rpc.amqp self._iterator.next()
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 572, in iterconsume
2012-05-23 11:06:22 TRACE nova.rpc.amqp yield self.ensure(_error_callback, _consume)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 503, in ensure
2012-05-23 11:06:22 TRACE nova.rpc.amqp error_callback(e)
2012-05-23 11:06:22 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 553, in _error_callback
2012-05-23 11:06:22 TRACE nova.rpc.amqp raise rpc_common.Timeout()
2012-05-23 11:06:22 TRACE nova.rpc.amqp Timeout: Timeout while waiting on RPC response.
2012-05-23 11:06:22 TRACE nova.rpc.amqp
any help is appreciated
2012-05-23
liangjx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120523/e9930be4/attachment-0002.html>
More information about the Openstack-operators
mailing list