Bug 1257054
| Summary: | Kickstart repo import "Title has already been taken" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> | ||||||
| Component: | Content Management | Assignee: | Katello Bug Bin <katello-bugs> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.1.0 | CC: | bbuckingham, jsherril | ||||||
| Target Milestone: | Unspecified | ||||||||
| Target Release: | Unused | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-10-16 11:20:20 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1122832 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1067182 [details]
Duplicate OS items
At the same time are also duplicate OS items created
Quick analysis of the OS and creation times
The Sat6.1.1 is installed on RHEL6.6
The "RHEL Server 6.6" entry (notice also the difference in title/description) is created by the fact importer:
"results": [
{
"updated_at": "2015-08-25T17:28:30Z",
"created_at": "2015-08-25T17:28:30Z",
"password_hash": "MD5",
"id": 1,
"name": "RedHat",
"title": "RHEL Server 6.6",
"description": "RHEL Server 6.6",
"major": "6",
"minor": "6",
"family": "Redhat",
"release_name": null
},
[crash] root@li-lc-1578:~# grep 'Import facts ' /var/log/foreman/production.log
2015-08-25 17:28:30 [I] Import facts for 'li-lc-1578.hag.hilti.com' completed. Added: 153, Updated: 0, Deleted 0 facts
2015-08-25 17:58:30 [I] Import facts for 'li-lc-1578.hag.hilti.com' completed. Added: 0, Updated: 5, Deleted 0 facts
2015-08-25 18:28:25 [I] Import facts for 'li-lc-1578.hag.hilti.com' completed. Added: 0, Updated: 7, Deleted 0 facts
This is a major difference compared to RHEL6.5 and RHEL7.1 that have to be created during the repository imports.
Probably related to: https://bugzilla.redhat.com/show_bug.cgi?id=1208618 This bug appears to be a duplicate of bug 1208618, which is being delivered with 6.1.3. If the issue persists after upgrading to 6.1.3, please feel free to re-open. Thanks! *** This bug has been marked as a duplicate of bug 1208618 *** |
Created attachment 1067167 [details] production.log of repositories sync process Description of problem: With a fresh and empty Sat6.1.1 installation doing a first bulk import of multiple redhat release repositories the kickstart repositories fail with ActiveRecord::RecordInvalid: Validation failed: Title has already been taken from Actions::Katello::Repository::UpdateMedia. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Fresh and clean Sat6.1.1 installation 2. Enable the following redhat repositories: Red Hat Enterprise Linux 6 Server - Extended Update Support - Optional RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - Extended Update Support - Optional RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - Extended Update Support - Oracle Java RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - Extended Update Support - Oracle Java RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - Extended Update Support RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - Extended Update Support RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - Optional RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - Optional RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - Optional RPMs x86_64 6Server Red Hat Enterprise Linux 6 Server - Oracle Java RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - Oracle Java RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - Oracle Java RPMs x86_64 6Server Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6Server Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.5 Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.6 Red Hat Enterprise Linux 6 Server RPMs x86_64 6.5 Red Hat Enterprise Linux 6 Server RPMs x86_64 6.6 Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server Red Hat Enterprise Linux 7 Server - Extended Update Support - Optional RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - Extended Update Support - Oracle Java RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - Extended Update Support RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server Red Hat Enterprise Linux 7 Server - Oracle Java RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - Oracle Java RPMs x86_64 7Server Red Hat Enterprise Linux 7 Server - RH Common RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server - RH Common RPMs x86_64 7Server Red Hat Enterprise Linux 7 Server Kickstart x86_64 7.1 Red Hat Enterprise Linux 7 Server RPMs x86_64 7.1 Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server Red Hat Enterprise Linux Load Balancer for RHEL 6 Server - Extended Update Support RPMs x86_64 6.5 Red Hat Enterprise Linux Load Balancer for RHEL 6 Server - Extended Update Support RPMs x86_64 6.6 Red Hat Enterprise Linux Load Balancer for RHEL 6 Server RPMs x86_64 6.5 Red Hat Enterprise Linux Load Balancer for RHEL 6 Server RPMs x86_64 6.6 Red Hat Enterprise Linux Load Balancer for RHEL 6 Server RPMs x86_64 6Server Red Hat Satellite 6.0 - Optional for RHEL 6 Server RPMs x86_64 6.5 Red Hat Satellite 6.0 - Optional for RHEL 6 Server RPMs x86_64 6.6 Red Hat Satellite 6.0 - Optional for RHEL 6 Server RPMs x86_64 6Server Red Hat Satellite 6.0 - Optional for RHEL 7 Server RPMs x86_64 7.1 Red Hat Satellite 6.0 - Optional for RHEL 7 Server RPMs x86_64 7Server Red Hat Satellite 6.0 for RHEL 6 Server RPMs x86_64 6.5 Red Hat Satellite 6.0 for RHEL 6 Server RPMs x86_64 6.6 Red Hat Satellite 6.0 for RHEL 6 Server RPMs x86_64 6Server Red Hat Satellite 6.0 for RHEL 7 Server RPMs x86_64 7.1 Red Hat Satellite 6.0 for RHEL 7 Server RPMs x86_64 7Server Red Hat Satellite 6.1 for RHEL 6 Server RPMs x86_64 Red Hat Satellite 6.1 for RHEL 7 Server RPMs x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 RHEL 6 Server EUS x86_64 6.5 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 RHEL 6 Server EUS x86_64 6.6 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server x86_64 6.5 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server x86_64 6.6 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server x86_64 6Server Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 RHEL 7 Server EUS x86_64 7.1 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7.1 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7Server 3. goto Sync management 4. Select All repositories 5. Click Sync Actual results: Kickstart repositories fail Expected results: All repositories successful synced and OS media for 6.5,6.6,7.1 correctly associated and made available for provisioning (Foreman) Additional info: