[Openstack] Problem with neutron

Mārtiņš Jakubovičs martins at hostnet.lv
Fri Dec 13 08:54:14 UTC 2013


Hello all,

I have problem with setting up neutron. I have latest havana realase and 
XenServer 6.2 as hypervisor.
I did all step-by-step from this tutorial 
http://docs.openstack.org/havana/install-guide/install/apt/content/neutron-install-network-node.html
All is going well, I can create network's, create router, create 
subnets, assign all that stuff... But when I start to create VM with 
selected network (demo-net or ext-net as describet in documentation), VM 
fail to build and erase from XenServer.
Error message - Exception: Found no network for bridge br-int

I looked in a lot of documentation, but can't find what I did wrong.

Thanks.

Full error message:

2013-12-13 10:49:01.677 27965 INFO nova.virt.xenapi.vm_utils 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] VBD 
OpaqueRef:9719605d-c322-d591-cede-01dd8940706f detach rejected, attempt 1/11
2013-12-13 10:49:03.174 27965 ERROR nova.utils 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Failed to spawn, 
rolling back
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback (most recent call last):
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 491, 
in _spawn
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] setup_network_step(undo_mgr, vm_ref)
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 153, 
in inner
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     rv = f(*args, **kwargs)
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 453, 
in setup_network_step
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] self._create_vifs(instance, 
vm_ref, network_info)
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1576, 
in _create_vifs
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     vm_ref=vm_ref, device=device)
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py", line 55, in plug
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     self._session, 
vif['network']['bridge'])
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py", 
line 51, in find_network_with_bridge
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     raise Exception(_('Found no 
network for bridge %s') % bridge)
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception: Found no network for 
bridge br-int
2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
2013-12-13 10:49:03.186 27965 WARNING nova.virt.xenapi.vm_utils 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] VM already halted, 
skipping shutdown...
2013-12-13 10:49:03.472 27965 ERROR nova.virt.xenapi.vm_utils 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
['HANDLE_INVALID', 'VDI', 'OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5']
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils Traceback 
(most recent call last):
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 
439, in destroy_vdi
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils 
session.call_xenapi('VDI.destroy', vdi_ref)
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 757, 
in call_xenapi
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils return 
session.xenapi_request(method, args)
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils   File 
"/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in 
xenapi_request
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils result = 
_parse_result(getattr(self, methodname)(*full_params))
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils   File 
"/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in 
_parse_result
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils raise 
Failure(result['ErrorDescription'])
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils Failure: 
['HANDLE_INVALID', 'VDI', 'OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5']
2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils
2013-12-13 10:49:03.475 27965 ERROR nova.virt.xenapi.vm_utils 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
Unable to destroy VDI OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5
2013-12-13 10:49:03.476 27965 ERROR nova.compute.manager 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Instance failed to spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback (most recent call last):
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, 
in _spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     block_device_info)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 216, 
in spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     admin_password, network_info, 
block_device_info)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 359, 
in spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     network_info, 
block_device_info, name_label, rescue)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 505, 
in _spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] 
undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 979, in 
rollback_and_reraise
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     self._rollback()
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 491, 
in _spawn
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] setup_network_step(undo_mgr, vm_ref)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 153, 
in inner
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     rv = f(*args, **kwargs)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 453, 
in setup_network_step
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] self._create_vifs(instance, 
vm_ref, network_info)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1576, 
in _create_vifs
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     vm_ref=vm_ref, device=device)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py", line 55, in plug
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     self._session, 
vif['network']['bridge'])
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py", 
line 51, in find_network_with_bridge
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     raise Exception(_('Found no 
network for bridge %s') % bridge)
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception: Found no network for 
bridge br-int
2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
2013-12-13 10:49:03.548 27965 AUDIT nova.compute.manager 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Terminating instance
2013-12-13 10:49:04.174 27965 INFO nova.virt.xenapi.vmops 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Destroying VM
2013-12-13 10:49:04.179 27965 WARNING nova.virt.xenapi.vmops 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] VM is not present, 
skipping destroy...
2013-12-13 10:49:04.422 27965 ERROR nova.compute.manager 
[req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e 
a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426] 
[instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Error: Found no network 
for bridge br-int
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback (most recent call last):
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, 
in _build_instance
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] set_access_ip=set_access_ip)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1410, 
in _spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     LOG.exception(_('Instance 
failed to spawn'), instance=instance)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, 
in _spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     block_device_info)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 216, 
in spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     admin_password, network_info, 
block_device_info)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 359, 
in spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     network_info, 
block_device_info, name_label, rescue)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 505, 
in _spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] 
undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 979, in 
rollback_and_reraise
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     self._rollback()
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 491, 
in _spawn
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] setup_network_step(undo_mgr, vm_ref)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 153, 
in inner
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     rv = f(*args, **kwargs)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 453, 
in setup_network_step
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] self._create_vifs(instance, 
vm_ref, network_info)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1576, 
in _create_vifs
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     vm_ref=vm_ref, device=device)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py", line 55, in plug
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     self._session, 
vif['network']['bridge'])
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py", 
line 51, in find_network_with_bridge
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]     raise Exception(_('Found no 
network for bridge %s') % bridge)
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception: Found no network for 
bridge br-int
2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager [instance: 
5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]




More information about the Openstack mailing list