sureshanaparti opened a new issue, #11922:
URL: https://github.com/apache/cloudstack/issues/11922

   ### problem
   
   Create Backup Schedule in UI doesn't show instance selection, passes random 
uuid for virtualmachineid and fails with error "Unable to execute API command 
createbackupschedule due to invalid value. Invalid parameter virtualmachineid 
value=65780f6c-c2d4-4ee7-a174-db123c28ce67 due to incorrect long value format, 
or entity does not exist or due to incorrect parameter annotation for the field 
in api cmd class."
   
   uuid - 65780f6c-c2d4-4ee7-a174-db123c28ce67 belongs to a volume.
   
   
https://github.com/user-attachments/assets/0af0627c-2416-4ac8-b1ac-d830358e7d29
   
   ```
   2025-10-29 09:25:47,505 DEBUG [c.c.a.ApiServlet] 
(qtp253011924-19:[ctx-9c190e7b]) (logid:dc193205) ===START===  10.0.3.251 -- 
POST
   command=createBackupSchedule
   response=json
   virtualmachineid=65780f6c-c2d4-4ee7-a174-db123c28ce67
   intervaltype=hourly
   maxbackups=3
   timezone=UTC
   schedule=45
   sessionkey=5n6tY5o-DLl6Voxg6Hr1XQ_hKbU
   
   ...
   2025-10-29 09:25:47,519 DEBUG [c.c.a.d.ParamProcessWorker] 
(qtp253011924-19:[ctx-9c190e7b, ctx-ea965f53]) (logid:dc193205) Object entity 
uuid = 65780f6c-c2d4-4ee7-a174-db123c28ce67 does not exist in the database.
   2025-10-29 09:25:47,519 INFO  [c.c.a.ApiServer] 
(qtp253011924-19:[ctx-9c190e7b, ctx-ea965f53]) (logid:dc193205) Unable to 
execute API command createbackupschedule due to invalid value. Invalid 
parameter virtualmachineid value=65780f6c-c2d4-4ee7-a174-db123c28ce67 due to 
incorrect long value format, or entity does not exist or due to incorrect 
parameter annotation for the field in api cmd class.
   2025-10-29 09:25:47,520 DEBUG [c.c.a.ApiServlet] 
(qtp253011924-19:[ctx-9c190e7b, ctx-ea965f53]) (logid:dc193205) ===END===  
10.0.3.251 -- POST
   command=createBackupSchedule
   response=json
   virtualmachineid=65780f6c-c2d4-4ee7-a174-db123c28ce67
   intervaltype=hourly
   maxbackups=3
   timezone=UTC
   schedule=45
   sessionkey=5n6tY5o-DLl6Voxg6Hr1XQ_hKbU
   ```
   
   ### versions
   
   ACS 4.22
   
   ### The steps to reproduce the bug
   
   1. Create Backup Repo, and Backup Offering
   2. Deploy an instance and assign Backup Offering to it
   3. Navigate to Backup Schedules, and Try to create schedule for the instance
   
   
   ### What to do about it?
   
   UI shouldn't pass any random virtualmachineid for backup schedule, and there 
should be provision to select the instance (with backup offering) to schedule 
backups.


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