GitHub user KuasarCloud closed a discussion: Recurrent errors in database on vm 
schedules

Hey community!

After creating a schedule to start/stop vm_instances, a recurrent error appears 
in logs

025-07-17 11:29:19,383 ERROR [o.a.c.v.s.d.VMScheduledJobDaoImpl] 
(VMSchedulerPollTask:[ctx-d11d1302]) (logid:c3157b08) DB Exception on: 
HikariProxyPreparedStatement@614529765 wrapping 
com.mysql.cj.jdbc.ServerPreparedStatement[6379]: INSERT INTO vm_scheduled_job 
(vm_scheduled_job.uuid, vm_scheduled_job.vm_id, 
vm_scheduled_job.vm_schedule_id, vm_scheduled_job.async_job_id, 
vm_scheduled_job.action, vm_scheduled_job.scheduled_timestamp) VALUES 
(x'65396330306236652d626463622d346430612d396162332d663466636136343536356130', 
293, 120, NULL, 'STOP', '2025-07-18 04:00:00') 
java.sql.SQLIntegrityConstraintViolationException: Duplicate entry 
'120-2025-07-18 04:00:00' for key 'vm_schedule_id'

I have two management host running with ACS 4.20.1 with KVM Hypervisors. Any 
clue what is trying to insert it again in the database?

GitHub link: https://github.com/apache/cloudstack/discussions/11238

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to