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
Updated by Ian Ballou over 2 years ago
- Subject changed from ForeignKeyViolation Error with docker_meta_tags to ForeignKeyViolation Error with docker_meta_tags
- Target version set to 3.18-no-release-planned
Updated by Ian Ballou over 2 years ago
The bug should only affect Katello running Pulp 2 since Pulp 3 handles docker content differently.
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/10198 added
Updated by Ian Ballou over 2 years ago
- Status changed from Ready For Testing to Closed
- Fixed in Releases 3.18-no-release-planned added
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/katello/pull/10257 added
Updated by Ian Ballou over 2 years ago
- Status changed from Closed to Ready For Testing
Updated by Ian Ballou over 2 years ago
- Status changed from Ready For Testing to Closed