Platform managed apps that were forcefully removed (and tarball deleted) are being re-uploaded

Bug #1982868 reported by Thiago Paiva Brito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Low
Unassigned

Bug Description

Brief Description
-----------------
Platform managed apps that were forcefully removed (and tarball deleted) re-upload is being attempted. I believe there is a cache of system managed applications that needs to be cleaned up at application-delete so it doesn't try to upload an app that the tarball doesn't even exist anymore.

Severity
--------
Minor: System/Feature is usable with minor issue

Steps to Reproduce
------------------
With rook-ceph-apps in the "uploaded" state (default):
1. Delete the rook-ceph-apps tarball from /usr/local/share/applications/helm so it doesn't get re-uploaded
2. system application-remove rook-ceph-apps

Expected Behavior
------------------
Application shouldn't be there

Actual Behavior
----------------
[sysadmin@controller-0 helm(keystone_admin)]$ system application-list
+--------------------------+-------------------------+-------------------------------------------+---------------------+-----------+-----------+
| application | version | manifest name | manifest file | status | progress |
+--------------------------+-------------------------+-------------------------------------------+---------------------+-----------+-----------+
| cert-manager | 1.0-36 | cert-manager-fluxcd-manifests | fluxcd-manifests | applied | completed |
| nginx-ingress-controller | 1.1-38 | nginx-ingress-controller-fluxcd-manifests | fluxcd-manifests | applied | completed |
| oidc-auth-apps | 1.0-68 | oidc-auth-apps-fluxcd-manifests | fluxcd-manifests | uploaded | completed |
| platform-integ-apps | 1.0-52 | platform-integ-apps-fluxcd-manifests | fluxcd-manifests | applied | completed |
| rook-ceph-apps | app-version-placeholder | manifest-placeholder | tarfile-placeholder | uploading | None |
+--------------------------+-------------------------+-------------------------------------------+---------------------+-----------+-----------+

Reproducibility
---------------
2/2

System Configuration
--------------------
AIO-SX

Branch/Pull Time/Commit
-----------------------
2022-05-12 08:52:21 -0400

Last Pass
---------
never tried?!

Timestamp/Logs
--------------
https://paste.opendev.org/show/bDGGp0iXNA89Db6irZYJ/

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

Workaround
----------
sudo sm-restart service sysinv-conductor
system application-remove rook-ceph-apps

Tags: stx.apps
Ghada Khalil (gkhalil)
tags: added: stx.apps
Changed in starlingx:
importance: Undecided → Low
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.