stx-openstack: broken cinder helmrelease on helmv3

Bug #1990305 reported by Thales Elero Cervi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Thales Elero Cervi

Bug Description

Brief Description
-----------------
During the initial stx-openstack fluxcd application tests it was noticed that the cinder helmrelease is failing to render properly, breaking the apply procedure.

Severity
--------
Minor: Application apply always fails. stx-openstack fluxcd app stills in development phase though.

Steps to Reproduce
------------------
* Build the partial "storage" stx-openstack fluxcd app (https://review.opendev.org/c/starlingx/openstack-armada-app/+/848166/)
* Upload stx-openstack with: system application-upload
* Apply stx-openstack with: system application-apply

Expected Behavior
------------------
stx-openstack (initial) fluxcd application is successfully applied.

Actual Behavior
----------------
stx-openstack (initial) fluxcd application fails to apply.

Reproducibility
---------------
Reproducible

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
master + https://review.opendev.org/c/starlingx/openstack-armada-app/+/848166/

Last Pass
---------
N/A

Timestamp/Logs
--------------
* cinder-api pod logs:
Entrypoint WARNING: 2022/09/17 14:15:30 entrypoint.go:72: Resolving dependency Job cinder-rabbit-init in namespace openstack failed: jobs.batch "cinder-rabbit-init" not found .
Entrypoint WARNING: 2022/09/17 14:15:30 entrypoint.go:72: Resolving dependency Job cinder-ks-endpoints in namespace openstack failed: jobs.batch "cinder-ks-endpoints" not found .
Entrypoint WARNING: 2022/09/17 14:15:30 entrypoint.go:72: Resolving dependency Job cinder-ks-user in namespace openstack failed: jobs.batch "cinder-ks-user" not found .
Entrypoint WARNING: 2022/09/17 14:15:30 entrypoint.go:72: Resolving dependency Job cinder-db-sync in namespace openstack failed: jobs.batch "cinder-db-sync" not found .

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

Workaround
----------
None

Changed in starlingx:
assignee: nobody → Thales Elero Cervi (tcervi)
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/+/858560
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/effe4d5b6701d0557ec7651b005c455c2b9f5a2c
Submitter: "Zuul (22348)"
Branch: master

commit effe4d5b6701d0557ec7651b005c455c2b9f5a2c
Author: Thales Elero Cervi <email address hidden>
Date: Tue Sep 20 14:27:38 2022 -0300

    OSH Patch: Fixing cinder release hooks weights

    The relation of dependency for cinder release resources is not working
    with helmv3 since several jobs have post-install hooks and are
    dependencies of other jobs and deployments that have no hooks.

    The jobs/deployments without hooks are deployed during an installation
    phase that is never complete since the dependency jobs are hooked to be
    deployed on post-install phase.

    This change includes helm-hooks for the boostrap job and the api,
    scheduler and volume deployments. The weights will define the order each
    one will be deployed.

    Test Plan:
    PASS - build-helm-charts.sh builds a basic FluxCD and a complete Armada
           app tarball
    PASS - application upload and overrides generated
    PASS - application apply/remove/delete

    Closes-Bug: 1990305

    Signed-off-by: Thales Elero Cervi <email address hidden>
    Change-Id: I146a5608c60082239d85d1cd8f0f2545c0c62091

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.8.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.