rapid-forest-11534
02/23/2024, 4:12 PMhelm_release.flyte-core: Still creating... [5m10s elapsed]
╷
│ Warning: Helm release "flyte-core" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then run Terraform again.
│
│ with helm_release.flyte-core,
│ on <http://flyte.tf|flyte.tf> line 6, in resource "helm_release" "flyte-core":
│ 6: resource "helm_release" "flyte-core" {
│
╵
╷
│ Error: context deadline exceeded
I'm not sure how to "use the helm
command to investigate". I do wonder whether this entry in Log Explorer is related:
"panic: failed to connect to `host=10.99.0.3 user=flyteadmin database=flyteadmin`: failed SASL auth (FATAL: password authentication failed for user "flyteadmin" (SQLSTATE 28P01))
goroutine 1 [running]:
<http://github.com/flyteorg/flyte/datacatalog/pkg/repositories.Migrate({0x26dd960|github.com/flyteorg/flyte/datacatalog/pkg/repositories.Migrate({0x26dd960>, 0x38a2e00})
/go/src/github.com/flyteorg/datacatalog/pkg/repositories/initialize.go:63 +0x786"
This is a fresh install, so I wonder if maybe flyte-deploy and flyte-core have gotten out of sync somehow?cool-lifeguard-49380
02/23/2024, 4:15 PMkubectl get pods -n flyte
say?rapid-forest-11534
02/23/2024, 4:17 PMNAME READY STATUS RESTARTS AGE
datacatalog-5ddfd6798-bc277 0/1 Init:CrashLoopBackOff 10 (106s ago) 28m
flyte-pod-webhook-8688dcf4bd-65cm5 1/1 Running 0 28m
flyteadmin-854879bdd7-ffrr4 0/1 Init:CrashLoopBackOff 10 (117s ago) 28m
flyteconsole-b5f48f75b-l4kjm 1/1 Running 0 28m
flytepropeller-b8f98cffb-sbncm 1/1 Running 0 28m
rapid-forest-11534
02/23/2024, 4:19 PM➜ flyte-core git:(main) ✗ kubectl logs flyteadmin-854879bdd7-ffrr4 -n flyte
Defaulted container "flyteadmin" out of: flyteadmin, run-migrations (init), seed-projects (init), generate-secrets (init)
Error from server (BadRequest): container "flyteadmin" in pod "flyteadmin-854879bdd7-ffrr4" is waiting to start: PodInitializing
➜ flyte-core git:(main) ✗ kubectl logs datacatalog-5ddfd6798-bc277 -n flyte
Defaulted container "datacatalog" out of: datacatalog, run-migrations (init)
Error from server (BadRequest): container "datacatalog" in pod "datacatalog-5ddfd6798-bc277" is waiting to start: PodInitializing
cool-lifeguard-49380
02/23/2024, 4:19 PMrapid-forest-11534
02/23/2024, 4:22 PMrapid-forest-11534
02/23/2024, 4:27 PMrapid-forest-11534
02/23/2024, 5:18 PMdb-pass
secret from kubectl and manually create a flyteadmin
user on the DB. There seems to be an inconsistency between sql.tf and flyte-db
in terms of what users need to exist, since sql.tf
only creates a flyte
user, not flyteadmin
. At least that's my theory.cool-lifeguard-49380
02/23/2024, 5:19 PMflyteadmin
!rapid-forest-11534
02/23/2024, 5:19 PMflyteadmin
, not flyte
.cool-lifeguard-49380
02/23/2024, 5:19 PMcool-lifeguard-49380
02/23/2024, 5:20 PMcool-lifeguard-49380
02/23/2024, 5:20 PMcool-lifeguard-49380
02/23/2024, 5:20 PMrapid-forest-11534
02/23/2024, 5:20 PMcool-lifeguard-49380
02/23/2024, 5:20 PMrapid-forest-11534
02/23/2024, 5:28 PMhallowed-dog-74273
02/27/2024, 7:02 PMhallowed-dog-74273
02/27/2024, 7:02 PMflyteadmin
to flyte
recentlyaverage-finland-92144
02/27/2024, 7:04 PM