Created attachment 1182237 [details] VI Client screen capture of logical location of datacenter that is failing Description of problem:Attempts to provision from a template fail with the target destination specified with '<:placement_folder_name> updated with <[nil, nil]>'. Provision to datacenter not within any folder is successful Version-Release number of selected component (if applicable): Version: 5.6.0.13 How reproducible: see attached screen image for folder hierarchy that is failing. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Actual Results: Provision fails with provision spec indicating that no target location was specified (ie, multiple 'nil' entries) Expected Results: provisioning should succeed. Results suggest that CFME is not correctly handling the location of a data center when it is logically nested within multiple folders.
Created attachment 1182238 [details] current logs from failing appliance showing provisioning failure
https://github.com/ManageIQ/manageiq/pull/10266
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e6acec14a1bf5a33f5b9f2fa88ca5016ffef7f1f commit e6acec14a1bf5a33f5b9f2fa88ca5016ffef7f1f Author: Drew Bomhof <dbomhof> AuthorDate: Thu Aug 4 12:42:30 2016 -0400 Commit: Drew Bomhof <dbomhof> CommitDate: Mon Aug 15 16:35:40 2016 -0400 No longer default a datacenter at the root folder of a host. If a datacenter was nested logically under various folders We were unable to find the placement id during a vmware provision request. This fix always does a lookup of the folder path from the host datacenter instead of statically setting a possible wrong default value. https://bugzilla.redhat.com/show_bug.cgi?id=1358474 https://www.pivotaltracker.com/story/show/127205001 .../vmware/infra_manager/provision/cloning.rb | 4 +-- .../vmware/infra_manager/provision_spec.rb | 34 ++++++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-)
"Clone this template" and "Provision VM from this template" worked fine with data center nested below multiple folder. Build : 5.7.0.0.20160906172503_12f65cb