New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hi flyte community, facing an issue testing the flyte agent locally. based on the documentation https://docs.flyte.org/en/latest/flyte_agents/testing_agents_in_a_local_development_cluster.html
Copy code
./flyte start --config ./flyte-single-binary-local.yaml
The error trace is as follows:
Copy code
2024/08/02 04:47:00 /home/shuliang/aip/flyteflyte/flyte/datacatalog/pkg/repositories/config/migrations/noop/migrations.go:134 insufficient arguments
[0.027ms] [rows:-] SELECT * FROM "tags" LIMIT 1
{"json":{"src":"start.go:237"},"level":"panic","msg":"Failed to start Datacatalog, err: database migration failed: insufficient arguments","ts":"2024-08-02T04:47:00Z"}
panic: (*logrus.Entry) 0xc00083a070

goroutine 84 [running]:
<http://github.com/sirupsen/logrus.(*Entry).log(0xc000839f10|github.com/sirupsen/logrus.(*Entry).log(0xc000839f10>, 0x0, {0xc00120af00, 0x53})
	/home/shuliang/.cache/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:260 +0x491
<http://github.com/sirupsen/logrus.(*Entry).Log(0xc000839f10|github.com/sirupsen/logrus.(*Entry).Log(0xc000839f10>, 0x0, {0xc001107e68?, 0x1?, 0x1?})
	/home/shuliang/.cache/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:304 +0x48
<http://github.com/sirupsen/logrus.(*Entry).Logf(0xc000839f10|github.com/sirupsen/logrus.(*Entry).Logf(0xc000839f10>, 0x0, {0x35f233f?, 0x0?}, {0xc000b01ec0?, 0x0?, 0x0?})
	/home/shuliang/.cache/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:349 +0x7c
<http://github.com/sirupsen/logrus.(*Entry).Panicf(0x448fe20|github.com/sirupsen/logrus.(*Entry).Panicf(0x448fe20>?, {0x35f233f?, 0x4140e5?}, {0xc000b01ec0?, 0x2de9e40?, 0x1?})
	/home/shuliang/.cache/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:387 +0x2e
<http://github.com/flyteorg/flyte/flytestdlib/logger.Panicf({0x448fe20|github.com/flyteorg/flyte/flytestdlib/logger.Panicf({0x448fe20>?, 0xc0006a5b80?}, {0x35f233f, 0x24}, {0xc000b01ec0, 0x1, 0x1})
	/home/shuliang/aip/flyteflyte/flyte/flytestdlib/logger/logger.go:188 +0x5e
<http://github.com/flyteorg/flyte/cmd/single.glob..func4.3()|github.com/flyteorg/flyte/cmd/single.glob..func4.3()>
	/home/shuliang/aip/flyteflyte/flyte/cmd/single/start.go:237 +0xb0
<http://golang.org/x/sync/errgroup.(*Group).Go.func1()|golang.org/x/sync/errgroup.(*Group).Go.func1()>
	/home/shuliang/.cache/go/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
created by <http://golang.org/x/sync/errgroup.(*Group).Go|golang.org/x/sync/errgroup.(*Group).Go> in goroutine 1
	/home/shuliang/.cache/go/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
# Answer The error you're encountering indicates a failure in the database migration step for the Datacatalog component. This is likely due to insufficient arguments being passed to the migration function.
>>To resolve this, ensure that your configuration file (
flyte-single-binary-local.yaml
) is correctly set up and includes all necessary parameters for the Datacatalog service. You can refer to the Flyte documentation for detailed configuration steps.
Would you like more detailed steps on how to verify and update your configuration file? Sources: - Flyte documentation Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1722574855.324339 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.