You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was attempting to setup the cluster by following the steps in https://docs.kubefirst.io/k3d/quick-start/install first off i diverged slightly from the steps in that I exported my personal github token so no temp one was need. Also, my specs on my setup don't quite meet the requirements (4 thread 11th gen Intel CPU nuc and on a 40meg internet connection, memory, storage and swap are met though) so please take that into account when looking at this.
Running the command kubefirst k3d create goes on well until the output becomes:
$ kubefirst k3d create
------------------------------------------------
Follow your logs in a new terminal with:
tail -f -n +1 /home/paul/.k1/logs/log_1704730580.log
------------------------------------------------
Running preflight checks ... done! [5 in 823ms]
Cloning and formatting git repositories ... done! [1 in 0s]
Applying github Terraform ... done! [1 in 0s]
Pushing git repositories ... done! [1 in 0s]
Creating k3d cluster ... done! [1 in 0s]
Bootstrapping Kubernetes resources ... done! [2 in 22ms]
Verifying Kubernetes cluster is ready ... done! [3 in 1m20.049s]
Installing and configuring Argo CD ... done! [3 in 2m30.101s]
Configuring Vault ... 0.0% [......................................] [0 in 2m0.002981s]
[##############################################################################..........] [5m51s]
Error: the StatefulSet was not created within the timeout period
If a detailed error message was available, please make the necessary corrections before retrying.
You can re-run the last command to try the operation again.
The last few lines of the log looks like this:
2024-01-08T15:54 INF cmd/k3d/create.go:926 > Setting argocd username and password credentials
2024-01-08T15:54 INF cmd/k3d/create.go:939 > argocd username and password credentials set successfully
2024-01-08T15:54 INF cmd/k3d/create.go:940 > Getting an argocd auth token
2024-01-08T15:54 INF pkg/argocd/auth.go:75 > using argocd url https://argocd.kubefirst.dev
2024-01-08T15:54 INF cmd/k3d/create.go:978 > argocd admin auth token set
2024-01-08T15:54 INF cmd/k3d/create.go:1010 > applying the registry application to argocd
2024-01-08T15:54 INF pkg/k8s/exec.go:276 > waiting for vault StatefulSet to be created using label app.kubernetes.io/instance=vault
2024-01-08T15:56 ERR pkg/k8s/exec.go:306 > the StatefulSet was not created within the timeout period
2024-01-08T15:56 ERR cm d/k3d/create.go:1035 > Error finding Vault StatefulSet: the StatefulSet was not created within the timeout period
Getting help from Fred we first looked at the status of the pods with kuibectl get pods -A which output:
which shows the minio related pods crashlooping. They do go into the Running but then go back into crashloop. Getting the logs from the pods have the following printed multiple times
mc: <ERROR> Unable to initialize new alias from the provided credentials. Server not initialized, please try again.
"Failed attempts: 30"
Fred has suggested that running the command again might fix it. It initially had the same issue but coming back to my terminal (6 hours later) I can see that all the pods are in the running state. So it might be the case of increasing the timeouts
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Thanks for creating this issue @General-Meow (love the username!)
From some research, it may means that in some situation, MinIO need more time to be ready for the mc command, so we should add a sleep command to give it some time. See minio/mc#3599
Which version of kubefirst are you using?
kubefirst-cli golang utility version: v2.3.7
Which cloud provider?
k3d (local)
Which DNS?
None specific
Which installation type?
CLI
Which distributed Git provider?
GitHub
Did you use a fork of
gitops-template
?Yes
Which Operating System?
Linux
What is the issue?
I was attempting to setup the cluster by following the steps in
https://docs.kubefirst.io/k3d/quick-start/install
first off i diverged slightly from the steps in that I exported my personal github token so no temp one was need. Also, my specs on my setup don't quite meet the requirements (4 thread 11th gen Intel CPU nuc and on a 40meg internet connection, memory, storage and swap are met though) so please take that into account when looking at this.Running the command
kubefirst k3d create
goes on well until the output becomes:The last few lines of the log looks like this:
Getting help from Fred we first looked at the status of the pods with
kuibectl get pods -A
which output:which shows the minio related pods crashlooping. They do go into the
Running
but then go back into crashloop. Getting the logs from the pods have the following printed multiple timesFred has suggested that running the command again might fix it. It initially had the same issue but coming back to my terminal (6 hours later) I can see that all the pods are in the running state. So it might be the case of increasing the timeouts
Code of Conduct
The text was updated successfully, but these errors were encountered: