Project

General

Profile

Actions

Bug #27524

closed

Docker Content View publishing fails with duplicate key value error

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When trying to publish a content view with a docker repo, the following error occurs and halts the publishing:

```PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_katello_docker_tags_on_pulp_id"
DETAIL: Key (pulp_id)=(40f85b7e-56b3-4206-bdc4-d66100184014) already exists.
: insert into katello_docker_tags (repository_id, pulp_id, name,docker_taggable_id,docker_taggable_type)
select 2 as repository_id, pulp_id, name,docker_taggable_id,docker_taggable_type from katello_docker_tags
where repository_id = 1 and pulp_id not in (select pulp_id
from katello_docker_tags where repository_id = 2)```

Actions

Also available in: Atom PDF