question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Not supported on the object error' while deploying OVF

See original GitHub issue

Hello, I am trying to make a python script to deploy OVF on vSphere. https://gist.github.com/goindwalia/48a5f9ab6a2f4eedfdba The error I am getting is leading me no where:

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

The lease is getting failed after initialising. I am having strong feeling that there is something wrong while creating ImportVApp or CreateImportSpec. I have tried 2-3 different minimal OVFs so far. Kindly help me rectifying this error.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
saad-cliqrcommented, Apr 6, 2016

@derchrisuk well that was simple.

Changing one line makes it work for both ESXi host and directly to vCenter:

    lease = objs["resource pool"].ImportVApp(import_spec.importSpec, objs["datacenter"].vmFolder);
0reactions
tianhao64commented, Jun 27, 2016

closing this issue as the sample is fixed by @saad-cliqr. Thanks @saad-cliqr

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Deployed an OVF with NVRAM is not supported" error ...
"Deployed an OVF with NVRAM is not supported" error deploying an OVF in vSphere 6.7 (67724) · Download the ovftool · Open a...
Read more >
“The operation is not supported on the object” - vSphere vApp ...
One possible cause for the “The operation is not supported on the object” error message is that you are trying to deploy the...
Read more >
Deploying OVA fails with "Failed to Deploy OVF/OVA package
Deploying OVA fails with "Failed to Deploy OVF/OVA package: The operation is not supported on the object".
Read more >
The operation is not supported on the object while ... - YouTube
In this video you will see how to troubleshoot The operation failed due The operation is not supported on the object while deploying...
Read more >
Failed to deploy OVF package.ThrowableProxy.cause A ...
In this video you will see how to troubleshoot Failed to deploy OVF package.ThrowableProxy.cause A general runtime error occurred.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found