Solved

Error installing PSO 6.11.0.22 (OpenShift)

  • 6 September 2023
  • 1 reply
  • 133 views

Userlevel 2
Badge +5

I’m trying to install PSO 6.11.0.22 on OpenShift and I’m getting the error: “Helm 3.9+ must be installed and available in your PATH to be able to deploy to Kubernetes.” when running the installer. The values.yaml file has been updated with environment specific values.

in the Linux Setup folder I run the command:

./installer -cli -yaml -s values.yaml

In the Installer.log file I get the single entry:

06 Sep 2023 16:56:08,311 [1] INFO Installer.Program Main - Installer started 6.11.0.22

And on the console I see:

Cannot use file stream for [/opt/app-root/download/6.11.0.22/Linux Setup/installer.deps.json]: No such file or directory
Processing settings file
Verifying details file
Helm 3.9+ must be installed and available in your PATH to be able to deploy to Kubernetes.

Process has failed. Press enter to exit

The error message confuses me since I’m fairly certain Helm is installed:

sh-4.4$ env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
sh-4.4$ whereis helm
helm: /usr/local/bin/helm
sh-4.4$ helm version
version.BuildInfo{Version:"v3.9.0+3.el8", GitCommit:"e09b16a5119e20607a4a7ae9884a96331ffff1de", GitTreeState:"clean", GoVersion:"go1.17.7"}

 

Any thoughts on next steps?

icon

Best answer by scstus 7 September 2023, 20:09

View original

1 reply

Badge +5

feedback from the customer:

 

Update here…

Our team has figured out the reason for the error is because the IFS installer is being too picky about the helm version string.  Even though our version is new enough it did not like the suffix on the version. 

 

 

Our Openshift version of helm has a version format like v3.11.1+6.el8.  It appears the installer does not like the +6.el8 suffix and fails when comparing the version.  I do not think it should fail in this case. 

 

sh-4.4$ helm version
version.BuildInfo{Version:"v3.11.1+6.el8", GitCommit:"66bfc44f827aea6eb8e001150914170ac0d49e2d", GitTreeState:"clean", GoVersion:"go1.18.9"}

 

We were able to move past our error by installing the helm version from https://github.com/helm/helm/releases which reports the version in the format without the suffix +6.el8

 

sh-4.4# helm version
version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"}

Reply