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 #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8259 added
Actions #2

Updated by Jonathon Turel over 5 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 5 years ago

  • Fixed in Releases Katello 3.14.0 added
Actions #4

Updated by Ian Ballou over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF