** Changed in: networking-ovn
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/1618343
Title:
UT failed for PortsV2 case
test_update_port_status_notify_port_event_after_update
Status in networking-ovn:
Invalid
Status in neutron:
Fix Released
Bug description:
http://logs.openstack.org/09/356409/8/check/gate-networking-ovn-python27-ubuntu-xenial/8eee3a5/testr_results.html.gz
http://logs.openstack.org/01/358501/2/check/gate-networking-ovn-python27-ubuntu-xenial/898e607/testr_results.html.gz
http://logs.openstack.org/94/362494/1/check/gate-networking-ovn-python27-ubuntu-xenial/658a521/testr_results.html.gz
the above UT reports failed with
networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverPortsV2.test_update_port_status_notify_port_event_after_update.
Two errors with AttributeError: 'NoneType' object has no attribute
'transaction' on self._nb_ovn in mech_driver:
ERROR [neutron.callbacks.manager] Error during notification for
networking_ovn.ml2.mech_driver.OVNMechanismDriver._process_sg_notification-988068
security_group, after_create
Traceback (most recent call last):
File "/tmp/openstack/neutron/neutron/callbacks/manager.py", line 148, in
_notify_loop
callback(resource, event, trigger, **kwargs)
File "networking_ovn/ml2/mech_driver.py", line 197, in
_process_sg_notification
with self._nb_ovn.transaction(check_error=True) as txn:
AttributeError: 'NoneType' object has no attribute 'transaction'
ERROR [neutron.plugins.ml2.managers] Mechanism driver 'ovn' failed in
update_port_postcommit
Traceback (most recent call last):
File "/tmp/openstack/neutron/neutron/plugins/ml2/managers.py", line 433, in
_call_on_drivers
getattr(driver.obj, method_name)(context)
File "networking_ovn/ml2/mech_driver.py", line 680, in
update_port_postcommit
self.update_port(port, original_port)
File "networking_ovn/ml2/mech_driver.py", line 684, in update_port
original_port=original_port)
File "networking_ovn/ml2/mech_driver.py", line 593, in get_ovn_port_options
port, original_port=original_port)
File "networking_ovn/ml2/mech_driver.py", line 820, in
_get_port_dhcpv4_options
subnet_dhcp_options = self._nb_ovn.get_subnet_dhcp_options(
AttributeError: 'NoneType' object has no attribute 'get_subnet_dhcp_options'
}}}
Patches like https://review.openstack.org/#/c/326964
(http://logs.openstack.org/64/326964/7/check/gate-networking-ovn-python27-ubuntu-xenial/a5800ae/testr_results.html.gz),
they passed UT, for
they didn't run test_update_port_status_notify_port_event_after_update, they
have 125 test cases in
networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverPortsV2.
But the failed 3 ones have 126 test cases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-ovn/+bug/1618343/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp