Oops.. put 'master' BZ link when backported https://github.com/ManageIQ/manageiq/pull/18200 to Gaprindashvili. commit a79c4db3bcaa83e5665782c04f71ff13126a3afd Author: Jason Frey <fryguy9> Date: Wed Nov 28 10:29:37 2018 -0500 Merge pull request #18200 from agrare/bz_1644770_disconnect_storage_when_disconnecting_vms Disconnect storage when disconnecting the VM (cherry picked from commit 3e466eb1f562fba5743a8c4cbb66bf900b8e6a21) https://bugzilla.redhat.com/show_bug.cgi?id=1644770
New commit detected on ManageIQ/manageiq-content/gaprindashvili: https://github.com/ManageIQ/manageiq-content/commit/bd8fa5379ad1ba877aac5e3ab4f7668d839cd7a2 commit bd8fa5379ad1ba877aac5e3ab4f7668d839cd7a2 Author: Jason Frey <fryguy9> AuthorDate: Wed Nov 28 10:32:54 2018 -0500 Commit: Jason Frey <fryguy9> CommitDate: Wed Nov 28 10:32:54 2018 -0500 Merge pull request #472 from agrare/bz_1644770_disconnect_storage_when_disconnecting_vms Disconnect storage when disconnecting a VM (cherry picked from commit 6032cc1a9861563d800893a22ca7583a2e776076) https://bugzilla.redhat.com/show_bug.cgi?id=1654436 content/automate/ManageIQ/System/Event/EmsEvent/EVM.class/destroyvm_task_complete.yaml | 2 - content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_remove_vm_finished.yaml | 4 +- 2 files changed, 1 insertion(+), 5 deletions(-)
New commit detected on ManageIQ/manageiq-providers-vmware/gaprindashvili: https://github.com/ManageIQ/manageiq-providers-vmware/commit/bd97d36dd291a7decd01e0a3c762f8080fdf43e2 commit bd97d36dd291a7decd01e0a3c762f8080fdf43e2 Author: Jason Frey <fryguy9> AuthorDate: Wed Nov 28 10:32:26 2018 -0500 Commit: Jason Frey <fryguy9> CommitDate: Wed Nov 28 10:32:26 2018 -0500 Merge pull request #336 from agrare/bz_1644770_disconnect_storage_when_disconnecting_vms Check EmsEvents when disconnecting storage (cherry picked from commit f73e67f64056d8a56ac78597824203ac58671319) https://bugzilla.redhat.com/show_bug.cgi?id=1654436 app/models/manageiq/providers/vmware/infra_manager/vm_or_template_shared.rb | 1 + app/models/manageiq/providers/vmware/infra_manager/vm_or_template_shared/disconnect.rb | 27 + 2 files changed, 28 insertions(+)
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/b7cca71ac9e6b18b9d765028b2367b3d5037ec0b commit b7cca71ac9e6b18b9d765028b2367b3d5037ec0b Author: Jason Frey <fryguy9> AuthorDate: Wed Nov 28 10:33:37 2018 -0500 Commit: Jason Frey <fryguy9> CommitDate: Wed Nov 28 10:33:37 2018 -0500 Merge pull request #310 from agrare/bz_1644770_disconnect_storage_when_disconnecting_vms No need to override disconnect_inv from core (cherry picked from commit b3afbb248d40d472e90d797d0fd59ee3086e2ffc) https://bugzilla.redhat.com/show_bug.cgi?id=1654436 app/models/manageiq/providers/redhat/infra_manager/vm.rb | 6 - 1 file changed, 6 deletions(-)
New commit detected on ManageIQ/manageiq-automation_engine/gaprindashvili: https://github.com/ManageIQ/manageiq-automation_engine/commit/8d0a4592908eb8b24891ef567e460388942b5204 commit 8d0a4592908eb8b24891ef567e460388942b5204 Author: Greg McCullough <gmccullo> AuthorDate: Wed Nov 28 14:04:56 2018 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Wed Nov 28 14:04:56 2018 -0500 Merge pull request #272 from agrare/disconnect_storage_no_op Make disconnect_storage a no-op (cherry picked from commit d9dcef8ce15f9b51766bed4ef65c41397a900122) https://bugzilla.redhat.com/show_bug.cgi?id=1654436 lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_builtin_method.rb | 5 +- lib/miq_automation_engine/service_models/miq_ae_service_ems_event.rb | 3 +- spec/service_models/miq_ae_service_ems_event_spec.rb | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-)
On 5.9.5.6 this is verified. I was able to Retire a VM and that showed up as Archived while when I removed VM from inventory in vSphere UI it showed up in CFME as Orphaned.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:3816