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

   ### problem
   
   Once you like to disable an existing schedule for a VM you'll receive an 
error "Start date [2025-07-10T09:38:45Z[UTC]] can't be before current time". As 
workaround you just clear the start date and continue.
   
   Once you open the schedule again the old start date will appear.
   Same behaviour for enabling a schedule - which is fine for enable.
   
   Once schedule got enabled again the old start date will get used and not the 
current time like at the moment when I first created the schedule. (Might be 
okay to keep the original one.)
   
   ### versions
   
   4.20.1.0
   
   ### The steps to reproduce the bug
   
   1. select a VM
   2. create a schedule - no changes needed on the form, just click "ok"
   3. wait 2 minutes to have the start time older than the current time
   4. open the schedule and disable the schedule - click "ok"
   5. error message will appear
   6. clear the start date and click "ok" again - now it will work
   ...
   
   
   ### What to do about it?
   
   I my opinion changing the start date should not be needed once you just want 
to disable the schedule. It will become effective right away, right?
   
   


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