Currently trying to deploy a server template to a remote (overseas) site. Deployment works for our primary datacenter location and a remote branch here in the US, but the software installation component is failing when I try to deploy overseas. I'm open to deploying the software in another manner, if necessary.
Software and versions:
-vRA Version: 7.4.0
-vSphere version 6.5
-VM is Windows 2016 Standard
Topology:
VRA/vCenter/IaaS server all in a US-based colocation data center.
ESXi cluster in London.
DNS/AD servers at each site. AD-integrated DNS. AD replication configured as star topology - US site as primary, with remote sites on 15 minute replication schedule.
Process Flow:
-Deploy server from template, with a software component in the blueprint, and some event subscriptions after deployment to configuring monitoring.
-Software component configured in the blueprint - simple CMD script to copy SCCM and McAfee agent installers to a local file location and then execute.
-Error message suggests that this may be a DNS resolution issue:
lonof-2016-21t: sendEBSMessage20(workflow=7f7365c4-eff3-4ac5-86e0-9401d363517f) Error in state VMPSMasterWorkflow32.MachineProvisioned phase POST event (queue = 6a69af4d-fccc-4746-b2c5-40ebb6a63b71):
Extensibility consumer error(20999) - PowerShellInvocationError: Errors found while executing script System.Management.Automation.MethodInvocationException: Exception calling "GetHostAddresses" with "1" argument(s): "No such host is known" ---> System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at CallSite.Target(Closure , CallSite , RuntimeType , String ) --- End of inner exception stack trace --- at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.PSScriptCmdlet.DoEndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() (Dynamic Script Module name : invokeScript#14)
From the looks of your output, the failure is happening in your EBS subscription and not in the invocation of your software component. This line
PowerShellInvocationError: Errors found while executing script
is not produced when executing a software component regardless of the interpreter that you've chosen for the code. I'd suggest you look at your extensibility first.
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
From the looks of your output, the failure is happening in your EBS subscription and not in the invocation of your software component. This line
PowerShellInvocationError: Errors found while executing script
is not produced when executing a software component regardless of the interpreter that you've chosen for the code. I'd suggest you look at your extensibility first.
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Ah! Thank you.
Shows as failed software component deployment under Requests->execution information.
But turns out an event subscription runs a vRealize Orchestrator workflow, which is failing.