Bug #15805
add prexisting product in katello fails
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Description
An error occurred while saving the Product: 0 Task fc0c47e6-8890-4cdc-8064-604b73bb83d2: ActiveRecord::RecordNotUnique: PG::Error: ERROR: duplicate key value violates unique constraint "index_katello_pools_on_cp_id" DETAIL: Key (cp_id)=(4028d5a0561c99b401561c9c69d90002) already exists. : INSERT INTO "katello_pools" ("cp_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
if i create in katello an product and remove them, recreate the product with same name i get the following error. product will be visible but with error abobe.
History
#1
Updated by Sven Vogel almost 6 years ago
1.11.3 different version.
#2
Updated by Dominic Cleal almost 6 years ago
- Project changed from Foreman to Katello
- Category deleted (
Web Interface)
#3
Updated by Justin Sherrill almost 6 years ago
- Category set to Repositories
- Assignee set to Chris Duryee
#4
Updated by Chris Duryee almost 6 years ago
- Status changed from New to Need more information
Can you confirm that there are no tasks in error state in the task list? It is viewable under "Monitor/Tasks" in the menu at the top of the web UI.
#5
Updated by Justin Sherrill almost 6 years ago
- Legacy Backlogs Release (now unused) set to 166
#6
Updated by Sven Vogel almost 6 years ago
Hi Chris,
yes there is nothing in Error State.
#7
Updated by Chris Duryee almost 6 years ago
That is odd that there is no task in error state. Can you confirm that foreman-tasks is running when this happens?
I tried to reproduce this issue locally but was not able to. If it still happens, can you upload the output of foreman-debug?
#8
Updated by Justin Sherrill over 5 years ago
- Status changed from Need more information to Closed
Closing, feel free to ping someone on irc if you are still seeing this issue. Thanks!