Project

General

Profile

Bug #10690

ActiveRecord::RecordInvalid: Validation failed: Title has already been taken

Added by Justin Sherrill almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1208618
Description of problem:

I enabled several kickstart and RPM Red Hat products for synchronization, but I had issues with my RHEL 5 products as shown in the attached screenshot). It looks like that multiple similar versions of RHEL 5 products were the only ones that failed, as all of my similar RHEL 6 and 6 products were synchronized.

Version-Release number of selected component (if applicable):

  • Satellite-6.1.0-RHEL-7-20150331.1

How reproducible:

Steps to Reproduce:
1. Enable the following products from the web ui for synchronization:

  • Red Hat Enterprise Linux 5 Server Kickstart i386 5.11
  • Red Hat Enterprise Linux 5 Server Kickstart x86_64 5.11
  • Red Hat Enterprise Linux 5 Server RPMs i386 5Server
  • Red Hat Enterprise Linux 5 Server RPMs x86_64 5Server

2. Synchronize them
3.

Actual results:

The sync process for some of the RHEL 5 products fail. Looking at the failed tasks shows: ActiveRecord::RecordInvalid: Validation failed: Title has already been taken

Expected results:

Additional info:

Associated revisions

Revision 45f26bce (diff)
Added by Justin Sherrill almost 8 years ago

fixes #10690 - fixing possible race condition with creating operatingsystems

Revision 495546a1
Added by Justin Sherrill almost 8 years ago

Merge pull request #5269 from jlsherrill/10690

fixes #10690 - fixing possible race condition with creating operating…

Revision 02abbc5f (diff)
Added by Justin Sherrill over 7 years ago

Refs #10690 - remove duplicate method call for os creation

Revision daf3417b
Added by Justin Sherrill over 7 years ago

Merge pull request #5372 from jlsherrill/10690

Refs #10690 - remove duplicate method call for os creation

Revision a0923faf (diff)
Added by Justin Sherrill over 7 years ago

Refs #10690 - only create operating system for repo that was synced

rather than for all repos in the content view/env

Revision 5794880c
Added by Justin Sherrill over 7 years ago

Merge pull request #5396 from jlsherrill/10690_3

Refs #10690 - only create operating system for repo that was synced

History

#1 Updated by The Foreman Bot almost 8 years ago

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

#2 Updated by Eric Helms almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#3 Updated by Justin Sherrill almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Justin Sherrill over 7 years ago

  • Pull request https://github.com/Katello/katello/pull/5396 added
  • Pull request deleted (https://github.com/Katello/katello/pull/5269)

Also available in: Atom PDF