propagate datastore exceptions all the way to northbound 35/72735/8
authorMichael Vorburger <vorburger@redhat.com>
Wed, 6 Jun 2018 16:22:59 +0000 (18:22 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Mon, 2 Jul 2018 17:54:00 +0000 (19:54 +0200)
commit59a7c333e9d7f110d46beca779a2735710504319
treeeeaff3208a94b7811d5bdf69ced40f693c9efceb
parent66ec825d5c46004b3182c6dbc108c0aa571d2ae1
propagate datastore exceptions all the way to northbound

Instead of logging but ultimately ignoring them, as they currently are.

Stumbled across this wile working on (not directly related) NEUTRON-158.

This will also fix the problem raised in NEUTRON-157: We are,
intentionally, changing the OptimisticLockFailedException WARN log to a
DEBUG only.  If it still didn't go through after RETRY_MAX (currently 2)
then it will be rethrown, and that, with this, will go back up to the
driver.

JIRA: NEUTRON-157
Change-Id: I10b7dea0b5698db40ee7cfaa63593fb6b3c573c7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
21 files changed:
features/production/odl-neutron-northbound-api/pom.xml
neutron-hostconfig/ovs/src/main/java/org/opendaylight/neutron/hostconfig/ovs/NeutronHostconfigOvsListener.java
neutron-hostconfig/utils/src/main/java/org/opendaylight/neutron/hostconfig/utils/NeutronHostconfigUtils.java
neutron-hostconfig/vpp/src/main/java/org/opendaylight/neutron/hostconfig/vpp/NeutronHostconfigVppListener.java
neutron-spi/pom.xml
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronTapFlowCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/ReadFailedRuntimeException.java [new file with mode: 0644]
northbound-api/pom.xml
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/DatastoreOperationFailedWebApplicationException.java [new file with mode: 0644]
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerPoolNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronMeteringLabelRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTapFlowNorthbound.java
parent/pom.xml
transcriber/pom.xml
transcriber/src/main/java/org/opendaylight/neutron/transcriber/AbstractTranscriberInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronLoadBalancerPoolInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSecurityRuleInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronTapFlowInterface.java