In case when network was shared with specified project
by RBAC rule and it was also set as "shared" there was
a bug which forbid to set such network as not shared even
if only projects which still used network was owner and
project with specified RBAC rule.
This patch fixes it by adding additional check in
NeutronDbPluginV2._validate_shared_update() in such case.
Reviewed: https:/ /review. openstack. org/561589 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7aa941cc09a ef8efe54f5bac11 1248d296e9c8ef
Committed: https:/
Submitter: Zuul
Branch: master
commit 7aa941cc09aef8e fe54f5bac111248 d296e9c8ef
Author: Sławek Kapłoński <email address hidden>
Date: Mon Apr 16 13:17:17 2018 +0200
[RBAC] Fix setting network as not shared
In case when network was shared with specified project
by RBAC rule and it was also set as "shared" there was
a bug which forbid to set such network as not shared even
if only projects which still used network was owner and
project with specified RBAC rule.
This patch fixes it by adding additional check in uginV2. _validate_ shared_ update( ) in such case.
NeutronDbPl
Change-Id: I6ab05a8f0ece45 4f5bef8ba978af0 5f5fa1354d8
Closes-Bug: #1764330