OpenStack Networking (Neutron)
Go to file
Jakub Libosvar e6cab0f414 rbac: Catch correct exception for duplicated entry
RBAC network policy is uniquely identified by network ID. That means
when attempting to create such network policy, we should not retry when
such policy already exists in the database.

Before we switched in rbac to use OVO, we translated DB DBDuplicateEntry
on such ocasions into dedicated RBAC exception to avoid DB retry
mechanism (see bug/1551473). After introducing OVO layer for RBAC, the
exception was not changed to the one coming from OVO. This patch
replaces the exception from DB to the exception from OVO.

Another patch will go to neutron-tempest-plugin to limit time API needs
to reply with failure to user, when attempting to create an existing
policy.

Closes-Bug: #1831647

Change-Id: I7c65376f6fd6fc29d510ea532a684917ed95deb1
(cherry picked from commit 26b3e6b1c4)
2019-06-11 07:48:09 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Devstack plugin for network-segment-range api 2019-03-10 03:37:51 +00:00
doc Add kill hooks for external processes 2019-06-05 14:39:15 +00:00
etc Add kill hooks for external processes 2019-06-05 14:39:15 +00:00
neutron rbac: Catch correct exception for duplicated entry 2019-06-11 07:48:09 +00:00
playbooks OpenDev Migration Patch 2019-04-19 19:39:10 +00:00
rally-jobs Merge "rally-jobs: Add FloatingIP workloads: assoc/dissoc" 2019-03-01 21:24:43 +00:00
releasenotes Add kill hooks for external processes 2019-06-05 14:39:15 +00:00
roles OpenDev Migration Patch 2019-04-19 19:39:10 +00:00
tools Add method to tox to use local neutron-lib with unit tests 2019-03-02 14:56:15 -07:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore [Configuration] Clean up .gitignore references to personal tools 2019-01-31 16:17:38 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:39:10 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml OpenDev Migration Patch 2019-04-19 19:39:10 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst Add method to tox to use local neutron-lib with unit tests 2019-03-02 14:56:15 -07:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Use dynamic lazy mode for fetching security group rules 2019-03-14 16:23:53 -06:00
requirements.txt Use dynamic lazy mode for fetching security group rules 2019-03-14 16:23:53 -06:00
setup.cfg Drive binding by placement allocation 2019-03-09 22:03:51 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Fix bandit and sphinx requirements for stable/stein 2019-05-16 11:33:48 +02:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/stein 2019-03-24 22:14:41 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst