Bug #35233
closedForeignKeyViolation Error with docker_meta_tags
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2081560
Description of problem:
When upgrading up from 3.18 we are facing the issue "ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "katello_docker_meta_tags" violates foreign key constraint "fk_rails_af711a226d" on table "katello_repository_docker_meta_tags"
Version-Release number of selected component (if applicable):
Katello 3.18
Actual results:
Switching specified content over to pulp 3 [FAIL]
Failed executing foreman-rake katello:pulp3_content_switchover, exit status 1:
rake aborted!
ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "katello_docker_meta_tags" violates foreign key constraint "fk_rails_af711a226d" on table "katello_repository_docker_meta_tags"
Expected results:
The upgrade should be successful