Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 221, in test_trunk_subport_lifecycle self._wait_for_port(port)
File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 141, in _wait_for_port
"status {!r}.".format(port['id'], status)))
File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/common/utils.py", line 82, in wait_until_true
raise exception
RuntimeError: Timed out waiting for port u'2ff1e990-aaba-4067-bbc3-22eea33012c8' to transition to get status 'ACTIVE'.
I checked the server logs and the subport association finished fine:
2020-04-09 01:46:22.667 33 INFO networking_ovn.ml2.mech_driver [req-828a35a7-bca2-4425-a1be-fb94e87c4945 - - - - -] OVN reports status up for port: 2ff1e990-aaba-4067-bbc3-22eea33012c8
2020-04-09 01:46:22.816 33 DEBUG neutron.db.provisioning_blocks [req-828a35a7-bca2-4425-a1be-fb94e87c4945 - - - - -] Provisioning complete for port 2ff1e990-aaba-4067-bbc3-22eea33012c8 triggered by entity L2. provisioning_complete /usr/lib/python2.7/site-packages/neutron/db/provisioning_blocks.py:140
But then Neutron wasn't able to set the status up because port was not bound:
2020-04-09 01:46:22.894 33 DEBUG neutron.plugins.ml2.plugin [req-828a35a7-bca2-4425-a1be-fb94e87c4945 - - - - -] Port 2ff1e990-aaba-4067-bbc3-22eea33012c8 cannot update to ACTIVE because it is not bound. _port_provisioned /usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py:301
I looked at the test results and there was only one failing tests, here is my observing so far:
======= ======= ======= ======= == ======= ======= ======= ==
Failed 1 tests - output below:
=======
neutron_ tempest_ plugin. scenario. test_trunk. TrunkTest. test_trunk_ subport_ lifecycle[ id-bb13fe28- f152-4000- 8131-37890a40c7 9e] ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
Captured traceback: python2. 7/site- packages/ neutron_ tempest_ plugin/ scenario/ test_trunk. py", line 221, in test_trunk_ subport_ lifecycle
self._ wait_for_ port(port) python2. 7/site- packages/ neutron_ tempest_ plugin/ scenario/ test_trunk. py", line 141, in _wait_for_port format( port['id' ], status))) python2. 7/site- packages/ neutron_ tempest_ plugin/ common/ utils.py" , line 82, in wait_until_true aaba-4067- bbc3-22eea33012 c8' to transition to get status 'ACTIVE'.
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
"status {!r}.".
File "/usr/lib/
raise exception
RuntimeError: Timed out waiting for port u'2ff1e990-
I checked the server logs and the subport association finished fine:
2020-04-09 01:46:22.617 32 DEBUG networking_ ovn.ml2. trunk_driver [req-61a93d21- 64b4-4eea- 99f8-7ed33ea837 54 f41d513e64b6497 e82da9c448c1bdc 08 670053b5f387469 59786934f92c55d 1c - default default] Done setting parent c528340a- 8159-4cd8- 8ba9-2ebd839fb4 e9 for subport 2ff1e990- aaba-4067- bbc3-22eea33012 c8 _set_binding_ profile /usr/lib/ python2. 7/site- packages/ networking_ ovn/ml2/ trunk_driver. py:93
2020-04-09 01:46:22.619 32 DEBUG ovsdbapp. backend. ovs_idl. transaction [-] Running txn n=1 command(idx=0): SetLSwitchPortC ommand( lport=2ff1e990- aaba-4067- bbc3-22eea33012 c8, if_exists=True, columns= {'parent_ name': 'c528340a- 8159-4cd8- 8ba9-2ebd839fb4 e9', 'tag': 4}) do_commit /usr/lib/ python2. 7/site- packages/ ovsdbapp/ backend/ ovs_idl/ transaction. py:84
2020-04-09 01:46:22.666 33 DEBUG ovsdbapp. backend. ovs_idl. event [-] Matched UPDATE: LogicalSwitchPo rtUpdateUpEvent (events= ('update' ,), table=' Logical_ Switch_ Port', conditions=(('up', '=', True),), old_conditions= (('up', '=', False),)) to row=Logical_ Switch_ Port(parent_ name=[u' c528340a- 8159-4cd8- 8ba9-2ebd839fb4 e9'], name=2ff1e990- aaba-4067- bbc3-22eea33012 c8, enabled=[True], ha_chassis_ group=[ ], up=[True], port_security= [u'fa:16: 3e:6d:f7: 9a'], dhcpv6_options=[], tag_request=[], dynamic_ addresses= [], external_ ids={u' neutron: cidrs': u'', u'neutron: revision_ number' : u'1', u'neutron: port_name' : u'', u'neutron: network_ name': u'neutron- 62d8faf1- be2c-4829- 8973-d133c7c2d3 3e', u'neutron: project_ id': u'670053b5f3874 6959786934f92c5 5d1c', u'neutron: security_ group_ids' : u'215a8850- 34f1-40d5- a468-814f4fc089 49', u'neutron: device_ id': u'', u'neutron: device_ owner': u''}, tag=[4], type=, options= {u'requested- chassis' : u''}, dhcpv4_options=[], addresses= [u'fa:16: 3e:6d:f7: 9a']) old=Logical_ Switch_ Port(up= [False] ) matches /usr/lib/ python2. 7/site- packages/ ovsdbapp/ backend/ ovs_idl/ event.py: 44
2020-04-09 01:46:22.667 33 INFO networking_ ovn.ml2. mech_driver [req-828a35a7- bca2-4425- a1be-fb94e87c49 45 - - - - -] OVN reports status up for port: 2ff1e990- aaba-4067- bbc3-22eea33012 c8
2020-04-09 01:46:22.816 33 DEBUG neutron. db.provisioning _blocks [req-828a35a7- bca2-4425- a1be-fb94e87c49 45 - - - - -] Provisioning complete for port 2ff1e990- aaba-4067- bbc3-22eea33012 c8 triggered by entity L2. provisioning_ complete /usr/lib/ python2. 7/site- packages/ neutron/ db/provisioning _blocks. py:140
But then Neutron wasn't able to set the status up because port was not bound:
2020-04-09 01:46:22.894 33 DEBUG neutron. plugins. ml2.plugin [req-828a35a7- bca2-4425- a1be-fb94e87c49 45 - - - - -] Port 2ff1e990- aaba-4067- bbc3-22eea33012 c8 cannot update to ACTIVE because it is not bound. _port_provisioned /usr/lib/ python2. 7/site- packages/ neutron/ plugins/ ml2/plugin. py:301