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 1316081 - hammer medium list output column width too narrow by default
Summary: hammer medium list output column width too narrow by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1317008
TreeView+ depends on / blocked
 
Reported: 2016-03-09 11:38 UTC by Stuart Auchterlonie
Modified: 2020-12-11 12:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-11 23:34:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stuart Auchterlonie 2016-03-09 11:38:44 UTC
Description of problem:

The default output format of `hammer medium list` has the column
width for Name and Path columns set too narrow to be of use.

The output is truncated leading to an inability to see useful
information. The Path column is the worst affected as you
can no longer see the difference between several different
mediums

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

Sat 6.1.7

How reproducible:

100%

Steps to Reproduce:
1. hammer medium list
2.
3.

Actual results:

---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------
ID | NAME                                                                             | PATH                                                                            
---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------
1  | CentOS mirror                                                                    | http://mirror.centos.org/centos/$major.$minor/os/$arch                          
2  | Debian mirror                                                                    | http://ftp.debian.org/debian/                                                   
3  | Fedora mirror                                                                    | http://dl.fedoraproject.org/pub/fedora/linux/releases/$major/Fedora/$arch/os/   
4  | FreeBSD mirror                                                                   | http://ftp.freebsd.org/pub/FreeBSD/releases/$arch/$major.$minor-RELEASE/        
5  | OpenSUSE mirror                                                                  | http://download.opensuse.org/distribution/$major.$minor/repo/oss                
7  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_5_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
8  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_6_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
9  | org-stuarta/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_7_Server_Kickstar... | http://stuarta-sat6.usersys.redhat.com/pulp/repos/org-stuarta/Library/content...
6  | Ubuntu mirror                                                                    | http://archive.ubuntu.com/ubuntu/                                               
---|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------


Expected results:

The default size of the columns should be set so that you can read
all the identifying information.

A suggestion is to identify the max length of the strings being output
and setting the column width to that

Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:48:59 UTC
Per 6.3 planning, moving out non acked bugs to the backlog


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