RBAC overrides fail on horizon-policy-override

Bug #2040165 reported by Romulo Jose Lyra Leite
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Unassigned

Bug Description

Brief Description
-----------------
SInce the migration from Armada to Fluxd, the helm override of the horizon-policy-overrides.yml file was failing as this file was too large

Severity
--------
Provide the severity of the defect.

Minor: Workaround provided

Steps to Reproduce
------------------
follow the instructions on READ-me : https://opendev.org/starlingx/openstack-armada-app/src/branch/master/enhanced-policies

Expected Behavior
------------------
The helm-override applies successfully

Actual Behavior
----------------
System fails to apply

Reproducibility
---------------
100% Reproducible

System Configuration
--------------------
Starlingx with FluxCD

Test Activity
-------------
Developer Testing

Workaround
----------
Split the horizon file and perform two helm overrides.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-armada-app (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/899047
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/ff3bed6e774739e1079c633d50b71a2a7d1a2ef1
Submitter: "Zuul (22348)"
Branch: master

commit ff3bed6e774739e1079c633d50b71a2a7d1a2ef1
Author: Romulo Leite <email address hidden>
Date: Mon Oct 23 09:19:12 2023 -0300

    Split horizon helm-override file

    As a side-effect of the migration from the migration
    from helm v2 to v3 and Armada to FluxCD, the helm
    override of the horizon rbac policy was failing to
    apply this file because it was too large. By splitting
    this file and making two helm overrides the apply can
    finish successfully.

    Test plan:

    PASS: system helm-override-update stx-openstack horizon openstack --reuse-values --values=rbac/horizon-policy-overrides.yml
          system helm-override-update stx-openstack horizon openstack --reuse-values --values=rbac/horizon-nova-policy-overrides.yml
    PASS: Reapply the app and check the helm overrides succeed

    Closes bug: 2040165

    Change-Id: Ib1c82544cd1f2335554f740bc3fe733ce57370ab
    Signed-off-by: Romulo Leite <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.distro.openstack
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.