yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55399
[Bug 1613251] Re: HAproxy scenario tests cleanup fail with a StaleDataError (LBaaSv1 and LBaaSv2)
Reviewed: https://review.openstack.org/351490
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=8614790d9eb0ee717b467919b09f08b44f682333
Submitter: Jenkins
Branch: master
commit 8614790d9eb0ee717b467919b09f08b44f682333
Author: Nir Magnezi <nmagnezi@xxxxxxxxxx>
Date: Fri Aug 5 08:37:01 2016 +0300
Add retries upon db error for deleting vip_port
This is meant to handle cases where vip_port deletion fail with StaleDataError.
StaleDataError happens when the you delete a loadbalancer, and then try
to delete it's vip port.
LBaaSv1:
The retries where added by splitting delete_vip() to two functions:
delete_vip() and _delete_vip_port(), and decorating the latter
with @db_api.retry_db_errors
LBaaSv2:
The retries where added by splitting delete_loadbalancer() to two functions:
delete_loadbalancer() and _delete_vip_port(), and decorating the latter
with @db_api.retry_db_errors
Closes-Bug: #1613251
Change-Id: Ibf295bdf21ac2a7debc26aec8b403103fa867691
** 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/1613251
Title:
HAproxy scenario tests cleanup fail with a StaleDataError (LBaaSv1 and
LBaaSv2)
Status in neutron:
Fix Released
Bug description:
Example for that error:
http://logs.openstack.org/90/351490/4/check/gate-neutron-lbaasv2-dsvm-scenario-namespace-nv/8f1255a/logs/screen-q-svc.txt.gz#_2016-08-07_06_00_57_478
This is easily reproduced locally on my devstack with neutron_lbaas.tests.tempest.v2.scenario.test_load_balancer_basic
moreover, even if narrow the above mentioned scenario to only create a loadbalancer (with listener and pool and then, run the cleanup - the issue reproduces.
This is blocking the gate-neutron-lbaasv2-dsvm-scenario-namespace-nv
from properly indicate whether or not scenario tests fail for haproxy
in namespace lbaas driver.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1613251/+subscriptions
References