Hi!
We get the following error when installing PSO 6.11.0.5 via cli using the Kubernetes option.
Command:
Linux Setup/installer -cli -yaml -s "values.yaml"
Excerpt from config file values.yaml:
deployments:
# Global deployment options
global:
# Auto-scaling of deployments
autoScaling:
enabled: false
We experience the following error:
Cannot use file stream for [/builds/fsp/dito/infrastructure/pso/PSOInstall/PSO_6_U11_D5/6.11.0.5/Linux Setup/installer.deps.json]: No such file or directory
Processing settings file
Verifying details file
Loading Kubernetes contexts
Loading namespaces
Checking for existing installation
Validating kubectl and kubernetes version
Validating image
Validating database connections - Please Wait
Retrieving application connection details - Please Wait
Validating database connections - Please Wait
Retrieving Organisation information - Please Wait
Creating Actions - Please Wait
Pause Helm deployments
ThreeSixty.Shared_Classes.ProcessException: error: no matching resources found
at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
at Ifs.Kubernetes.Kubectl.Wait(String context, String ns, String resourceType, Int32 timeout, String condition, IDictionary`2 labels)
at Installer_Shared.Kubernetes.HelmDeployer.PauseDeployments(String context, String ns, String installName, TimeSpan waitTimeout)
at Installer_Shared.InstallActions.Kubernetes.Action_PauseHelmDeployments.Execute()
at Installer_Shared.InstallActions.Actions.<>c__DisplayClass61_0.<Start>b__3()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Installer_Shared.InstallActions.Actions.Start()
Failed:
error: no matching resources found
Process has failed. Press enter to exit
$ cat PSOInstall/${DeliveryName}/${ImageTag}/Linux\ Setup/Installer.log
14 Apr 2023 11:10:45,695 1] INFO Installer.Program Main - Installer started 6.11.0.5
14 Apr 2023 11:10:56,451 1] INFO Installer_Shared.InstallObjects.Config GetAdminConnectionType - Start eSchema = System]
14 Apr 2023 11:10:56,482 1] INFO Installer_Shared.InstallActions.Actions MoveNext - Aaction=Pause Helm deployments] Start
14 Apr 2023 11:10:57,242 6] WARN Installer_Shared.Kubernetes.HelmDeployer PauseDeployments - ThreeSixty.Shared_Classes.ProcessException: error: the server doesn't have a resource type "ScaledObject"
at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
at Ifs.Kubernetes.Kubectl.GetResources(String context, String ns, String resourceType, IReadOnlyDictionary`2 labels)
at Installer_Shared.Kubernetes.HelmDeployer.PauseDeployments(String context, String ns, String installName, TimeSpan waitTimeout)
14 Apr 2023 11:11:02,845 p6] ERROR Installer_Shared.InstallActions.Actions MoveNext - saction=Pause Helm deployments] Failed
ThreeSixty.Shared_Classes.ProcessException: error: no matching resources found
at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
at Ifs.Kubernetes.Kubectl.Wait(String context, String ns, String resourceType, Int32 timeout, String condition, IDictionary`2 labels)
at Installer_Shared.Kubernetes.HelmDeployer.PauseDeployments(String context, String ns, String installName, TimeSpan waitTimeout)
at Installer_Shared.InstallActions.Kubernetes.Action_PauseHelmDeployments.Execute()
at Installer_Shared.InstallActions.Actions.<>c__DisplayClass61_0.<Start>b__3()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Installer_Shared.InstallActions.Actions.Start()
14 Apr 2023 11:11:02,847 e6] ERROR Installer_Shared.InstallActions.Actions MoveNext - laction=Pause Helm deployments] Failed
14 Apr 2023 11:11:02,848 e6] ERROR Installer_Shared.InstallActions.Actions MoveNext - laction=Pause Helm deployments] error: no matching resources found
Any idea whats going on here?
Regards
Tobias