Bug 1190122
| Summary: | [hammer cli] docker image info does not display tag information associated to it | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | Hammer | Assignee: | David Davis <daviddavis> |
| Status: | CLOSED ERRATA | QA Contact: | Elyézer Rezende <erezende> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bbuckingham, erezende, jmontleo |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/9133 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 05:23:51 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1190289 | ||
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. 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. So some tag information is displayed (like repo id) but now the tag name should be showing. EG:
ID: c6ec22dd-3f41-4a6e-8a70-d3421101faf2
Image ID: 6cece30db4f924da43969a12fdf47492ada22b372a0968d6ca8b71d25876629f
Size: 360271936
Tags:
1) Repository ID: 7
Tag: latest
2) Repository ID: 7
Tag: 2.1
Verified on Satellite-6.1.0-RHEL-7-20150225.0
Verification steps:
!. hammer -u admin -p password docker image list
2. Selected an image with one or more tags
3. hammer -u admin -p password docker image info --id <selected_image_id>
4. Checked the output:
Tags:
1) Repository ID: 145
Tag: 7
2) Repository ID: 145
Tag: centos7
3) Repository ID: 145
Tag: latest
This bug is slated to be released with Satellite 6.1. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592 |
Description of problem: [root@zzzz yum.repos.d]# hammer -u admin -p changeme docker image info --id c6ec22dd-3f41-4a6e-8a70-d3421101faf2 /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT ID: c6ec22dd-3f41-4a6e-8a70-d3421101faf2 Image ID: 6cece30db4f924da43969a12fdf47492ada22b372a0968d6ca8b71d25876629f Size: 360271936 Tags: 1) Repository ID: 7 Tag: 2) Repository ID: 7 Tag: Version-Release number of selected component (if applicable): Beta-snap1-compose3 How reproducible: always Steps to Reproduce: 1. create a docker repo and sync few iamges 2. use 'hammer -u admin -p changeme docker image info --id c6ec22dd-3f41-4a6e-8a70-d3421101faf2' to display the image info. 3. Notice no, tags information is displayed. Actual results: No tags information is displayed. Expected results: Tag information should be displayed Additional info: