Importing or deploying an OVF template fails with the error "A fatal error has occurred. Unable to continue".
search cancel

Importing or deploying an OVF template fails with the error "A fatal error has occurred. Unable to continue".

book

Article ID: 439335

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Unable to import or deploy an OVF template. Error: A fatal error has occurred. Unable to continue

The following events are seen in the logs:

Log file: /var/log/vmware/vsphere-ui/logs/vSphere-ui-client-virgo.log

com.vmware.vapi.std.errors.InvalidArgument: InvalidArgument (com.vmware.vapi.std.errors.invalid_argument) => {
    messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = com.vmware.vdcs.util.unhandled_error,
    defaultMessage = An error occurred: future must be done,
    args = [future must be done],
    params = <null>,
    localized = <null>

Log file: /var/log/vmware/content-library/cls.log

YYYY-MM-DDTHH:MM:SSZ | ERROR    | <activity-id> | cls-simple-activity-1     | EnsureTaskRegisteredActivity   | Cannot change state for ManagedObjectReference: type = Task, value = task-XXXXXX, serverGuid = <GUID> from queued to running. Runtime error reported for task.setState (vim.fault.NoPermission) {
   faultCause = null,
   faultMessage = null,
   object = ManagedObjectReference: type = ClusterComputeResource, value = domain-cXXXX, serverGuid = <GUID>,
   privilegeId = Task.Update,
   missingPrivileges = (vim.fault.EntityPrivileges) [
      (vim.fault.EntityPrivileges) {
         dynamicType = null,
         dynamicProperty = null,
         entity = ManagedObjectReference: type = Task, value = task-XXXXXX, serverGuid = <GUID>,
         privilegeIds = (STRING) [
            Task.Update
         ]
      }
   ]
}. retrying...

YYYY-MM-DDTHH:MM:SSZ | ERROR    | <activity-id> | cls-simple-activity-1     | SimpleActivityWorker           | Exception will not be handled by activity EnsureTaskRegisteredActivity (handle=<handle-id>, entityId=<entity-id>): Future future is registered but not done

java.lang.IllegalStateException: Future future is registered but not done
        at com.vmware.vcloud.activity.toolkit.simple.SimpleActivity.getFutureResult(SimpleActivity.java:393) ~[activity-framework-toolkit-1.0.0.jar:?]
        at com.vmware.vdcs.task.impl.EnsureTaskRegisteredActivity.phaseCollectSetState(EnsureTaskRegisteredActivity.java:135) ~[vsphere-task-lib-1.0.0.jar:?]
        at com.vmware.vdcs.task.impl.EnsureTaskRegisteredActivity.phaseRetrySetState(EnsureTaskRegisteredActivity.java:171) ~[vsphere-task-lib-1.0.0.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_401]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_401]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_401]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_401]
        at com.vmware.vcloud.activity.toolkit.simple.executor.SimpleActivityWorker.executePhase(SimpleActivityWorker.java:358) [activity-framework-toolkit-1.0.0.jar:?]
        at com.vmware.vcloud.activity.toolkit.simple.executor.SimpleActivityWorker.executeActivity(SimpleActivityWorker.java:240) [activity-framework-toolkit-1.0.0.jar:?]
        at com.vmware.vcloud.activity.toolkit.simple.executor.SimpleActivityWorker.run(SimpleActivityWorker.java:105) [activity-framework-toolkit-1.0.0.jar:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_401]
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) [guava-32.1.0-jre.jar:?]
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75) [guava-32.1.0-jre.jar:?]
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) [guava-32.1.0-jre.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_401]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_401]
        at java.lang.Thread.run(Thread.java:750) [?:1.8.0_401]

Environment

vCenter Server 8.x

Cause

The issue occurs due to missing propagated permissions for vpxd-extension solution user.:VSPHERE.LOCAL\vpxd-extension-<ID>

Resolution

  • Follow these steps to restore the necessary permissions:
    • Select your vCenter Server in the inventory.

    • Click on the Permissions tab.

    • Locate the user VSPHERE.LOCAL\vpxd-extension-xxxx.

    • Check the Propagate column. If it says "No,"

    • Select the user and click Edit.

    • Check the box labeled Propagate to children.

    • Click OK.