Skip to content

¿Why ManageIQ does not remove discovered VMs from vCenter? #23044

Closed Answered by agrare
flealf asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @flealf yes this is correct when retiring a VM MIQ will only delete it from the underlying provider if it was provisioned by MIQ: https://github.com/ManageIQ/manageiq-content/blob/master/content/automate/ManageIQ/Infrastructure/VM/Retirement/StateMachines/Methods.class/__methods__/remove_from_provider.rb#L39

We seem to have gone back and forth on this, it was removed in #6290 then added back in #9233

If you want VM retirement to remove the vm from the underlying provider you can tag it with lifecycle/retire_full according to that PR. Surprisingly I don't see this in our documentation but it is in pemgc's automate guide https://github.com/pemcg/manageiq-automation-howto-guide/blob/mast…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@agrare
Comment options

Answer selected by agrare
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants