Bug 1411791

Summary: VM details cluster field vanish, after update VM to another cluster.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, dajohnso, gblomqui, jfrey, jhardy, obarenbo, oourfali, pkliczew, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:cluster
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1397503 Environment:
Last Closed: 2017-02-27 19:19:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1397503    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-10 13:55:57 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/86641c87da02c6079b51a2033c99e7c553da8229

commit 86641c87da02c6079b51a2033c99e7c553da8229
Author:     Adam Grare <agrare>
AuthorDate: Mon Dec 5 13:45:55 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jan 10 08:50:40 2017 -0500

    Merge pull request #12927 from pkliczewski/clutser_refresh
    
    Update cluster when modified
    (cherry picked from commit 588b5f9c38a58d30afafd02b52daa354bb2ea59c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1411791

 .../providers/redhat/infra_manager/refresher.rb    |  10 +-
 .../infra_manager/refresher_target_vm_spec.rb      |  34 +--
 .../infra_manager/refresher_target_new_vm.yml      | 262 ++++++++++++++-------
 .../redhat/infra_manager/refresher_target_vm.yml   | 258 +++++++++++++-------
 4 files changed, 361 insertions(+), 203 deletions(-)

Comment 3 Ilanit Stein 2017-01-26 11:19:30 UTC
Verified on CFME-5.7.1.0 & RHV-4.0.5

Checked the exact scenario, as in description.
After cluster change, refreshing the VM details page, the cluster field is updated correctly:

Cluster	 <new cluster>
Resource Pool	 <data center> for Cluster <new cluster>

Comment 5 errata-xmlrpc 2017-02-27 19:19:53 UTC
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://rhn.redhat.com/errata/RHSA-2017-0320.html