Rook-ceph-migration application fails to upload

Bug #2062047 reported by Caio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Caio

Bug Description

Brief Description
-----------------

When trying to upload the app it fails with the k8s version error:

[sysadmin@controller-0 ~(keystone_admin)]$ system application-upload rook-ceph-migration-2.0-1.tgz
Application-upload rejected: metadata validation failed. Kubernetes supported versions not specified on application metadata file. Please add a 'supported_k8s_version' section containing at least a 'minimum' field ('maximum' field is optional).
}

Severity
--------
Major

Expected Behavior
------------------

The app should upload without any issues.

Actual Behavior
----------------
The app cannot be uploaded

Reproducibility
---------------
This issue is 100% reproducible

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
Master branch pulled on Apr 15 2024 at 10 am.

Test Activity
-------------
Feature Testing.

Workaround
----------
Add the fields  following fields to metadata.yaml inside the package (.tgz)

supported_k8s_version:

  minimum: 1.24.3

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rook-ceph (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/rook-ceph/+/916137

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rook-ceph (master)

Reviewed: https://review.opendev.org/c/starlingx/rook-ceph/+/916137
Committed: https://opendev.org/starlingx/rook-ceph/commit/2f540f21bb822f6a1f0d8be24be0ccffdc2e1683
Submitter: "Zuul (22348)"
Branch: master

commit 2f540f21bb822f6a1f0d8be24be0ccffdc2e1683
Author: Caio Correa <email address hidden>
Date: Wed Apr 17 15:38:29 2024 -0300

    Add minimun Kubernetes version to rook-ceph-migration

    Add minimum kubernetes version field to the application
    metadata.yaml file

    Minimum Kubernetes Version: 1.24.4

    Test Plan:
        PASS: Build an application tarball and upload it on a StarlingX.

    Closes-Bug: 2062047

    Change-Id: I051e17e812b4d6e55db04363364d8009e9789210
    Signed-off-by: Caio Correa <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.10.0 stx.apps stx.storage
Changed in starlingx:
assignee: nobody → Caio (ccorreawr)
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.