yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62532
[Bug 1674434] Re: RouterL3AgentBindingDbObjTestCase may fail with NeutronDbObjectDuplicateEntry
Reviewed: https://review.openstack.org/447600
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8f1fd73d6a88436d24f936adec997f88ad7f1413
Submitter: Jenkins
Branch: master
commit 8f1fd73d6a88436d24f936adec997f88ad7f1413
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date: Mon Mar 20 16:53:29 2017 +0000
Use unique binding_index for RouterL3AgentBinding
This is because (router_id, binding_index) tuple is expected to be
unique, as per db model.
Closes-Bug: #1674434
Change-Id: I64fcee88f2ac942e6fa173644fbfb7655ea6041b
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1674434
Title:
RouterL3AgentBindingDbObjTestCase may fail with
NeutronDbObjectDuplicateEntry
Status in neutron:
Fix Released
Bug description:
http://logs.openstack.org/08/360908/51/gate/gate-neutron-
python35/8473cfb/testr_results.html.gz
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-neutron-python35/neutron/tests/base.py", line 116, in func
return f(self, *args, **kwargs)
File "/home/jenkins/workspace/gate-neutron-python35/neutron/tests/unit/objects/test_base.py", line 1640, in test_count_validate_filters_false
self._make_object(fields).create()
File "/home/jenkins/workspace/gate-neutron-python35/neutron/objects/base.py", line 212, in decorator
res = func(self, *args, **kwargs)
File "/home/jenkins/workspace/gate-neutron-python35/neutron/objects/base.py", line 592, in create
object_class=self.__class__, db_exception=db_exc)
neutron.objects.exceptions.NeutronDbObjectDuplicateEntry: Failed to create a duplicate RouterL3AgentBinding: for attribute(s) ['router_id', 'binding_index'] with value(s) None
This is triggered by https://review.openstack.org/#/c/360908/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1674434/+subscriptions
References