Revision history [back]

click to hide/show revision 1
initial version

It's also better to check neutron server.log.
When I encountered this error I sow the following neutron and nova error.

2016-03-27 19:35:52.455 1188 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2016-03-27 19:35:52.455 1188 ERROR nova.compute.manager PortBindingFailed: Binding failed for port 

2016-03-27 19:35:52.186 2987 ERROR neutron.plugins.ml2.managers [req-d12d4244-d6b0-4c77-94ea-5b452d7b4313 40c1d949600c4da7bcda470a637643d3 12174726a6194022a36aeb2857b8b1b1 - - -] Failed to bind port 1a64b9cd-2127-4cb2-b84e-875fb7eeb2bb on host nuc1

In this case, cause was error seems that tunnel interface between compute and network node was not created. In case you are using OVS and VXLAN for tenant network, the following tunnel interface (br-tun) and integration-bridge (br-int) must be exist.

# ovs-vsctl show
7ba02f61-9693-46fc-9a21-4768e7a3fb7f
    Bridge br-ex
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "eno1"
            Interface "eno1"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port "vxlan-c0a8006f"
            Interface "vxlan-c0a8006f"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.0.110", out_key=flow, remote_ip="192.168.0.111"}
        Port "vxlan-c0a80070"
            Interface "vxlan-c0a80070"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.0.110", out_key=flow, remote_ip="192.168.0.112"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-60d2d82f-99"
            tag: 2
            Interface "qr-60d2d82f-99"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "sg-c2b3bbd4-3c"
            tag: 2
            Interface "sg-c2b3bbd4-3c"
                type: internal
        Port "sg-7ed4c1d9-8e"
            tag: 1
            Interface "sg-7ed4c1d9-8e"
                type: internal
        Port "qg-4d3615b4-85"
            tag: 3
            Interface "qg-4d3615b4-85"
                type: internal
        Port "tapc45d5edb-c9"
            tag: 2
            Interface "tapc45d5edb-c9"
                type: internal
        Port "qr-d3b7898e-5f"
            tag: 1
            Interface "qr-d3b7898e-5f"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tape591e2ea-7f"
            tag: 1
            Interface "tape591e2ea-7f"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    ovs_version: "2.4.0"

If you are using Linux bridge instead of OVS, similar tunnel interface is necessary for VXLAN tenant network.

It's also better to check neutron server.log.
When I encountered this error I sow the following neutron and nova error.

2016-03-27 19:35:52.455 1188 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2016-03-27 19:35:52.455 1188 ERROR nova.compute.manager PortBindingFailed: Binding failed for port 

2016-03-27 19:35:52.186 2987 ERROR neutron.plugins.ml2.managers [req-d12d4244-d6b0-4c77-94ea-5b452d7b4313 40c1d949600c4da7bcda470a637643d3 12174726a6194022a36aeb2857b8b1b1 - - -] Failed to bind port 1a64b9cd-2127-4cb2-b84e-875fb7eeb2bb on host nuc1

In this case, cause was of the error seems that tunnel interface between compute and network node was not created. In case you are using OVS and VXLAN for tenant network, the following tunnel interface (br-tun) and integration-bridge (br-int) must be exist.

# ovs-vsctl show
7ba02f61-9693-46fc-9a21-4768e7a3fb7f
    Bridge br-ex
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "eno1"
            Interface "eno1"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port "vxlan-c0a8006f"
            Interface "vxlan-c0a8006f"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.0.110", out_key=flow, remote_ip="192.168.0.111"}
        Port "vxlan-c0a80070"
            Interface "vxlan-c0a80070"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.0.110", out_key=flow, remote_ip="192.168.0.112"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-60d2d82f-99"
            tag: 2
            Interface "qr-60d2d82f-99"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "sg-c2b3bbd4-3c"
            tag: 2
            Interface "sg-c2b3bbd4-3c"
                type: internal
        Port "sg-7ed4c1d9-8e"
            tag: 1
            Interface "sg-7ed4c1d9-8e"
                type: internal
        Port "qg-4d3615b4-85"
            tag: 3
            Interface "qg-4d3615b4-85"
                type: internal
        Port "tapc45d5edb-c9"
            tag: 2
            Interface "tapc45d5edb-c9"
                type: internal
        Port "qr-d3b7898e-5f"
            tag: 1
            Interface "qr-d3b7898e-5f"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tape591e2ea-7f"
            tag: 1
            Interface "tape591e2ea-7f"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    ovs_version: "2.4.0"

If you are using Linux bridge instead of OVS, similar tunnel interface is necessary for VXLAN tenant network.