-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Milestone
Description
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.
BackupSchedules_UI_Issue.mov
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
Checked with ACS 4.22.0 RC2
The steps to reproduce the bug
- Create Backup Repo, and Backup Offering
- Deploy an instance and assign Backup Offering to it
- 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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status