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

Error with multiple kubeconfigs specified does not cease execution #2358

Open
1 task done
ikegentz opened this issue Jan 11, 2025 · 4 comments
Open
1 task done

Error with multiple kubeconfigs specified does not cease execution #2358

ikegentz opened this issue Jan 11, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@ikegentz
Copy link

Which version of kubefirst are you using?

2.7.9

Which cloud provider?

Vultr

Which DNS?

Cloudflare

Which installation type?

CLI

Which distributed Git provider?

GitHub

Did you use a fork of gitops-template?

No

Which Operating System?

Linux

What is the issue?

If you have your KUBECONFIG set to include paths to multiple config files, an error will be generated when running (in my case) kubefirst beta vultr create ... asking that you only have a single path entry set in this variable. Execution will continue however, and it seems to just be some general unedfined behavior. Verbose logs stop showing, and Terraform apply will silently fail. In the case of Vultr anyways, none of the block storage volumes get created, which then causes vault to fail. The kubefirst beta vultr create ... command will eventually then get stuck waiting on Vault and finally fail, due to this underlying issue.

I believe the simple fix is just to ensure that if this error log comes about due to multiple paths being set in KUBECONFIG, make sure to exit and cease execution.

I've confirmed that the fix is simply to ensure that KUBECONFIG is set to just ~/.kube/config, and then everything spins up as expected

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ikegentz ikegentz added the bug Something isn't working label Jan 11, 2025
Copy link

linear bot commented Jan 11, 2025

@ikegentz
Copy link
Author

Edit to above, it got much further however Vault is still failing to come up. I believe this is unrelated though, the original issue of not exiting and getting messed up still stands

@ikegentz
Copy link
Author

ikegentz commented Jan 11, 2025

Edit to above, it got much further however Vault is still failing to come up. I believe this is unrelated though, the original issue of not exiting and getting messed up still stands

My vault issue was unrelated and I opened a different issue for it

@fharper
Copy link
Contributor

fharper commented Jan 13, 2025

@ikegentz thanks for reporting this issue. I'll ask the engineering team to give it a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants