]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Catch duplicate errors scheduling SNAT service
authorKevin Benton <blak111@gmail.com>
Thu, 16 Oct 2014 09:10:36 +0000 (02:10 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Fri, 12 Dec 2014 01:06:09 +0000 (01:06 +0000)
commita93abbbfef7f0b88be0ad42048d52b658c29e1c4
tree780901de49e5da9086b0603224b27b1eed2d914d
parent3ead85af4297e8f173ff23873e6adc58734d2ce3
Catch duplicate errors scheduling SNAT service

Catch DBDuplicateEntry errors when scheduling SNAT to
a service node to prevent harmless tracebacks in the log.
These can occur if scheduling occurs concurrently,
so they are safe to ignore.

Closes-Bug: #1381958
Change-Id: If242b04b372609f640f3ce88f4245c17a45bf69d
neutron/db/l3_dvrscheduler_db.py
neutron/tests/unit/test_l3_schedulers.py