You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing pyvmomi 8.0.0.1 and then using the Ansible module community.vmware.vmware_content_deploy_ovf_template to deploy a template, it begins failing with an error such as:
Failed to find the folder /vm/Special_Permissions/Linux
Downgrading pyvmomi to 7.0.3 with the same Ansible and vCenter configuration is successful.
Tried adding a trailing slash to the folder parameter with no luck.
Hi, we observed the same behavior while trying to use community.vmware.vmware_content_deploy_ovf_template.
Thanks for a workaround with downgrade, it worked!
As far as I can see, the problem is that the childType of a folder is a list of object types ([vim.Folder, vim.VirtualMachine, vim.VirtualApp]) while in pyVmomi < 8.0.0.1 it is a list of strings (['Folder', 'VirtualMachine', 'VirtualApp']).
According to the documentation, childType is an array of strings.
This is an unwanted behavior change and there is an ongoing investigation how to restore the previous behavior.
We will update you once there's a clear resolution.
Describe the bug
After installing pyvmomi 8.0.0.1 and then using the Ansible module community.vmware.vmware_content_deploy_ovf_template to deploy a template, it begins failing with an error such as:
Failed to find the folder /vm/Special_Permissions/Linux
Downgrading pyvmomi to 7.0.3 with the same Ansible and vCenter configuration is successful.
Tried adding a trailing slash to the folder parameter with no luck.
Reproduction steps
Example variable value I'm passing as the folder:
vcenter_vm_folder: vm/Special_Permissions/Linux/
3.
...
Expected behavior
Expect the Ansible module to interact with both 7.0.3 and 8.0.0.1 similarly
Additional context
No response
The text was updated successfully, but these errors were encountered: