Closed henrygrover closed 6 years ago
@henrygrover this could have been simpler by just updating the Infrastructure/VM/Retirement/StateMachines/VMRetirement
schema to add two more states PowerOff
and CheckPowerOff
which would call the out of the box methods by those names. But I ended up going with https://github.com/rhtconsulting/miq-Utilities/issues/38 instead because the vm.refresh will help.
Prevents VMs from ending up in a broken state if VMware returns "unknown" as the status during retirement