Unsupported operation leading to rental error in pyvmomi

I am trying to install OVF in vSphere 5.5 using a python script using pyvmomi due to The operation is not supported on the object error. The deepest thing I could get from this error was to type ImportVApp.error , which has this result.

 (vmodl.fault.NotSupported) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = 'The operation is not supported on the object.', faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) [] } 

The lease gives my error after initialization and gives the error above. Here you can find the script.

+4
source share
1 answer

When I encountered this error, it was due to the fact that I needed to connect directly to the IP address of a separate host, and not to VCenter IP. Also, I would like to add that there were permissions that the user I used did not have permissions to deploy ovf directly on this host. I tested this with the root user and it worked, so I needed to update my permissions for this. Hope this helps someone else.

+1
source

All Articles