Red Hat Bugzilla – Bug 1468201
A deleted VM state do not change to Archived state
Last modified: 2017-08-16 14:43:38 EDT
Description of problem:
A down VM that is deleted on RHV provider side, move into Unknown state on CFME side, and keeps this state, while it should move into Archived state.
This is even though the VM was refreshed, and long time passed (20 min so far).
Version-Release number of selected component (if applicable):
On CFME, under Archived VMs, there are VMs in Archived state, but those are VMs taken from DB history records.
Created attachment 1294908 [details]
Created attachment 1294909 [details]
There is a difference in regards to VMs, that were deleted on provider side,
between VMWare and RHV.
For VMWare (VSphere55),
such VMs will be displayed only under "Archived",
and it In the VM details page, the power state is "Unknown".
While for RHV,
such VMs are keep on being displayed under provider VMs, with power state: "Unknown",
but they are not displayed under the Archived VMs
I found and issue with vm UPDATE statement. After playing with bunch of different solutions I noticed that the problem is gone with the latest master. I am trying to understand what has changed to make sure the fix was back ported.