Project

General

Profile

Actions

Bug #35482

closed

ACS create fails when same name used with "PG::UniqueViolation: ERROR: duplicate key value violates unique constraint"

Added by Samir Jha about 2 years ago. Updated over 1 year ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2119120

Description of problem:

Version-Release number of selected component (if applicable):
Satellite 6.12.0 Snap 6.1

How reproducible:
Always

Steps to Reproduce:
1. Enable ACS lab feature
2. # hammer alternate-content-source create --name test_repo_acs --base-url http://reposerver.example.com:33333/ --subpaths fake_yum0/ --smart-proxy-ids 1
Alternate Content Source created.

3. # hammer alternate-content-source create --name test_repo_acs --base-url http://reposerver.example.com:33333/ --subpaths fake_yum0/
Could not create the Alternate Content Source.:
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_katello_alternate_content_sources_on_name"
DETAIL: Key (name)=(test_repo_acs) already exists.

Actual results:

Expected results:

Additional info:

Actions

Also available in: Atom PDF