Description of problem: Duplicate folder names between host & vm/templates causes placement issues Hosts & Clusters shared a common folder name with a folder that also resides in vm & templates inside of VMWare which will cause CloudForms to attempt to place a vm inside of the Host & Clusters folder. Version-Release number of selected component (if applicable): 5.4.5 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1242198 [details] 5.4.x_hotfix
https://github.com/ManageIQ/manageiq/pull/13629
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/8916ec4cb6ab65c9807c55f5f6853b150e75cd57 commit 8916ec4cb6ab65c9807c55f5f6853b150e75cd57 Author: Greg McCullough <gmccullo> AuthorDate: Wed Jan 18 11:08:38 2017 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Tue Jan 24 13:15:46 2017 -0500 Limit EmsFolder list to vm folders during provisioning. https://bugzilla.redhat.com/show_bug.cgi?id=1414136 app/models/miq_request_workflow.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/952f27787b114e80503776f48fcc4a179d5fb1c6 commit 952f27787b114e80503776f48fcc4a179d5fb1c6 Author: Greg McCullough <gmccullo> AuthorDate: Wed Jan 18 11:12:55 2017 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Tue Jan 24 13:35:13 2017 -0500 Refactor set_folder to use eligible_folders to detect folder by name. https://bugzilla.redhat.com/show_bug.cgi?id=1414136 app/models/mixins/miq_provision_mixin.rb | 41 +++++++++++--------------------- 1 file changed, 14 insertions(+), 27 deletions(-)
verified on 5.6.4.0