Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am running into the same problem. I am on Ubuntu 14.04. I am using vxlan, neutron. The upshot of the below is that my nova instance will not come up (no host found, vif plugging problem). Specifically, it says "Unexpected vif_type=binding_failed".

What happens is that, in my openvswitch log, I see:

2014-07-23T01:28:55.592Z|00025|ofproto|INFO|br-tun: 10 flow_mods 10 s ago (9 adds, 1 deletes)
2014-07-23T01:29:35.607Z|00026|bridge|INFO|bridge br-ex: added interface tap06f8001d-ed on port 3
2014-07-23T01:29:36.019Z|00027|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on tap06f8001d-ed device failed: No such device
2014-07-23T01:29:36.616Z|00028|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on tap06f8001d-ed device failed: No such device

So it adds the interface then can't deal with it. The interface in question is located in a namespace, and I do see it:

$ ip netns list
qdhcp-82c77d7b-3a84-4e35-b9fa-c38353760f3c
don@nubo-7:/var/log/openvswitch$ sudo ip netns exec qdhcp-82c77d7b-3a84-4e35-b9fa-c38353760f3c ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:576 (576.0 B)  TX bytes:576 (576.0 B)

tap06f8001d-ed Link encap:Ethernet  HWaddr fa:16:3e:4d:a4:b5  
          inet addr:172.16.4.11  Bcast:172.16.4.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe4d:a4b5/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:1 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:279 (279.0 B)  TX bytes:816 (816.0 B)

If I look @ the ovs-ofcttl:

$ sudo ovs-ofctl show br-ex
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000001b2165b284
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(p3p1): addr:00:1b:21:65:b2:84
     config:     0
     state:      0
     current:    1GB-FD AUTO_NEG
     advertised: 1GB-FD 10GB-FD FIBER AUTO_NEG
     supported:  1GB-FD 10GB-FD FIBER AUTO_NEG
     speed: 1000 Mbps now, 10000 Mbps max
 2(phy-br-ex): addr:6a:12:ed:b6:fc:25
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 3(tap06f8001d-ed): addr:00:00:00:00:00:00
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(br-ex): addr:00:1b:21:65:b2:84
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

My ml2 plugin is:

[ovs]
tenant_network_type = vxlan,flat
tunnel_type = vxlan
tunnel_id_ranges = 
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = 10.129.247.8
bridge_mappings = physnet1:br-ex
[agent]
tunnel_types = vxlan
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True

$ sudo ovs-vsctl show
1603bde4-cd87-4e9b-a169-95447bc8bbca
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
        Port int-br-ex
            Interface int-br-ex
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "p3p1"
            Interface "p3p1"
        Port "tap06f8001d-ed"
            Interface "tap06f8001d-ed"
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
    ovs_version: "2.0.1"

I have use_namespaces = True in l3_agent.ini and dhcp_agent.ini (where this problem comes from).

Can anyone make any suggestion? I had the setup working on 'flat' before i switched to vxlan.