thankful-tailor-28399
08/28/2024, 10:14 AM1.9
straight to 1.13.1
and we got an error:
This seems to be something introduced by:
https://github.com/flyteorg/flyte/pull/5453
So we upgraded to 1.12.0
and from there to 1.13.1
and that worked.
Is this expected?victorious-rainbow-91536
08/28/2024, 3:48 PMthankful-tailor-28399
08/28/2024, 3:52 PM2024/08/28 072853 /go/src/github.com/flyteorg/flyteadmin/pkg/repositories/config/migrations.go:1256 ERROR: permission denied for table execution_admin_tags (SQLSTATE 42501)
[2.606ms] [rows:0] INSERT INTO execution_tags (execution_project, execution_domain, execution_name, created_at, updated_at, deleted_at, key, value) SELECT execution_project, execution_domain, execution_name, created_at, updated_at, deleted_at, name as key, ‘’ as value FROM execution_admin_tags INNER JOIN admin_tags a on execution_admin_tags.admin_tag_id = a.id;
Error: database migration failed: ERROR: permission denied for table execution_admin_tags (SQLSTATE 42501)
Usage:
flyteadmin migrate run [flags]
Flags:
-h, --help help for run
database migration failed: ERROR: permission denied for table execution_admin_tags (SQLSTATE 42501)I don’t remember if this was the exact error message, but it was related to this table. The permissions granted were correct. With the same permissions, going from
1.9
to 1.13.1
did not work.
Going from 1.9
to 1.12.0
to 1.13.1
worked
My understanding is that between 1.9
and 1.13.1
we created this execution_admin_tags
which we later deleted, so the latest migration could not run correctlyhigh-accountant-32689
08/29/2024, 8:04 PMthankful-tailor-28399
08/30/2024, 4:22 AM