Creating a Horizon workload domain in VMware Cloud Foundation 3.7 fails at task 'Install primary CS binaries'
search cancel

Creating a Horizon workload domain in VMware Cloud Foundation 3.7 fails at task 'Install primary CS binaries'

book

Article ID: 316907

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • A Horizon workload domain has been created and deleted successfully in VMware Cloud Foundation 3.7.
  • A subsequent attempt to create a Horizon workload domain fails on the 'Install primary CS binaries' task.
  • Restarting the failed task after sometime is successful.
  • You see messages similar to the following in the /var/log/vmware/domainmanager/domainmanager.log file on the SDDC Manager VM:
2019-02-21T23:30:36.284+0000 ERROR [e7b1bc72b6a0464a,30d2] [c.v.e.s.o.model.error.ErrorFactory,pool-1-thread-14] [VILVRL] INTERNAL_SERVER_ERROR Invocation of prefix '' part of task VdiInstallPrimaryCsAction in plugin VdiManagerPlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix '' part of task VdiInstallPrimaryCsAction in plugin VdiManagerPlugin failed with exception.
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:366)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:417)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:96)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:55)
        at reactor.bus.EventBus$3.accept(EventBus.java:317)
        at reactor.bus.EventBus$3.accept(EventBus.java:310)
        at reactor.bus.routing.ConsumerFilteringRouter.route(ConsumerFilteringRouter.java:72)
        at reactor.bus.EventBus.accept(EventBus.java:591)
        at reactor.bus.EventBus.accept(EventBus.java:63)
        at reactor.core.dispatch.AbstractLifecycleDispatcher.route(AbstractLifecycleDispatcher.java:160)
        at reactor.core.dispatch.MultiThreadDispatcher$MultiThreadTask.run(MultiThreadDispatcher.java:74)
        at org.springframework.cloud.sleuth.instrument.async.LocalComponentTraceRunnable.run(LocalComponentTraceRunnable.java:53)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.vmware.vcf.vdimanager.powershell.exceptions.PowerShellRemotePSException: Error executing PowerShell script on remote machine.

PowerShell error object returned: PowerShellErrorRecord(OriginInfo={PSComputerName=172.26.88.20, RunspaceID=d723189c-d3e3-4350-af80-12fb96f36133, InstanceID=00000000-0000-0000-0000-000000000000}, CategoryInfo=com.vmware.vcf.vdimanager.powershell.PowerShellErrorRecord$ErrorCategoryInfo@280a926e, ErrorDetails=null, Exception=PowerShellErrorRecord.Exception(Data=System.Collections.ListDictionaryInternal, HelpLink=null, HResult=-2146233088, InnerException=null, Message=Cannot find path 'C:\vdi_view_connection_installation.txt' because it does not exist., Source=null, StackTrace=null, TargetSite=null), FullyQualifiedErrorId=PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand, InvocationInfo=null, PipelineIterationInfo=[], ScriptStackTrace=null, TargetObject=C:\vdi_view_connection_installation.txt)
command execution stdError:Cannot find path 'C:\vdi_view_connection_installation.txt' because it does not
exist.
    + CategoryInfo : ObjectNotFound: (C:\vdi_view_connection_installa
   tion.txt:String) [Get-Content], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCo
   ntentCommand

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


Environment

VMware Cloud Foundation 3.7.x

Resolution

This is a known issue affecting VMware Cloud Foundation 3.7. There is currently no resolution.

Workaround:
This issue can be worked around by restarting the failed task. This should succeed, as noted in the Symptoms section.

Additional Information

Working with Horizon Domains