Dynamics 365 finance & operations onprem deployment

Dears,
We are stuck with D365 FO onprem deployment with the below error. We tried to run commands to reset performance lodctr with no luck.
Below error:
Message Module aos failed with error code -1.
Detail at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at Microsoft.Dynamics.Operations.Local.LocalAgentEvents.LocalAgentEventHelpers.ErrorPrettify(LocalAgentEventSource source, Exception ex, Int32 errorCode, String format, Object values) at SetupCore.SetupManager.<>c__DisplayClass12_2.b__6() at System.Threading.Tasks.Task.Execute() 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.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.ThreadPoolWorkQueue.Dispatch()

Error2:
OrchestrationService.DeployModulesRunnerTask,OrchestrationService failed for command id 8d6e6b25-9bc1-4448-9e01-82f83941aff6
Detail LocalAgentCommon.LocalAgentInvalidOperationException: Unable to deploy AOSSetupHybridCloudError module at OrchestrationService.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at OrchestrationService.AXSetupManager.ThrowModuleExceptionBasedOnError() at OrchestrationService.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at OrchestrationService.OrchestrationJobManager.<>c__DisplayClass23_0.b__4()
ErrorCode 0
MemberName ErrorPrettify
SourceFile D:\a\1\s\Source\LocalAgentEvents\LocalAgentEventSource.cs