Project

General

Profile

Actions

Bug #35233

closed

ForeignKeyViolation Error with docker_meta_tags

Added by Ian Ballou over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Repositories
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF