erikbocks commented on PR #13411:
URL: https://github.com/apache/cloudstack/pull/13411#issuecomment-7285127052

   Hello, @Damans227 
   
   Here follows the test requested on 
https://github.com/apache/cloudstack/pull/13411#pullrequestreview-6059961220:
   
   ## 1. Details about VM, existing snapshots and user account limits
   
   <details><summary>VM details</summary>
   
   <img width="2234" height="459" alt="image" 
src="https://github.com/user-attachments/assets/c3f96e3c-8be8-412a-bfe7-1790b4b608c6";
 />
   
   </details>
   
   <details><summary>Snapshots list</summary>
   
   <img width="2234" height="448" alt="image" 
src="https://github.com/user-attachments/assets/e0a4e43b-9784-42a4-982b-4a6278dce0f9";
 />
   
   </details>
   
   <details><summary>User limits</summary>
   
   <img width="2257" height="864" alt="image" 
src="https://github.com/user-attachments/assets/528ebfea-7f8a-4bc5-afea-5cded9ee74cc";
 />
   
   </details>
   
   ## 2. Malformed secondary storage selector creation
   
   ```
   (all-in-one) 🐋 > create secondarystorageselector name=malformed 
description=malformed type=SNAPSHOT zoneid=3b42d247-1d78-47a1-b6de-c797398661c8 
heuristicrule="invalid"
   {
     "heuristics": {
       "created": "2026-11-30T13:22:57-0300",
       "description": "malformed",
       "heuristicrule": "invalid",
       "id": "fd86d831-4f4d-420b-a90a-f74986c11531",
       "name": "malformed",
       "type": "SNAPSHOT",
       "zoneid": "3b42d247-1d78-47a1-b6de-c797398661c8"
     }
   }
   ```
   
   ## 3. Snapshot failure, user account limits and logs
   
   <details><summary>Snapshot failure</summary>
   
   <img width="2257" height="328" alt="image" 
src="https://github.com/user-attachments/assets/568f1446-1fd3-43c7-8477-a7a2ba4dae37";
 />
   
   </details>
   
   <details><summary>User limits after snapshot failure</summary>
   
   <img width="2257" height="921" alt="image" 
src="https://github.com/user-attachments/assets/72d536a0-94e7-4291-8632-4dab7764af04";
 />
   
   </details>
   
   <details><summary>Management Server's failure logs</summary>
   
   ```
   2026-11-30 13:29:06,673 ERROR [c.c.s.s.SnapshotManagerImpl] 
(Work-Job-Executor-2:[ctx-e9721d39, job-51/job-52, ctx-86b324d4]) 
(logid:b69ac203) There was an error while selecting image store for snapshot: 
Unable to execute script [invalid] due to [Script error: ReferenceError: 
"invalid" is not defined in <eval> at line number 1 in <eval> at line number 1]
   2026-11-30 13:29:06,677 DEBUG [c.c.s.s.SnapshotManagerImpl] 
(Work-Job-Executor-2:[ctx-e9721d39, job-51/job-52, ctx-86b324d4]) 
(logid:b69ac203) Failed to create snapshotUnable to execute script [invalid] 
due to [Script error: ReferenceError: "invalid" is not defined in <eval> at 
line number 1 in <eval> at line number 1]
   2026-11-30 13:29:06,677 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(Work-Job-Executor-2:[ctx-e9721d39, job-51/job-52, ctx-86b324d4]) 
(logid:b69ac203) Updating resource Type = snapshot count for Account with id = 
4 Operation = decreasing Amount = 1
   2026-11-30 13:29:06,678 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(Work-Job-Executor-2:[ctx-e9721d39, job-51/job-52, ctx-86b324d4]) 
(logid:b69ac203) Updating resource Type = secondary_storage count for Account 
with id = 4 Operation = decreasing Amount = (50.00 MB) 52428800
   ```
   
   </details>


-- 
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