Project

General

Profile

Actions

Bug #15805

closed

add prexisting product in katello fails

Added by Sven Vogel almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Sven Vogel almost 8 years ago

1.11.3 different version.

Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Project changed from Foreman to Katello
  • Category deleted (Web Interface)
Actions #3

Updated by Justin Sherrill almost 8 years ago

  • Category set to Repositories
  • Assignee set to Chris Duryee
Actions #4

Updated by Chris Duryee almost 8 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.

Actions #5

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 166
Actions #6

Updated by Sven Vogel over 7 years ago

Hi Chris,

yes there is nothing in Error State.

Actions #7

Updated by Chris Duryee over 7 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?

Actions #8

Updated by Justin Sherrill over 7 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!

Actions

Also available in: Atom PDF