FluxCD: Application update rollback from armada does not remove fluxcd release info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Lucas |
Bug Description
Brief Description
-----------------
If an system application-update is triggered updating an armada app to a fluxcd app (preceded by a helm release migration) and update fails, application framework will try to perform a recover, such recover will fail as fluxcd uses helm3 and armada helm2, this will create resources both in helm2 and helm3 leaving the system in a inconsistent state
Severity
--------
Major: updated application that failed must be deleted
Steps to Reproduce
------------------
1. apply armada app
2. migrate helm release from app
3. system-application update <fluxcd_tarball>
4. system-application abort app
Expected Behavior
------------------
recover does not start when coming from armada to fluxcd
Actual Behavior
----------------
recover starts and breaks the app metadata
Reproducibility
---------------
reproducible
System Configuration
-------
any
Branch/Pull Time/Commit
-------
master
Last Pass
---------
na
Timestamp/Logs
--------------
cert-manager xxx cert-manager-
nginx-ingress-
Test Activity
-------------
Upgrade testing
Workaround
----------
delete app
Changed in starlingx: | |
assignee: | nobody → Lucas (lcavalca) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.apps |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/848133
Review: https:/