Bug 1226740 - katello-disconnected fails when performing a date-based export
Summary: katello-disconnected fails when performing a date-based export
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.0.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Jan Hutař
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On: 1241343 1245358 1245814
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-01 00:21 UTC by Rich Jerrido
Modified: 2017-02-23 19:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 16:04:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10706 0 None None None 2016-04-22 15:59:26 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.