Skip to main content
Solved

Error during mtinstaller in 22R1

  • January 23, 2023
  • 2 replies
  • 334 views

Forum|alt.badge.img+5

Hi,

I ran .\installer.cmd --set action=mtinstaller --values <build_path>\ifsinstaller\ifscloud-values.yaml --values <build_path>\solutionset.yaml and received following error. Appreciate your advice to fix the error.

[Mon Jan 23 15:30:38 UTC 2023] - INFO: Installing ifs-cloud
[Mon Jan 23 15:30:38 UTC 2023] - INFO: Using chart ifscloud/ifs-cloud --version 221.6.0
[Mon Jan 23 15:30:38 UTC 2023] - INFO: Doing a dry-run ..
[Mon Jan 23 15:30:38 UTC 2023] - INFO: Running helm upgrade
[Mon Jan 23 15:30:38 UTC 2023] - SEVERE: "helm upgrade" requires 2 arguments
[Mon Jan 23 15:30:38 UTC 2023] - SEVERE: Failed to install ifs-cloud
[Mon Jan 23 15:30:38 UTC 2023] - SEVERE: Failed to install ifs-cloud. Collected logs from command:
INFO: Creating namespace
namespace/jehatmp created
"ifscloud" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ifscloud" chart repository
Update Complete. ΓÄêHappy Helming!ΓÄê
INFO: Installing ifs-cloud
INFO: Using chart ifscloud/ifs-cloud --version 221.6.0
INFO: Doing a dry-run ..
INFO: Running helm upgrade
Error: "helm upgrade" requires 2 arguments

Usage:  helm upgrade [RELEASE] [CHART] [flags]
helm.go:94: [debug] "helm upgrade" requires 2 arguments

Usage:  helm upgrade [RELEASE] [CHART] [flags]
helm.sh/helm/v3/cmd/helm/require.ExactArgs.func1
        /home/circleci/helm.sh/helm/cmd/helm/require/args.go:39
github.com/spf13/cobra.(*Command).ValidateArgs
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:978
github.com/spf13/cobra.(*Command).execute
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:815
github.com/spf13/cobra.(*Command).ExecuteC
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
        /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
        /home/circleci/helm.sh/helm/cmd/helm/helm.go:93
runtime.main
        /usr/local/go/src/runtime/proc.go:203
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1373
SEVERE: Failed to install ifs-cloud

[Mon Jan 23 15:30:38 UTC 2023] - SEVERE: Validation failed.

Best answer by Charith Epitawatta

This issue was investigated via a case and the reason for the error was that the OS user had a space in it’s username. i.e. “IFS Admin”.

During the installation, certain files are copied into the temp directory of the user who is running the installer and having a space in the OS username broke the Helm command. 

 

2 replies

Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31
  • Ultimate Hero (Employee)
  • 1094 replies
  • Answer
  • February 23, 2023

This issue was investigated via a case and the reason for the error was that the OS user had a space in it’s username. i.e. “IFS Admin”.

During the installation, certain files are copied into the temp directory of the user who is running the installer and having a space in the OS username broke the Helm command. 

 


Forum|alt.badge.img+5
  • Author
  • Sidekick (Employee)
  • 12 replies
  • February 24, 2023

Hi Charith,

 

Thank you for your support for the case I raised and updating this one.

 

Regards,
Dilshani