Bug 1286722
Summary: | hammer returns return code 0(zero) for failed repo sync | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
Component: | Tasks Plugin | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.5 | CC: | bbuckingham, bkearney, ehelms, jyejare, kbidarka |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-hammer_cli_foreman_tasks-0.0.10.3-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 20:02:43 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: |
Description
Jitendra Yejare
2015-11-30 15:15:26 UTC
Created redmine issue http://projects.theforeman.org/issues/12647 from this bug This issue has been solved, and the change has been applied. https://github.com/theforeman/hammer-cli-foreman-tasks/pull/20 This change https://github.com/theforeman/hammer-cli-foreman-tasks/pull/20 doesn't seem to exist in build sat62-snap12.1/tfm-rubygem-foreman-tasks-0.7.14.4-1.el7sat.noarch ~]# grep SOFTWARE /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman_tasks-0.0.10.1/lib/hammer_cli_foreman_tasks/async_command.rb TESTED with sat62-snap(GA)-12.1 [root@xyz ~]# hammer -u admin -p changeme repository synchronize --name rhel7_repo_tools --product rhel7_prd_tools --organization 'Default Organization' [......................................................................] [100%] Error: RPM1004: Error retrieving metadata: Not found [root@xyz ~]# echo $? 0 [root@xyz ~]# rpm -qav | grep -i cli_foreman tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.5.3-1.el7sat.noarch tfm-rubygem-hammer_cli_foreman_tasks-0.0.10.3-1.el7sat.noarch TESTED with sat62-snap(GA)-15.2 We still see the same issue, we still get a return code '0' for failed sync. Upstream bug assigned to ehelms Upstream bug component is Tasks Plugin Moving to POST since upstream bug http://projects.theforeman.org/issues/10647 has been closed Moving to POST since upstream bug http://projects.theforeman.org/issues/10647 has been closed I have submitted an additional fix for this upstream: https://github.com/theforeman/hammer-cli-foreman-tasks/pull/30 The fix to this bug will be delivered with release 6.3 of Satellite. |