XenServer Found no network for bridge br100

asked 2011-06-07 14:22:36 -0500

ethuleau gravatar image

I use Nova revision 1158 with a XenServer 5.6 hypervisor. I create an Ubuntu 10.04 server amd64 para vitualized VM on the XenServer host. I install nova-compute on It.

I want to use the VLAN network mode. For that, the XenServer host get two interfaces: eth0 for public network and eth1 for the private network. The eth0 interface is attach to the bridge xenbr0 (Network 0) and the interface eth1 to the bridge xenbr1 (Network 1).

My nova compute VM have VNICs on each network: eth0 for public network and eth1 for private. I set flag vlan_interface to eth1 and public_interface to eth0.

When I try to start an instance, I get this error when the compute tries to add VNIC:

2011-06-07 15:59:38,666 DEBUG nova [-] creating vif(s) for vm: |OpaqueRef:0eb5ccc7-23cc-0019-07b7-26d5fa515109| from (pid=21306) create_vifs /usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py:902 2011-06-07 15:59:38,765 ERROR nova.compute.manager [-] Instance '22' failed to spawn. Is virtualization enabled in the BIOS? Details: Found no network for bridge br100 (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 256, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi_conn.py", line 199, in spawn (nova.compute.manager): TRACE: self._vmops.spawn(instance) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py", line 120, in spawn (nova.compute.manager): TRACE: vm_ref = self._create_vm(instance, vdis, network_info) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py", line 194, in _create_vm (nova.compute.manager): TRACE: self.create_vifs(vm_ref, network_info) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py", line 914, in create_vifs (nova.compute.manager): TRACE: bridge) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/network_utils.py", line 58, in find_network_with_bridge (nova.compute.manager): TRACE: raise Exception(_('Found no network for bridge %s') % bridge) (nova.compute.manager): TRACE: Exception: Found no network for bridge br100 (nova.compute.manager): TRACE:

I don't understand why it tries to get network on bridge br100 through the XenAPI ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-06-08 09:08:54 -0500

ethuleau gravatar image

I found my mistake. I forget to set the flag 'network_driver' to 'nova.network.xenapi_net' No documentation explain that.

I opened a bug ( https://bugs.launchpad.net/nova/+bug/794441 (https://bugs.launchpad.net/nova/+bug/...) ) about a poor XenAPI driver documentation. I just found some informations on the wiki page http://wiki.openstack.org/XenServerDevelopment (http://wiki.openstack.org/XenServerDe...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-07 14:22:36 -0500

Seen: 87 times

Last updated: Jun 08 '11