Failed to bind port on host neutron.plugins.ml2.managers (SLES 11SP3, ML2/VLAN, running under Hyper-V

asked 2014-08-14 08:44:05 -0600

JohnF gravatar image

I'm having an issue that had me pulling my hair out. I've been able to get everything else working fine with OpenStack icehouse on SLES except the Networking. I've searched the various forums, looked at parts of the code to no avail...

In summary, I cannot get networking to config properly on the dedicated network node. (See errors at bottom)

I have three adapters on the node:

eth0 -> public interface 10.36.192.64/26 gw 10.36.192.65 (VLAN Trunked in Hyper-V 0-99 with default vlan0) and set to promiscuous mode

eth1 -> management interface 10.5.5.0/24 (no vlan)

eth2 -> data/vm network (VLAN trunked in Hyper-V 100-200 with default vlan 100) testing with VLAN 100 with subnet 10.5.6.0/24

br-ex created with eth0 as the added port (has active IP address) br-eth2 created with eth2 as the added port (No IP Address)

Public interface into the server works fine as does the management interface.

/usr/bin/ovs-vsctl show
54a37a2e-428b-4ed4-8de5-e97c7c763de2
    Bridge "br-eth2"
        Port "br-eth2"
            Interface "br-eth2"
                type: internal
        Port "eth2"
            Interface "eth2"
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "qr-fc50245e-f8"
            tag: 4095
            Interface "qr-fc50245e-f8"
                type: internal
        Port "qg-5519f1d6-d2"
            tag: 4095
            Interface "qg-5519f1d6-d2"
                type: internal
    ovs_version: "2.0.0"

Here is the net/subnet/router definitions:

controller01:/var/log/neutron # neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id                                   | name     | subnets                                              |
+--------------------------------------+----------+------------------------------------------------------+
| 44d7053e-e845-4fe6-9412-a61133638670 | demo-net | 588638e7-b14a-4612-b3df-d517ff45533e 10.5.6.0/24     |
| 9779e373-e865-443a-a0dc-c7ea8f19fa20 | ext-net  | 75f978ce-2733-4b66-8f5a-a96f17e5f87a 10.36.192.64/26 |
+--------------------------------------+----------+------------------------------------------------------+
controller01:/var/log/neutron # neutron net-show 9779e373-e865-443a-a0dc-c7ea8f19fa20
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 9779e373-e865-443a-a0dc-c7ea8f19fa20 |
| name                      | ext-net                              |
| provider:network_type     | vlan                                 |
| provider:physical_network | extnet                               |
| provider:segmentation_id  | 2                                    |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 75f978ce-2733-4b66-8f5a-a96f17e5f87a |
| tenant_id                 | 6f3375bde62643d5bfbbd241e58976d9     |
+---------------------------+--------------------------------------+
controller01:/var/log/neutron # neutron net-show 44d7053e-e845-4fe6-9412-a61133638670
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 44d7053e-e845-4fe6-9412-a61133638670 |
| name                      | demo-net                             |
| provider:network_type     | vlan                                 |
| provider:physical_network | datanet                              |
| provider:segmentation_id  | 100                                  |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 588638e7-b14a-4612-b3df-d517ff45533e |
| tenant_id                 | 238f9e1e2c4346f8a233a320d04c7794     |
+---------------------------+--------------------------------------+
controller01:/var/log/neutron # neutron subnet-list
+--------------------------------------+------+-----------------+----------------------------------------------------+
| id                                   | name | cidr            | allocation_pools                                   |
+--------------------------------------+------+-----------------+----------------------------------------------------+
| 588638e7-b14a-4612-b3df-d517ff45533e |      | 10.5.6.0/24     | {"start": "10.5.6.2", "end": "10.5.6.254"}         |
| 75f978ce-2733-4b66-8f5a-a96f17e5f87a |      | 10.36.192.64/26 | {"start": "10.36.192.115", "end": "10.36.192.124"} |
+--------------------------------------+------+-----------------+----------------------------------------------------+
controller01:/var/log/neutron # neutron subnet-show 588638e7-b14a-4612-b3df-d517ff45533e
+------------------+--------------------------------------------+
| Field            | Value                                      |
+------------------+--------------------------------------------+
| allocation_pools | {"start": "10.5.6.2", "end": "10.5.6.254"} |
| cidr             | 10.5.6.0/24                                |
| dns_nameservers  |                                            |
| enable_dhcp      | True                                       |
| gateway_ip       | 10.5.6.1                                   |
| host_routes      |                                            |
| id               | 588638e7-b14a-4612-b3df-d517ff45533e       |
| ip_version       | 4                                          |
| name             |                                            |
| network_id       | 44d7053e-e845-4fe6-9412-a61133638670       |
| tenant_id        | 238f9e1e2c4346f8a233a320d04c7794           |
+------------------+--------------------------------------------+
controller01:/var/log/neutron # neutron subnet-show 75f978ce-2733-4b66-8f5a-a96f17e5f87a
+------------------+----------------------------------------------------+
| Field            | Value                                              |
+------------------+----------------------------------------------------+
| allocation_pools | {"start": "10.36.192.115", "end": "10.36.192.124"} |
| cidr             | 10.36.192.64/26                                    |
| dns_nameservers  |                                                    |
| enable_dhcp      | False                                              |
| gateway_ip       | 10.36.192.65                                       |
| host_routes      |                                                    |
| id               | 75f978ce-2733-4b66-8f5a-a96f17e5f87a               |
| ip_version       | 4                                                  |
| name             |                                                    |
| network_id       | 9779e373-e865-443a-a0dc-c7ea8f19fa20               |
| tenant_id        | 6f3375bde62643d5bfbbd241e58976d9                   |
+------------------+----------------------------------------------------+
controller01:/var/log/neutron # neutron router-list
+--------------------------------------+------------+-----------------------------------------------------------------------------+
| id                                   | name       | external_gateway_info                                                       |
+--------------------------------------+------------+-----------------------------------------------------------------------------+
| aa8db70a-25dc-4fed-8814-ea79bf5bf404 | ext-to-int | {"network_id": "9779e373-e865-443a-a0dc-c7ea8f19fa20", "enable_snat": true} |
+--------------------------------------+------------+-----------------------------------------------------------------------------+
controller01:/var/log/neutron # neutron router-show aa8db70a-25dc-4fed-8814-ea79bf5bf404
+-----------------------+-----------------------------------------------------------------------------+
| Field                 | Value                                                                       |
+-----------------------+-----------------------------------------------------------------------------+
| admin_state_up        | True                                                                        |
| external_gateway_info | {"network_id": "9779e373-e865-443a-a0dc-c7ea8f19fa20", "enable_snat": true} |
| id                    | aa8db70a-25dc-4fed-8814-ea79bf5bf404                                        |
| name                  | ext-to-int                                                                  |
| routes                |                                                                             |
| status                | ACTIVE                                                                      |
| tenant_id             | 238f9e1e2c4346f8a233a320d04c7794                                            |
+-----------------------+-----------------------------------------------------------------------------+

Here are the config ... (more)

edit retag flag offensive close merge delete