-
Notifications
You must be signed in to change notification settings - Fork 926
Retired VM not being deleted from provider #23776
Copy link
Copy link
Open
Labels
Description
It has been observed that VMs which were provisioned by ManageIQ occasionally are not deleted from the underlying provider, but rather are left powered off and left "orphaned" rather than "archived".
It appears that when we started to purge MiqRequest records after 6 months (#21577), that caused the MiqRequest records associated with those requests to be destroyed [ref]
The vm.miq_provision object is used by the retirement state machine to determine if the VM should be removed from disk [ref].
The result, if a VM is retired >6 months after it was provisioned then it is left powered off on the provider rather than deleted from disk.
This was initially released with spassky-1 so it is a relatively new problem.
Reactions are currently unavailable