Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1222042

Summary: hammer_cli_import uses incomplete check for "is repo already sync'd?" due to 6.1 changes
Product: Red Hat Satellite Reporter: Grant Gainey <ggainey>
Component: TransitionsAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Pramuk <lpramuk>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, cperry, cwelton, ggainey
Target Milestone: UnspecifiedKeywords: Triaged
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-08-12 14:02:33 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: 1136899    

Description Grant Gainey 2015-05-15 14:44:57 UTC
This fix is necessary for the fix 1136841 to work again

Comment 1 Grant Gainey 2015-05-15 14:45:40 UTC
hammer_import_cli.github 0e46e205a65b75ac1955f81c6120dd5012284f04

Comment 2 Grant Gainey 2015-05-15 14:48:37 UTC
Correction to c#1 - this is needed for 1136899, as noted by 'Blocks'

Comment 6 Lukas Pramuk 2015-05-25 11:21:18 UTC
VERIFIED.
rubygem-hammer_cli_import-0.10.14-1.el7sat.noarch


1. run 'hammer import all'
2. at sat6 webui upload a manifest for each imported organization
3. run 'hammer import all'
4. at sat6 webui trigger the synchronization of all the repositories, especially of redhat repositories.
5. run 'hammer import all'
# hammer import all --verbose
...
Import repository-enable    with arguments --csv-file /tmp/exports/channels.csv
Summary
  Created 6 redhat_content_views.
...

>>> Already synced repos are now correctly detected for further actions (like creation of CV).

Comment 7 Bryan Kearney 2015-08-11 13:28:13 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 Bryan Kearney 2015-08-12 14:02:33 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.