Skip to content

Locked VM deleted by past scheduled action when unlocked #7061

@baby-gnu

Description

@baby-gnu

Description

When a VM is locked with a terminate scheduled action, the action is run when the VM is unlocked after the scheduled time.

To Reproduce

  1. Start a VM
  2. Add a scheduled terminate action
  3. Lock the VM
  4. Wait for schedule time to pass
  5. Unlock the VM

Expected behavior

Passed scheduled action should not be executed or we should have a parameter to run them afterward.

Details

  • Affected Component: Scheduler
  • Hypervisor: KVM
  • Version: 6.2, 6.4, 6.6, 6.8, 6.10

Additional context

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions