Bug 1247329

Summary: [RFE] Display the power status for a Docker container via hammer
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: Container ManagementAssignee: Daniel Lobato Garcia <dlobatog>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: tomckay
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:05:39 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 Og Maciel 2015-07-27 18:57:07 UTC
Description of problem:

Currently hammer cli does not display the power status (running, stopped) for a given container, as shown below:

# hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" docker container info --id=1 --compute-resource="local_docker"
Name:             docker-rhel-7-1
Image repository: rhel6.7
Tag:              latest
Command:          top
Compute resource: local_docker
Entrypoint:
CPU set:
CPU shares:
Memory (Bytes):
TTY:              yes
Attach STDIN:     no
Attach STDOUT:    no
Attach STDERR:    no
Registry:         Red Hat Docker Registry
Created at:       2015/07/27 18:06:46
Updated at:       2015/07/27 18:06:46

It would be great to be able to get this information, specially for automation tasks that may want to check this information before triggering some type of action based on the status.

Version-Release number of selected component (if applicable):

* Satellite 6.1.1 SNAP 14

How reproducible:


Steps to Reproduce:
1. Provision a new docker container
2. Use hammer docker container info to find out what the power state is for the container
3.

Actual results:

This information is not currently displayed


Expected results:

Report the power status

Additional info:

Comment 1 Daniel Lobato Garcia 2017-06-23 12:25:06 UTC
Triaged, cloning to Redmine

Comment 2 Daniel Lobato Garcia 2017-06-23 12:26:00 UTC
Created redmine issue http://projects.theforeman.org/issues/20093 from this bug

Comment 3 Bryan Kearney 2018-09-04 18:55:30 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:05:39 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.