During machine provisioning, a vCO workflow is called (during machine provisioned wf stub). However the vCO workflow seems to exceed a max timeout value. The workflow is still running when vCAC progresses the state to machine Disposing:
Machine balt2k8-jw-std1, state MachineProvisioned: InvokeRepositoryWorkflow, error caught:
System.TimeoutException: Machine balt2k8-jw-std1, state MachineProvisioned: InvokeRepositoryWorkflow, Repository Workflow WFStubMachineProvisioned timed out
at DynamicOps.External.RepositoryWorkflows.InvokeRepositoryWorkflow.ThrowTimeoutErrorExecute(Object sender, EventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
does anyone know where this timeout value is located and can be adjusted? I'm heading to the ManagerService.exe.config now.
Thanks!
John
OK - a bit premature on calling the previous post a success. However I think I may have found the correct file:C:\Program Files (x86)\VMware\vCAC\Server\ExternalWorkflows\xmldb\ExternalWFStubs.xml
<WorkflowArguments> | |
<NameValue name="WorkflowName">WFStubMachineProvisioned</NameValue> | |
<NameValue name="WorkflowTimeout">00:30:00</NameValue> | |
<NameValue name="FailureState">UnprovisionMachine</NameValue> | |
</WorkflowArguments> |
This looks more promising. Will update once I thoroughly test
I found the following line denoting a 30 minute workflow timeout in the managerservice.exe.config
I increased to 45 minutes, restarted the manager service and will test
OK - a bit premature on calling the previous post a success. However I think I may have found the correct file:C:\Program Files (x86)\VMware\vCAC\Server\ExternalWorkflows\xmldb\ExternalWFStubs.xml
<WorkflowArguments> | |
<NameValue name="WorkflowName">WFStubMachineProvisioned</NameValue> | |
<NameValue name="WorkflowTimeout">00:30:00</NameValue> | |
<NameValue name="FailureState">UnprovisionMachine</NameValue> | |
</WorkflowArguments> |
This looks more promising. Will update once I thoroughly test