
Hi All,
I am having the issue below during on premise local agent installation. Any help is much appreciated.
Script executed in CMD
C:\Infrastructure\Local\LocalAgent-394311>localAgentCLI.exe install localagent-config.json
Invoking Migrate.exe OrchestrationService.DataModels.dll /connectionString:"Data Source=iss02.issmy.com;Initial Catalog = OrchestratorData; Integrated Security = True; MultipleActiveResultSets=True" /connectionProviderName:System.Data.SqlClient /startUpDirectory:C:\Infrastructure\Local\LocalAgent-394311
localAgentCLI.exe Information: 0 : Copying application package C:\Infrastructure\Local\LocalAgent-394311\Applications\LBDTelemetry to LBDTelemetryType-Agent-1.0.0.20191210
localAgentCLI.exe Information: 0 : Provisioning application from LBDTelemetryType-Agent-1.0.0.20191210
localAgentCLI.exe Information: 0 : Creating application fabric:/Agent-LBDTelemetry, type LBDTelemetryType-Agent. app version 1.0.0.20191210
localAgentCLI.exe Information: 0 : Application fabric:/Agent-LBDTelemetry is OK
localAgentCLI.exe Information: 0 : Copying application package C:\Infrastructure\Local\LocalAgent-394311\Applications\LocalAgent to LocalAgentType-1.0.0.20191210
localAgentCLI.exe Information: 0 : Provisioning application from LocalAgentType-1.0.0.20191210
localAgentCLI.exe Information: 0 : Creating application fabric:/LocalAgent, type LocalAgentType. app version 1.0.0.20191210
localAgentCLI.exe Error: 0 : Application fabric:/LocalAgent is not OK after 5 minutes. Exception: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at SetupInfrastructure.SetupInfrastructureEventsHelper.ErrorPrettify(SetupInfrastructureEventSource source, Exception ex, Int32 errorCode, String format, Object[] values)
at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<CheckApplicationState>d__32.MoveNext()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action action, Boolean allowInlining, Task& currentTask)
at System.Threading.Tasks.Task.FinishContinuations()
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Threading.Tasks.TaskCompletionSource`1.TrySetResult(TResult result)
at System.Threading.Tasks.TaskCompletionSource`1.SetResult(TResult result)
at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
at System.Fabric.Interop.SharedNativeObject`1.TryAcquireAndInvoke(Action`1 action). Error code: 0
localAgentCLI.exe Information: 0 : Unable to install the application fabric:/LocalAgent. Check the event viewer and service fabric explorer for more details.
Press any key to exit
Error under fabric/localAgent
DeployedApplications Error badge Error 100% (3/3) deployed applications are unhealthy. The evaluation tolerates 0% unhealthy deployed applications.
DeployedApplication Error badge Error Deployed application on node 'AXD365Orch-02' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'Activation:1.0'.
There was an error during activation.Failed to setup ApplicationPrincipals. Error:ApplicationPrincipalAbortableError
DeployedServicePackages Error badge Error 100% (4/4) deployed service packages are unhealthy.
DeployedServicePackage Error badge Error Service package for manifest 'ArtifactsManagerPkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:ArtifactsManagerType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'BridgeServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:BridgeServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'StateServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:StateServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'OrchestrationServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:OrchestrationServiceType'.
The ServiceType was disabled on the node.
DeployedApplication Error badge Error Deployed application on node 'AXD365Orch-03' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'Activation:1.0'.
There was an error during activation.Failed to setup ApplicationPrincipals. Error:ApplicationPrincipalAbortableError
DeployedServicePackages Error badge Error 100% (4/4) deployed service packages are unhealthy.
DeployedServicePackage Error badge Error Service package for manifest 'StateServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:StateServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'BridgeServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:BridgeServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'OrchestrationServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:OrchestrationServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'ArtifactsManagerPkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:ArtifactsManagerType'.
The ServiceType was disabled on the node.
DeployedApplication Error badge Error Deployed application on node 'AXD365Orch-01' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'Activation:1.0'.
There was an error during activation.Failed to setup ApplicationPrincipals. Error:ApplicationPrincipalAbortableError
DeployedServicePackages Error badge Error 100% (4/4) deployed service packages are unhealthy.
DeployedServicePackage Error badge Error Service package for manifest 'BridgeServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:BridgeServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'ArtifactsManagerPkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:ArtifactsManagerType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'OrchestrationServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:OrchestrationServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'StateServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:StateServiceType'.
The ServiceType was disabled on the node.
Error under Orchestration Node
Kind Health State Description
Event Error badge Error 'System.Hosting' reported Error for property 'Activation:1.0'.
There was an error during activation.Failed to setup ApplicationPrincipals. Error:ApplicationPrincipalAbortableError
DeployedServicePackages Error badge Error 100% (4/4) deployed service packages are unhealthy.
DeployedServicePackage Error badge Error Service package for manifest 'BridgeServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:BridgeServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'ArtifactsManagerPkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:ArtifactsManagerType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'OrchestrationServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:OrchestrationServiceType'.
The ServiceType was disabled on the node.
DeployedServicePackage Error badge Error Service package for manifest 'StateServicePkg' and service package activation ID '' is in Error.
Event Error badge Error 'System.Hosting' reported Error for property 'ServiceTypeRegistration:StateServiceType'.
The ServiceType was disabled on the node.
Appreciate your feedback on this.
Thanks.
Celine
Hi Celine,
Could you check the following:
1) The OnPremisesLocalAgent cert was rigistere din Azure - https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/setup-deploy-on-premises-pu12#configurelcs
2) Check that the GMSA account used for the Local Agent Service has been configured correctly. Typically that will mean that the orchestrator servers have been give PrincipalsAllowedToRetrieveManagedPassword permissions on that GMSA account.
3) Check the Managed Private Keys on the OnPremisesLocalAgent cert, and check the LA GMSA account has read permission,
Thanks, Tom