Project

General

Profile

Bug #27524

Docker Content View publishing fails with duplicate key value error

Added by Ian Ballou 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
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)```

Associated revisions

Revision 5d0a6d55 (diff)
Added by Ian Ballou 2 months ago

Fixes #27524 - fix docker cv publishing

History

#1 Updated by The Foreman Bot 2 months ago

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

#2 Updated by Jonathon Turel 2 months ago

  • Triaged changed from No to Yes

#3 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 3.14.0 added

#4 Updated by Ian Ballou 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF