Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-mature fail of installer #186

Closed
6za opened this issue Aug 3, 2022 · 0 comments
Closed

Pre-mature fail of installer #186

6za opened this issue Aug 3, 2022 · 0 comments

Comments

@6za
Copy link
Contributor

6za commented Aug 3, 2022

Installer seems to fail at this point, it seems to be missing to wait a given event to proceed. (Sleep)

Output(STDOUT)

- deleting argocd-server pod
panic: interface conversion: interface {} is nil, not string

goroutine 1 [running]:
github.com/kubefirst/kubefirst/internal/argocd.GetArgocdAuthToken(0x89)
	/home/developer/app/internal/argocd/argocd.go:228 +0x72b
github.com/kubefirst/kubefirst/cmd.glob..func6(0x2f6a100, {0x2fb7958, 0x0, 0x0})
	/home/developer/app/cmd/create.go:333 +0x25b2
github.com/spf13/cobra.(*Command).execute(0x2f6a100, {0x2fb7958, 0x0, 0x0})
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0x2f6a380)
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/kubefirst/kubefirst/cmd.Execute()
	/home/developer/app/cmd/root.go:26 +0x25
main.main()
	/home/developer/app/main.go:65 +0x425
LOG: 2022/08/03 19:39:11.229926 /home/developer/app/pkg/shell.go:22: Commad Execution STDOUT: %s 
LOG: 2022/08/03 19:39:11.230448 /home/developer/app/pkg/shell.go:23: Commad Execution STDERR: %s No resources found in default namespace.

Logs:

LOG: 2022/08/03 19:39:11.230912 /home/developer/app/cmd/createUtils.go:91: argocd pods found, continuing
LOG: 2022/08/03 19:39:26.232189 /home/developer/app/cmd/createUtils.go:295: Port forwarding to new argocd-server pod
LOG: 2022/08/03 19:39:46.235249 /home/developer/app/cmd/create.go:328: sleeping for 40 seconds
LOG: 2022/08/03 19:40:26.236847 /home/developer/app/cmd/createUtils.go:295: Syncing the registry application
LOG: 2022/08/03 19:40:41.239163 /home/developer/app/internal/argocd/argocd.go:202: requesting auth token from argocd: attempt 1 of 3

@6za 6za mentioned this issue Aug 3, 2022
@6za 6za closed this as completed Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant