Foreman fails to find VMware templates when they're in a folder
Our VMware5.1 DC is setup as: vCenter -> Datacenter -> Folder -> Template_name. When trying to provision a new VM using the template, Foreman fails to find the template, with this error:
Failed to create a compute POD_Dev (VMware) instance dlaxtest500.apolloglobal.int: _Templates/_ESX5x-RHEL6.5-v2 was not found
See the attached file for a full stack trace. The stack trace contains everything from when I hit 'Submit' to when the error showed up in the Foreman web UI.
When I move the template to: vCenter -> Datacenter -> Template_name, Foreman can find and clone the template fine.
#9 Updated by Dominic Cleal over 6 years ago
Shlomi Zadok wrote:
A patch has been applied to fog gem: https://github.com/fog/fog/pull/3531
Dominic, Would you rather have this patch overridden into Foreman (w/ fog_extension)?
Probably both if we can - a change to fog_extensions for develop and 1.8, and then once the fog fix is merged and release, revert it and use the proper fix.