If more than one scheduled actions fit in a scheduler cycle, the behaviour is unexpected
|Affected Versions:||OpenNebula 4.0|
Scheduled actions are processed in order. If the scheduler does its thing at 10:00 and 10:15, these two VMs will have different results:
SCHEDULED ACTIONS ID ACTION SCHEDULED DONE MESSAGE 0 snapshot-create 09/20 10:05 - 1 cancel 09/20 10:10 - SCHEDULED ACTIONS ID ACTION SCHEDULED DONE MESSAGE 0 cancel 09/20 10:10 - 1 snapshot-create 09/20 10:05 -
We should sort the actions by time. And maybe just execute the first one.