Bug 1404526

Summary: Folder relationship change causing a re-classify of all children VMs
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.6.0CC: clasohm, cpelland, jfrey, jhardy, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1404028 Environment:
Last Closed: 2017-02-27 19:15:18 UTC Type: ---
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: 1404028    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-09 19:00:54 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/a4db03cfef31c976b940ab54042714fefd46f442

commit a4db03cfef31c976b940ab54042714fefd46f442
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Tue Dec 13 10:54:38 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jan 9 13:55:43 2017 -0500

    Merge pull request #13133 from Fryguy/fix_post_refresh_ems
    
    Fix post_refresh_ems by only reclassifying VMs if they were changed directly
    (cherry picked from commit 850ec918e05002e2077851000f84d7fe58c4ddfc)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1404526

 app/models/vm_or_template.rb       |  34 ++++++---
 spec/factories/ems_folder.rb       |  79 +++++++++++++++++++
 spec/models/vm_or_template_spec.rb | 151 +++++++++++++++++++++++++++++++++++++
 3 files changed, 254 insertions(+), 10 deletions(-)

Comment 3 errata-xmlrpc 2017-02-27 19:15:18 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