← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408127] Re: port binding fails for HA port with linuxbridge

 

this was a config issue, the local_ip was wrong in the vxlan section of
ml2_conf.ini, on the node 2

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1408127

Title:
  port binding fails for HA port with linuxbridge

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  testbed : linuxbridge + vxlan + l3_ha

  2 nodes : 
     1.ctrl, net, cpu
     2. net with q-agt and q-l3

  ML2 is unable to bind HA port on node 2, while the port is correctly
  bound on node 1

  here are the logs :

  2015-01-06 23:12:42.744 DEBUG neutron.plugins.ml2.managers [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Attempting to bind port ff1de9c4-4638-439b-9e52-b4bdb5c4cc8d on host deb-ds-13 for vnic_type normal with profile  from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/managers.py:575
  2015-01-06 23:12:42.744 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Attempting to bind port ff1de9c4-4638-439b-9e52-b4bdb5c4cc8d on network 69e6c19e-8245-424c-a667-1531c55ee9d3 from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:58
  2015-01-06 23:12:42.746 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Checking agent: {'binary': u'neutron-linuxbridge-agent', 'description': None, 'admin_state_up': True, 'heartbeat_timestamp': datetime.datetime(2015, 1, 6, 22, 12, 17), 'alive': True, 'topic': u'N/A', 'host': u'deb-devstack', 'agent_type': u'Linux bridge agent', 'created_at': datetime.datetime(2015, 1, 6, 22, 11, 17), 'started_at': datetime.datetime(2015, 1, 6, 22, 11, 17), 'id': u'1519c1a0-e554-4795-a2d8-6700efce8bc1', 'configurations': {u'tunnel_types': [u'vxlan'], u'tunneling_ip': u'192.168.122.10', u'interface_mappings': {}, u'l2_population': True, u'devices': 0}} from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:66
  2015-01-06 23:12:42.746 DEBUG neutron.plugins.ml2.drivers.mech_linuxbridge [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Checking segment: {'segmentation_id': 1001L, 'physical_network': None, 'id': u'65ed71d2-a4f7-4d40-885f-a3ff75b9b5ec', 'network_type': u'vxlan'} for mappings: {} with tunnel_types: [u'vxlan'] from (pid=27523) check_segment_for_agent /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_linuxbridge.py:48
  2015-01-06 23:12:42.746 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Bound using segment: {'segmentation_id': 1001L, 'physical_network': None, 'id': u'65ed71d2-a4f7-4d40-885f-a3ff75b9b5ec', 'network_type': u'vxlan'} from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:71
  2015-01-06 23:12:42.746 DEBUG neutron.plugins.ml2.managers [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Bound port: a57b316c-758d-4a16-9f21-faf664a76199, host: deb-devstack, vnic_type: normal, profile: , driver: linuxbridge, vif_type: bridge, vif_details: {"port_filter": true}, segment: 65ed71d2-a4f7-4d40-885f-a3ff75b9b5ec from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/managers.py:594
  2015-01-06 23:12:42.746 DEBUG neutron.openstack.common.lockutils [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Created new semaphore "db-access" from (pid=27523) internal_lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:206
  2015-01-06 23:12:42.747 DEBUG neutron.openstack.common.lockutils [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Acquired semaphore "db-access" from (pid=27523) lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:229
  2015-01-06 23:12:42.767 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Attempting to bind port ff1de9c4-4638-439b-9e52-b4bdb5c4cc8d on network 69e6c19e-8245-424c-a667-1531c55ee9d3 from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:58
  2015-01-06 23:12:42.769 DEBUG neutron.openstack.common.lockutils [req-3f58fd7a-7e1a-4a6b-8fa5-be2318b32baa None None] Releasing semaphore "db-access" from (pid=27523) lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:238
  2015-01-06 23:12:42.770 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Checking agent: {'binary': u'neutron-linuxbridge-agent', 'description': None, 'admin_state_up': True, 'heartbeat_timestamp': datetime.datetime(2015, 1, 6, 22, 12, 22), 'alive': True, 'topic': u'N/A', 'host': u'deb-ds-13', 'agent_type': u'Linux bridge agent', 'created_at': datetime.datetime(2015, 1, 6, 22, 11, 22), 'started_at': datetime.datetime(2015, 1, 6, 22, 11, 22), 'id': u'0e1dc2c2-6577-4113-9e85-d7f38a9ae250', 'configurations': {u'interface_mappings': {}, u'devices': 1}} from (pid=27523) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:66
  2015-01-06 23:12:42.770 DEBUG neutron.plugins.ml2.drivers.mech_linuxbridge [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Checking segment: {'segmentation_id': 1001L, 'physical_network': None, 'id': u'65ed71d2-a4f7-4d40-885f-a3ff75b9b5ec', 'network_type': u'vxlan'} for mappings: {} with tunnel_types: [] from (pid=27523) check_segment_for_agent /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_linuxbridge.py:48
  2015-01-06 23:12:42.770 WARNING neutron.plugins.ml2.managers [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Failed to bind port ff1de9c4-4638-439b-9e52-b4bdb5c4cc8d on host deb-ds-13
  2015-01-06 23:12:42.770 DEBUG neutron.openstack.common.lockutils [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Created new semaphore "db-access" from (pid=27523) internal_lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:206
  2015-01-06 23:12:42.771 DEBUG neutron.openstack.common.lockutils [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Acquired semaphore "db-access" from (pid=27523) lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:229
  2015-01-06 23:12:42.789 DEBUG neutron.openstack.common.lockutils [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] Releasing semaphore "db-access" from (pid=27523) lock /opt/stack/neutron/neutron/openstack/common/lockutils.py:238
  2015-01-06 23:12:42.789 WARNING neutron.plugins.ml2.plugin [req-6ce7d002-8c96-45db-89b0-b6fa0681df73 None None] In _notify_port_updated(), no bound segment for port ff1de9c4-4638-439b-9e52-b4bdb5c4cc8d on network 69e6c19e-8245-424c-a667-1531c55ee9d3

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1408127/+subscriptions


References