Bug 1404527

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.6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1404028 Environment:
Last Closed: 2017-03-09 17:06:08 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 2016-12-14 15:56:24 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/c7f40d108ee1c635ecadb3b6c0531f156406cd44

commit c7f40d108ee1c635ecadb3b6c0531f156406cd44
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Tue Dec 13 10:54:38 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Wed Dec 14 10:51:42 2016 -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=1404527

 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 4 errata-xmlrpc 2017-03-09 17:06:08 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/RHBA-2017-0474.html