Bug 1319917

Summary: [RFE] hammer task progress should exist with a return code indicating task status
Product: Red Hat Satellite Reporter: Rodrique Heron <rheron>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.7CC: aruzicka, bkearney
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:12:29 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:

Description Rodrique Heron 2016-03-21 19:51:59 UTC
Description of problem:

As a user of hammer, I would like 'hammer task progress --id <uuid>' to immediately exit and with a return code indicating the status of a task.

Version-Release number of selected component (if applicable):
rubygem-hammer_cli_foreman_tasks-0.0.3.5-1.el7sat.noarch
rubygem-hammer_cli_katello-0.0.7.21-1.el7sat.noarch
rubygem-hammer_cli-0.1.4.13-1.el7sat.noarch
rubygem-hammer_cli_gutterball-0.0.1.3-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.15-1.el7sat.noarch
foreman-1.7.2.53-1.el7sat.noarch
katello-2.2.0.18-1.el7sat.noarch


How reproducible:
Always

Steps to Reproduce:
1. hammer task progress --id <uuid>


Actual results:

If task is in progress, a progress bar is shown. Otherwise a progress bar displaying 100% is shown.

Expected results:

1. A return code indicating task in progress
2. A return code indicating task completed
3. A return code indicating pause
4. A return code indicating an error state other than pause

Additional info:

Comment 1 Bryan Kearney 2016-07-26 19:01:26 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Adam Ruzicka 2018-06-19 08:44:01 UTC
Created redmine issue http://projects.theforeman.org/issues/23998 from this bug

Comment 3 Bryan Kearney 2018-09-04 19:00:25 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 4 Bryan Kearney 2018-09-04 19:12:29 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.