Bug 2097395 - Make the creation of the RBAC model indexes conditional to their existence
Summary: Make the creation of the RBAC model indexes conditional to their existence
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 18.0 (Zed)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: beta
: ---
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-15 15:24 UTC by Rodolfo Alonso
Modified: 2023-06-30 06:01 UTC (History)
4 users (show)

Fixed In Version: openstack-neutron-22.0.2-0.20230628074808.7921328.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2020802 0 None None None 2023-06-20 13:07:24 UTC
OpenStack gerrit 884617 0 None MERGED Make DB migration creating indexes in RBACs conditional 2023-06-20 13:07:52 UTC
OpenStack gerrit 885733 0 None NEW Make DB migration creating indexes in RBACs conditional 2023-06-20 15:16:32 UTC
Red Hat Issue Tracker OSP-15771 0 None None None 2022-06-15 15:46:36 UTC

Description Rodolfo Alonso 2022-06-15 15:24:45 UTC
This BZ is related to BZ#2094427. The output of this BZ was https://access.redhat.com/solutions/6963127, when we recommend to manually create the RBAC model indexes if needed.

That collides with https://review.opendev.org/c/openstack/neutron/+/810072/, that is available in upstream Yoga version (and in OSP18/Zed).

To avoid an issue during the DB migration, we need to make this migration conditional and check if the index exists before creating it.


Note You need to log in before you can comment on or make changes to this bug.