Skip to content

Retired VM not being deleted from provider #23776

@agrare

Description

@agrare

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions