Ask Your Question
0

failed to bind port

asked 2019-11-04 14:39:50 -0600

chtsalid gravatar image

Hi all,

i am getting a failed to bind port by launching a vm. I am running openstack queens in centos 7. Here are some outputs of my config and error.

ERROR neutron.plugins.ml2.managers [req-d59c63ec-9b3b-41e4-ae44-79545c0ed29c 7d669e8513914f41a08bce992e192070 e2fc76da8be74f4a8232df5ff5177d6f - default default] Failed to bind port 91a49850-4bad-4873-89b9-904caad10992 on host compute-01.lab.local for vnic_type normal using segments [{'network_id': '1fc8b91b-7c40-4cd4-9e42-38391a086dec', 'segmentation_id': 100, 'physical_network': u'br-vlan', 'id': 'fc2fe7d7-8424-4e8e-bbd6-b46c2b30c6f8', 'network_type': u'vlan'}]


cat /etc/neutron/plugins/ml2/ml2_conf.ini
type_drivers=flat,vlan
tenant_network_types=vlan
mechanism_drivers=openvswitch
flat_networks=*
network_vlan_ranges=provider:100:200

cat /etc/neutron/plugins/ml2/openvswitch_agent.ini
bridge_mappings=provider:br-vlan


openstack network show 1fc8b91b-7c40-4cd4-9e42-38391a086dec
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2019-11-03T20:27:20Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 1fc8b91b-7c40-4cd4-9e42-38391a086dec |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| is_vlan_transparent       | None                                 |
| mtu                       | 1500                                 |
| name                      | tenant_vlan_100                      |
| port_security_enabled     | True                                 |
| project_id                | 1c4a382617a94e7a81d44af2d4ea5032     |
| provider:network_type     | vlan                                 |
| provider:physical_network | br-vlan                              |
| provider:segmentation_id  | 100                                  |
| qos_policy_id             | None                                 |
| revision_number           | 5                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 7b65a964-91b6-4b13-9489-bc4711d803bf |
| tags                      |                                      |
| updated_at                | 2019-11-04T20:17:23Z                 |
+---------------------------+--------------------------------------+


openstack subnet show 7b65a964-91b6-4b13-9489-bc4711d803bf
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 172.32.100.100-172.32.100.250        |
| cidr              | 172.32.100.0/24                      |
| created_at        | 2019-11-04T20:17:23Z                 |
| description       |                                      |
| dns_nameservers   |                                      |
| enable_dhcp       | True                                 |
| gateway_ip        | 172.32.100.1                         |
| host_routes       |                                      |
| id                | 7b65a964-91b6-4b13-9489-bc4711d803bf |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | vlan100                              |
| network_id        | 1fc8b91b-7c40-4cd4-9e42-38391a086dec |
| project_id        | 1c4a382617a94e7a81d44af2d4ea5032     |
| revision_number   | 0                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| tags              |                                      |
| updated_at        | 2019-11-04T20:17:23Z                 |
+-------------------+--------------------------------------+



openstack router show d31c124b-4c6d-4e48-8256-04cfa476796a
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                    |
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                       |
| availability_zone_hints |                                                                                                                                          |
| availability_zones      | nova                                                                                                                                     |
| created_at              | 2019-11-02T12:11:21Z                                                                                                                     |
| description             |                                                                                                                                          |
| distributed             | False                                                                                                                                    |
| external_gateway_info   | None                                                                                                                                     |
| flavor_id               | None                                                                                                                                     |
| ha                      | False                                                                                                                                    |
| id                      | d31c124b-4c6d-4e48-8256-04cfa476796a                                                                                                     |
| interfaces_info         | [{"subnet_id": "7b65a964-91b6-4b13-9489-bc4711d803bf", "ip_address": "172.32.100.1", "port_id": "cc75446d-fad8-4925-bc16-a9377769a1f2"}] |
| name                    | router-01                                                                                                                                |
| project_id              | 1c4a382617a94e7a81d44af2d4ea5032                                                                                                         |
| revision_number         | 2                                                                                                                                        |
| routes                  |                                                                                                                                          |
| status                  | ACTIVE                                                                                                                                   |
| tags                    |                                                                                                                                          |
| updated_at              | 2019-11-04T20:21:23Z                                                                                                                     |
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------------+

Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-11-19 04:22:03 -0600

on compute-01 check you have br-vlan configured for

ssh compute-01 ip a| grep br-vlan

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-11-04 14:39:50 -0600

Seen: 18 times

Last updated: Nov 04