Solved

Error during mtinstaller in 22R1

  • 23 January 2023
  • 2 replies
  • 184 views

Userlevel 2
Badge +3

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.

icon

Best answer by Charith Epitawatta 23 February 2023, 23:44

View original

2 replies

Userlevel 7
Badge +31

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. 

 

Userlevel 2
Badge +3

Hi Charith,

 

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

 

Regards,
Dilshani

Reply