stx-openstack: broken cinder helmrelease on helmv3
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:/
* 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:/
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-
Entrypoint WARNING: 2022/09/17 14:15:30 entrypoint.go:72: Resolving dependency Job cinder-ks-endpoints in namespace openstack failed: jobs.batch "cinder-
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 |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.distro.openstack |
Reviewed: https:/ /review. opendev. org/c/starlingx /openstack- armada- app/+/858560 /opendev. org/starlingx/ openstack- armada- app/commit/ effe4d5b6701d05 57ec7651b005c45 5c2b9f5a2c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit effe4d5b6701d05 57ec7651b005c45 5c2b9f5a2c
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: charts. sh builds a basic FluxCD and a complete Armada
PASS - build-helm-
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> 239d85d1cd8f0f2 545c0c62091
Change-Id: I146a5608c60082