rosi-shapeblue commented on PR #9561:
URL: https://github.com/apache/cloudstack/pull/9561#issuecomment-3396938442

   **1. Valid ISO upload:**
   
   -  Upload ISO from local → progress bar works → Allocated → Ready
   -  K8s supported version is created and visible in UI
   -  DB reflects ISO as Active
   -  Cleanup works correctly.
   
   <img width="3099" height="1673" alt="Screenshot from 2025-10-13 11-41-06" 
src="https://github.com/user-attachments/assets/ecaa2625-4dc5-4dee-990c-1f77ebf5d37a";
 />
   
   <img width="3099" height="1673" alt="Screenshot from 2025-10-13 11-41-10" 
src="https://github.com/user-attachments/assets/85e72e2d-1bfc-4d6f-b609-2e875e132a8a";
 />
   
   <img width="3099" height="1673" alt="Screenshot from 2025-10-13 11-42-18" 
src="https://github.com/user-attachments/assets/81174170-d2bd-446f-abee-a38da84c0119";
 />
   
   
   ```
   mysql> SELECT id, name, state FROM vm_template WHERE name LIKE 
'%Kubernetes-Binaries-ISO%';
   +-----+-------------------------------------------+--------+
   | id  | name                                      | state  |
   +-----+-------------------------------------------+--------+
   | 211 | test-local-upload-Kubernetes-Binaries-ISO | Active |
   +-----+-------------------------------------------+--------+
   1 row in set (0.00 sec)
   
   ```
   
   ```
   (localcloud) 🐱 > list kubernetessupportedversions 
filter=name,isoname,isostate
   {
     "count": 1,
     "kubernetessupportedversion": [
       {
         "isoname": "test-local-upload-Kubernetes-Binaries-ISO",
         "isostate": "Ready",
         "name": "test-local-upload"
       }
     ]
   }
   
   ```
   
   **2. Invalid ISO / format upload:**
   
   <img width="2628" height="548" alt="image" 
src="https://github.com/user-attachments/assets/1eff2b41-06be-43d6-8b8b-3557bb79089d";
 />
   
   <img width="2628" height="548" alt="image" 
src="https://github.com/user-attachments/assets/9971c88e-9575-4168-81a0-0652bd2b6e0f";
 />
   
   <img width="2681" height="636" alt="image" 
src="https://github.com/user-attachments/assets/195f8292-9215-4136-91b1-d16a85e4e435";
 />
   
   **3. Permission & Role Testing:**
   
   <img width="3113" height="867" alt="image" 
src="https://github.com/user-attachments/assets/af79e5ca-d9b6-42a8-8117-504ec89c7f46";
 />
   
   - with permissions (**NOTE**: only admin users should be allowed to execute 
such uploads; the modal is not functional, despite it might be present in some 
cases where the user was granted such permissions)
   
   <img width="3108" height="1644" alt="image" 
src="https://github.com/user-attachments/assets/ef5e92ca-d8d8-4d03-8664-deb4445f4808";
 />
   
   - without permissions:
   
   <img width="3108" height="826" alt="image" 
src="https://github.com/user-attachments/assets/c519afbb-85cf-44d3-9650-336ba727cedf";
 />
   
   **4. URL Path Upload**
   
   via UI / API
   
   ```
   (admin) 🐱 > addKubernetesSupportedVersion semanticversion=1.33.1 
url=https://download.cloudstack.org/cks/setup-v1.33.1-calico-aarch64.iso 
mincpunumber=2 minmemory=2048 zoneid=139d7f30-ab8e-4dbb-9f67-f23f4de8241c
   {
     "kubernetessupportedversion": {
       "arch": "x86_64",
       "created": "2025-10-13T10:10:30+0000",
       "directdownload": false,
       "id": "ea635f13-f475-4db1-972d-d7951668fa23",
       "isoid": "e9444a71-fc81-4cb1-ba2d-b21c9a24044a",
       "isoname": 
"v1.33.1-ref-trl-9660-k-Mol8-rositsa-kyuchukova-Kubernetes-Binaries-ISO",
       "isostate": "Creating",
       "mincpunumber": 2,
       "minmemory": 2048,
       "name": "v1.33.1-ref-trl-9660-k-Mol8-rositsa-kyuchukova",
       "semanticversion": "1.33.1",
       "state": "Enabled",
       "supportsautoscaling": true,
       "supportsha": true,
       "zoneid": "139d7f30-ab8e-4dbb-9f67-f23f4de8241c",
       "zonename": "ref-trl-9660-k-Mol8-rositsa-kyuchukova"
     }
   }
   (admin) 🐱 >  
   
   ```
   
   <img width="2681" height="622" alt="image" 
src="https://github.com/user-attachments/assets/7eed9528-d6bc-41f3-bc2e-ab8c17eb8625";
 />
   
   - invalid path
   
   <img width="2609" height="762" alt="image" 
src="https://github.com/user-attachments/assets/fdf4697c-9e79-43ac-bd93-7c392ae3e00f";
 />
   
   ```
   (admin) 🐱 > delete kubernetessupportedversion 
id=c5d50d38-c1e3-48ae-8459-0cfee9a7a118
   {
     "success": true
   }
   
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to