Bug 1445399

Summary: VM state is not refreshed, after moving VM from running on one host to another
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: urgent Docs Contact:
Priority: high    
Version: 5.8.0CC: jfrey, jhardy, obarenbo, rhrazdil, simaishi
Target Milestone: GAKeywords: Regression, TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev, VM refresh
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1445888 (view as bug list) Environment:
Last Closed: 2018-03-06 15:16:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1501162, 1508956    
Bug Blocks: 1445888    

Description Ilanit Stein 2017-04-25 15:09:02 UTC
Description of problem:
Have a RHV provider connected to CFME.
Have a VM run on one host.
On RHV side (while this RHV still connected to CFME),
turn this VM off, and then move the VM back up, and make sure to set it to run on another host.

Goto CFME, and in this VM details page, the VM state is seen as off.
Refresh the VM by going to Configuration->"Refresh relationships and Power states". Even after several such Refresh requests, the VM state remains off (down), while it should get updated to "UP" state.

Version-Release number of selected component (if applicable):
CFME-5.8.0.11+New Provider last PR
RHV-4.0.7

How reproducible:
repeated twice

Additional info:
This was already fixed & verified with this PR:
https://github.com/ManageIQ/manageiq-providers-ovirt/pull/19

Comment 3 Radim Hrazdil 2017-11-02 15:00:20 UTC
Unable to verify, blocked by 1508956.

Comment 5 Ilanit Stein 2017-12-13 07:29:37 UTC
Verified on CFME-5.9.0.12/RHV-4.1.8