Uh oh!
There was an error while loading. Please reload this page.
Allow uploading of ISO for creating kubernetes supported versions - #9561
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #9561 +/- ##
============================================
- Coverage 17.36% 17.35% -0.01% - Complexity 15237 15238 +1
============================================
Files 5888 5889 +1 Lines 525741 525898 +157 Branches 64164 64174 +10 ============================================
+ Hits 91274 91277 +3 - Misses 424167 424320 +153 - Partials 10300 10301 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
158acb9 to
364f4ceComparevishesh92
commented
Aug 21, 2024
@blueorangutan package |
blueorangutan
commented
Aug 21, 2024
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 21, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10728 |
FelipeM525
commented
Aug 21, 2024
@vishesh92 would you mind adding some images to the description? |
shwstppr
commented
Aug 21, 2024
@vishesh92 will this create access issues? Currently, k8s ISOs are registered as public and are accessible to all. But now will it allow linking any existing ISO which can be seen by root admin. |
vishesh92
commented
Aug 22, 2024
I can add checks on the backend to ensure that the ISO has the required configuration settings. But it might be confusing for the end user. Let me revisit the approach and directly allow uploading of ISO for k8s. |
364f4ce to
be1539fComparevishesh92
commented
Aug 22, 2024
@blueorangutan package |
blueorangutan
commented
Aug 22, 2024
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 22, 2024
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10747 |
be1539f to
6d378b5Comparevishesh92
commented
Aug 23, 2024
@blueorangutan package |
blueorangutan
commented
Aug 23, 2024
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
weizhouapache
commented
Aug 23, 2024
@vishesh92 |
vishesh92
commented
Aug 23, 2024
@weizhouapache My initial PR was for linking an existing ISO with a CKS Supported version (main...shapeblue:cloudstack:k8s-version-add-iso-id-backup). @shwstppr had some concerns regarding the iso's permissions. So, I made the implementation similar to how it is there right now for templates & ISOs. |
we can add some restrictions
I had a quick look at your initial PR, it looks ok to me |
blueorangutan
commented
Aug 23, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10772 |
vishesh92
commented
Aug 23, 2024
@weizhouapache I am not sure about changing the properties of the existing ISO. I can maybe create a copy of the ISO with required ownership and properties. Do you think that would be a better approach? |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
I've changed it, please check the conflicts |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
cdcf240 to
1abe54eComparevishesh92
commented
Sep 4, 2025
@blueorangutan package |
blueorangutan
commented
Sep 4, 2025
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Sep 4, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14844 |
vishesh92
commented
Sep 4, 2025
@blueorangutan test keepEnv |
blueorangutan
commented
Sep 4, 2025
@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
vishesh92
commented
Sep 8, 2025
@kiranchavala Can you try again? You will need to ensure certs are valid for the SSVM or an exception is added. |
vishesh92
commented
Sep 8, 2025
@blueorangutan test |
vishesh92
commented
Sep 8, 2025
|
DaanHoogland
commented
Sep 8, 2025
@blueorangutan test |
blueorangutan
commented
Sep 8, 2025
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Sep 8, 2025
[SF] Trillian Build Failed (tid-14244) |
blueorangutan
commented
Sep 9, 2025
[SF] Trillian test result (tid-14250)
|
RosiKyu
commented
Oct 13, 2025
RosiKyu
left a comment
There was a problem hiding this comment.
LGTM
Test Summary - Kubernetes ISO Upload (Tested for both: Local & URL)
Local upload:
Upload modal works as expected.
Progress bar shows correctly during upload.
ISO transitions: Allocated → Ready.
K8s supported version is created and listed in UI.
DB reflects template as Active.
Cleanup (delete kubernetessupportedversion) works as expected.
Invalid ISO format:
Upload rejected with clear error message.
No version created or stuck entries.
RBAC:
Only Admin can successfully upload ISO.
For non-admin, modal may appear but action is blocked (modal non-functional).
Permission checks behave correctly with custom roles.
URL upload:
Valid URL starts background download on SSVM, progresses normally.
Invalid URL might get stuck in Creating state -> SSVM restart triggers timeout/error (404), making stuck entries deletable.
Deletion via API/CMK works as expected (both via UI and API).
Uh oh!
There was an error while loading. Please reload this page.














Description
This PR fixes#8417 by allowing the user to register an ISO by uploading from local.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?