Bug #10706
closedkatello-disconnected fails when performing a date-based export
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1226740
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:
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes
- Pull request https://github.com/Katello/katello-misc/pull/68 added
- Pull request deleted (
)