Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1190122 - [hammer cli] docker image info does not display tag information associated to it
Summary: [hammer cli] docker image info does not display tag information associated to it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Elyézer Rezende
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1190289
TreeView+ depends on / blocked
 
Reported: 2015-02-06 12:03 UTC by Kedar Bidarkar
Modified: 2017-02-23 20:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:23:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9133 0 None None None 2016-04-22 16:41:26 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Kedar Bidarkar 2015-02-06 12:03:21 UTC
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:

Comment 1 RHEL Program Management 2015-02-06 12:03:41 UTC
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.

Comment 2 RHEL Program Management 2015-02-06 12:33:19 UTC
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.

Comment 4 David Davis 2015-02-11 17:17:23 UTC
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

Comment 6 Elyézer Rezende 2015-03-02 13:34:08 UTC
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

Comment 7 Bryan Kearney 2015-08-11 13:23:58 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:23:51 UTC
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


Note You need to log in before you can comment on or make changes to this bug.