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 1226740

Summary: katello-disconnected fails when performing a date-based export
Product: Red Hat Satellite Reporter: Rich Jerrido <rjerrido>
Component: Inter Satellite SyncAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.8CC: bbuckingham, bkearney, chpeters, cwelton, jhutar, mmccune, rjerrido
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10706
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 16:04:30 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: 1241343, 1245358, 1245814    
Bug Blocks:    

Description Rich Jerrido 2015-06-01 00:21:41 UTC
Description of problem:


When running katello-disconnected with the --start_date or --end_date switches, 
export fails




Version-Release number of selected component (if applicable):
foreman-1.6.0.53-1.el6sat.noarch
katello-utils-1.5.16-1.el6sat.noarch
mod_wsgi-3.4-1.pulp.el6sat.x86_64
pulp-katello-0.3-4.el6sat.noarch
pulp-nodes-common-2.4.4-1.el6sat.noarch
pulp-nodes-parent-2.4.4-1.el6sat.noarch
pulp-puppet-plugins-2.4.4-1.el6sat.noarch
pulp-puppet-tools-2.4.4-1.el6sat.noarch
pulp-rpm-plugins-2.4.4-1.1.el6sat.noarch
pulp-selinux-2.4.4-1.el6sat.noarch
pulp-server-2.4.4-1.el6sat.noarch
python-isodate-0.5.0-1.pulp.el6sat.noarch
python-kombu-3.0.15-12.pulp.el6sat.noarch
python-pulp-bindings-2.4.4-1.el6sat.noarch
python-pulp-common-2.4.4-1.el6sat.noarch
python-pulp-puppet-common-2.4.4-1.el6sat.noarch
python-pulp-rpm-common-2.4.4-1.1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.6.9-1.2.el6sat.noarch
ruby193-rubygem-katello-1.5.0-98.el6sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. setup katello-disconnected as per the docs

2. run katello-disconnected specifying a repo and date range



Actual results:
 # katello-disconnected export -r rhel-7-server-rpms-7Server-x86_64 -t /var/tmp/export2/  -s "2014-06-01 00:00:00" -n "2015-05-01 00:00:00" 
/usr/share/katello-disconnected/lib/disconnected_pulp.rb:289:in `export': undefined local variable or method `start' for #<DisconnectedPulp:0x00000003404838> (NameError)
        from /usr/bin/katello-disconnected:503:in `<main>'


Expected results:
Export should complete without error and with only the content that is within the date ranges specified above. 

Additional info:

Comment 1 RHEL Program Management 2015-06-01 00:32:18 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Eric Helms 2015-06-04 15:43:25 UTC
Created redmine issue http://projects.theforeman.org/issues/10706 from this bug

Comment 4 Bryan Kearney 2015-06-08 14:06:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10706 has been closed

Comment 7 Tazim Kolhar 2015-06-15 09:49:30 UTC
Hi,

  can you please point to the doc which provides
  installation and setup of katello-disconnected

Thanks and Regards,
Tazim

Comment 9 Jan Hutař 2015-07-21 21:02:54 UTC
This is now blocked by bug 1245358. Will try clean 6.1 synchronization host install tomorrow.

Comment 10 Jan Hutař 2015-07-23 08:30:16 UTC
Clean 6.1 synchronization host setup is blocked by bug 1245814.

Comment 19 Bryan Kearney 2015-08-12 16:04:30 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.