Ask Your Question
0

nova instance created and shows error - OVS network

asked 2014-02-25 08:22:29 -0500

asekaran gravatar image

updated 2014-02-26 10:46:06 -0500

dheeru gravatar image

Hi,

We have created the OVS network and able to create instances but showing error as below.

root@compute1:~# nova list
+--------------------------------------+--------+--------+------------+-------------+----------+
| ID                                   | Name   | Status | Task State | Power State | Networks |
+--------------------------------------+--------+--------+------------+-------------+----------+
| 9a6cd810-faf8-4056-97c5-7a3feb9f8b75 | ubuntu | ERROR  | None       | NOSTATE     |          |
+--------------------------------------+--------+--------+------------+-------------+----------+

 - Nova-Scheduler logs:
2014-02-25 19:41:11.620 1099 INFO nova.scheduler.filter_scheduler [req-6bd23943-6a51-4150-9ae2-2934877aa166 59f560db703f4975a0c1ec1776f94377 e880401b18c643029da8ddf3eee3d3f2] Attempting to build 1 instance(s) uuids: [u'5fb480cf-bce5-49c3-bfae-cc3b9552094e']
2014-02-25 19:41:11.634 1099 INFO nova.scheduler.filter_scheduler [req-6bd23943-6a51-4150-9ae2-2934877aa166 59f560db703f4975a0c1ec1776f94377 e880401b18c643029da8ddf3eee3d3f2] Choosing host WeighedHost [host: compute1, weight: 11493.0] for instance 5fb480cf-bce5-49c3-bfae-cc3b9552094e
2014-02-25 19:41:31.499 1099 INFO nova.scheduler.filter_scheduler [req-6bd23943-6a51-4150-9ae2-2934877aa166 59f560db703f4975a0c1ec1776f94377 e880401b18c643029da8ddf3eee3d3f2] Attempting to build 1 instance(s) uuids: [u'5fb480cf-bce5-49c3-bfae-cc3b9552094e']
2014-02-25 19:41:31.500 1099 ERROR nova.scheduler.filter_scheduler [req-6bd23943-6a51-4150-9ae2-2934877aa166 59f560db703f4975a0c1ec1776f94377 e880401b18c643029da8ddf3eee3d3f2] [instance: 5fb480cf-bce5-49c3-bfae-cc3b9552094e] Error from last host: compute1 (node compute1): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1420, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1417, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2063, in spawn\n    admin_pass=admin_password)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2461, in _create_image\n    net = netutils.get_injected_network_template(network_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/netutils.py", line 74, in get_injected_network_template\n    if not (network_info and template):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 379, in __len__\n    return self._sync_wrapper(fn, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 366, in _sync_wrapper\n    self.wait()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 398, in wait\n    self[:] = self._gt.wait()\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait\n    return self._exit_event.wait()\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 120, in wait\n    current.throw(*self._exc)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main\n    result = function(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1238, in _allocate_network_async\n    dhcp_options=dhcp_options)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 49, in wrapper\n    res = f(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 276, in allocate_for_instance\n    **search_opts).get(\'security_groups\')\n', u'  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 108, in with_params\n    ret = self.function(instance, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 466, in list_security_groups\n    retrieve_all, **_params)\n', u'  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-02-25 08:44:25 -0500

updated 2014-04-17 10:32:13 -0500

you must have a br-int bridge. you could add it with this command:

ovs-vsctl add-br br-int
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-25 08:22:29 -0500

Seen: 313 times

Last updated: Apr 17 '14