Inaccurate error message when failing to upload fluxcd applications

Bug #1972868 reported by Gleb Aronsky
6
This bug affects 1 person
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: 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.