Functional tests failing due to ovsdbapp timeouts

Bug #1733291 reported by Daniel Alvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Invalid
Undecided
Unassigned

Bug Description

Functional tests are failing on the gate due to a TimeoutException in test_ovn_nb_sync_repair [0].

Looks like ovsdbapp is reporting not to be connected to OVS so the transaction is not commited. Adding retries may help but also increasing the timeout can be helpful.

2017-11-17 18:29:40.346301 | primary | 2017-11-17 18:29:40.345 | File "/opt/stack/new/networking-ovn/.tox/dsvm-functional/local/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 120, in queue_txn 2017-11-17 18:29:40.378328 | primary | 2017-11-17 18:29:40.377 | raise exceptions.NotConnectedError(txn=txn) 2017-11-17 18:29:40.426558 | primary | 2017-11-17 18:29:40.425 | NotConnectedError: Cannot commit transaction SetLSwitchPortCommand(if_exists=False, lport=11cfd65b-91b1-4746-9333-3694a658ebdf, columns={'dhcpv6_options': [], 'parent_name': [], 'options': {'requested-chassis': u''}, 'dhcpv4_options': [], 'enabled': True, 'tag': [], 'external_ids': {'neutron:project_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b', 'neutron:cidrs': '40.0.0.3/24', 'neutron:device_id': u'', 'neutron:port_name': u''}, 'addresses': [u'12:34:56:78:86:71 40.0.0.3'], 'port_security': [], 'type': 'localport'}), UpdateACLsCommand(port_list=[{'binding:host_id': u'', 'id': u'11cfd65b-91b1-4746-9333-3694a658ebdf', 'device_owner': u'network:dhcp', 'network_id': u'13e8f131-6bdf-4d39-89ef-5a2070073c8f', 'description': u'', 'mac_address': u'12:34:56:78:86:71', 'extra_dhcp_opts': [], 'status': u'DOWN', 'port_security_enabled': False, 'name': u'', 'binding:vif_details': {}, 'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b', 'binding:vif_type': u'unbound', 'binding:profile': {}, 'fixed_ips': [{'ip_address': u'40.0.0.3', 'subnet_id': u'26ef71b0-1bef-4000-b8a1-9ef844d98162'}], 'device_id': u'', 'allowed_address_pairs': [], 'admin_state_up': True, 'security_groups': [], 'project_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b', 'binding:vnic_type': u'normal'}], need_compare=True, acl_new_values_dict={u'11cfd65b-91b1-4746-9333-3694a658ebdf': []}, lswitch_names=[u'13e8f131-6bdf-4d39-89ef-5a2070073c8f'], is_add_acl=True). Not connected 2017-11-17 18:29:40.446209 | primary | 2017-11-17 18:29:40.445 | mechanism_manager.update_port_postcommit failed for port 11cfd65b-91b1-4746-9333-3694a658ebdf

[0] http://logs.openstack.org/52/521152/1/check/networking-ovn-dsvm-functional/f898fe6/job-output.txt.gz#_2017-11-17_18_29_40_378328

description: updated
Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

Closing this as Invalid because the fix has already been merged in ovsdbapp according to the author of the bug ticket.

Changed in networking-ovn:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.