Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2097395

Summary: Make the creation of the RBAC model indexes conditional to their existence
Product: Red Hat OpenStack Reporter: Rodolfo Alonso <ralonsoh>
Component: openstack-neutronAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED MIGRATED QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: high    
Version: 18.0 (Zed)CC: averdagu, chrisw, ekuris, scohen
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-22.0.2-0.20230628074808.7921328.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-04 15:24:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.