Ask Your Question

Port ... not present in bridge br-int

asked 2016-07-14 02:45:09 -0500

kramer gravatar image

I try to create a instance on provider network. But the instance is created in failed status. I checked the nova-compute log, it has below infor

[req-524370a2-5944-45c0-9d19-e4109e1ad9d9 d190650a9cbb496385bc9bb7dc60891e e6d2515cc8544b33b2fa12c4af24e605 - - -] Instance failed network setup after 1 attempt(s)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nova/compute/", line 1570, in _allocate_network_async
  File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 666, in allocate_for_instance
    self._delete_ports(neutron, instance, created_port_ids)
  File "/usr/lib/python2.7/site-packages/oslo_utils/", line 220, in __exit__
  File "/usr/lib/python2.7/site-packages/oslo_utils/", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 655, in allocate_for_instance
    security_group_ids, available_macs, dhcp_opts)
  File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 259, in _create_port
    raise exception.PortBindingFailed(port_id=port_id)
PortBindingFailed: Binding failed for port 9003cda0-9c96-4a9e-b60a-50d489ab57f2, please check neutron logs for more information.

Since nova suggest check neutron log. So I checked the neutron log on the compute node. The ovs-agent log. I found below in the log:

neutron.agent.common.ovs_lib [req-4573ff3f-50d6-4756-bfb1-c6d558697f66 - - - - -] Port 9d2b1814-a3be-448d-aa58-caa696b2119d not present in bridge br-int

neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-4573ff3f-50d6-4756-bfb1-c6d558697f66 - - - - -] port_unbound(): net_uuid None not in local_vlan_map

neutron.agent.securitygroups_rpc [req-4573ff3f-50d6-4756-bfb1-c6d558697f66 - - - - -] Remove device filter for [u'9d2b1814-a3be-448d-aa58-caa696b2119d']

My guess is that the tap device which connecting the vm is not created and plugged into the br-int. But I do not know why. So why this is happening?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-14 03:36:36 -0500

kramer gravatar image

This is because I did not create br-ex in compute node. The br-ex should be a ovs bridge connect to provider network. It should be created on compute node if you want to create provider vm

edit flag offensive delete link more


Hi, could you please share you ovs-vsctl show output?

Alex Sousa gravatar imageAlex Sousa ( 2018-10-31 07:20:41 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-14 02:45:09 -0500

Seen: 4,358 times

Last updated: Jul 14 '16