<div dir="ltr">the vxlan part is definitely working, its the 'flat' part that i've just added which is not.<br><br>and, more specifically, its the ability to attach a nova instance to it. I'm not sure what i can do for screen shots, the error is the kind of generic:<br><br><font face="courier new, monospace"> [req-d7df11f2-0a13-49e6-acf4-69fff926519f 6f5b7388bbce42f7a53a2af62fb43f06 4ef0f0caa0884594b3fd5d39efc892dc] [instance: fba1b229-5e5e-429d-8e4f-fa6fd7898d21] Error from last host: amazing.sandvine.rocks (node amazing.sandvine.rocks): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1329, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1741, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1738, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2284, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3478, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3292, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']</font><br><div><br></div><div>the 'unexpected vif_type' covers a wide variety of problems. I get this if i add boot with a port-id on the new flat network, or if i boot with the net-id of the new flat network.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 October 2014 21:49, Don Waterloo <span dir="ltr"><<a href="mailto:don.waterloo@gmail.com" target="_blank">don.waterloo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a system which is happily using vxlan type driver on icehouse<br>
on ml2 / ovs.<br>
<br>
I would now like to take on of the physical interfaces (eth1) and make<br>
it available in a 'tap' to a specific instance. Imagine running<br>
'snort' here.<br>
<br>
So i added the 'type_driver' flat:<br>
[ml2]<br>
type_drivers = vxlan,flat,local<br>
tenant_network_types = vxlan<br>
mechanism_drivers = openvswitch<br>
<br>
I added the bridge_mapping in ovs (this i'm not sure of given the<br>
tunnel_type=vxlan?)<br>
[ovs]<br>
tenant_network_type = vxlan<br>
tunnel_type = vxlan<br>
tunnel_id_ranges = 1:1000<br>
integration_bridge = br-int<br>
tunnel_bridge = br-tun<br>
local_ip = 172.16.100.2<br>
bridge_mappings = physnet1:br-ex,eth1:br-eth1,eth3:br-eth3<br>
enable_tunneling=True<br>
<br>
I ran<br>
ovs-vsctl add-br br-eth1<br>
ovs-vsctl add-port br-eth1 eth1<br>
<br>
and I ran:<br>
neutron net-create --shared --provider:network_type=flat<br>
--provider:physical_network=br-eth1 eth1<br>
<br>
so far so good.<br>
But i cannot get an instance to bind to this network. I've tried<br>
manually creating a port and using --nic port-id=, i've tried letting<br>
it add it. But i get Unexpected vif_type=binding_failed no matter what<br>
i do.<br>
<br>
In nova.conf I have<br>
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver<br>
<br>
and i have port security disable fwiw.<br>
<br>
Do someone have a recipe they want to share for this? Obviously this<br>
works best on an 'all-in-one' which is what I have. Is someone else<br>
out there having an instance directly bound to a physical port via a<br>
bridge?<br>
</blockquote></div><br></div>