Inaccurate error message when failing to upload fluxcd applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
New
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
When running 'system application-upload <APPLICATION>.tgz' with a fluxcd application, on failure, the message is inaccurate. This can occur when the tgz files has a missing kustomization.yaml file. The error reported by the system is "Application-upload rejected: Application-upload rejected: manifest file/directory is missing.", however no manifest file is needed in a fluxcd application.
Severity
-----
Minor: System/Feature is usable with minor issue
Steps to Reproduce
-------
- Create a fluxcd with a missing kustomization.yaml
- Run 'system application-upload <APPLICATION>.tgz' and note the inaccurate error
Expected Behavior
------------------
Error message should indicate the kustomization.yaml is missing not the manifest.
Actual Behavior
----------------
The error message returned is "Application-upload rejected: Application-upload rejected: manifest file/directory is missing."
Reproducibility
---------------
100%
System Configuration
---------
Testing on AIO-SX
Branch/Pull Time/Commit
-----------
Master
Last Pass
------
New feature
Timestamp/Logs
--------------
Test Activity
-------------
Developer testing
Workaround
-------------
A properly packaged fluxcd application.
tags: | added: stx.apps |
Changed in starlingx: | |
importance: | Undecided → Low |