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 1303077 - hammer package list doesn't lists all installed packages for a specified host
Summary: hammer package list doesn't lists all installed packages for a specified host
Keywords:
Status: CLOSED DUPLICATE of bug 1420503
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer - Content
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 13:30 UTC by Sachin Ghai
Modified: 2019-12-16 05:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 06:03:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13464 0 Normal New hammer package list doesn't lists all installed packages for a specified host 2020-06-22 19:16:42 UTC

Description Sachin Ghai 2016-01-29 13:30:16 UTC
Description of problem: 
hammer package list doesn't lists all packages for a specified host

# hammer -u admin -p changeme host package list --host-id 5

----------------------------------------
NVRA                                    
----------------------------------------
acl-2.2.51-12.el7.x86_64                
adwaita-cursor-theme-3.14.1-1.el7.noarch
adwaita-icon-theme-3.14.1-1.el7.noarch  
aic94xx-firmware-30-6.el7.noarch        
alsa-firmware-1.0.28-2.el7.noarch       
alsa-lib-1.0.28-2.el7.x86_64            
alsa-tools-firmware-1.0.28-2.el7.x86_64 
apr-1.4.8-3.el7.x86_64                  
apr-util-1.5.2-6.el7.x86_64             
at-3.1.13-20.el7.x86_64                 
atk-2.14.0-1.el7.x86_64                 
at-spi2-atk-2.8.1-4.el7.x86_64          
at-spi2-core-2.8.0-6.el7.x86_64         
audit-2.4.1-5.el7.x86_64                
audit-libs-2.4.1-5.el7.x86_64           
augeas-libs-1.4.0-2.el7.x86_64          
autoconf-2.69-11.el7.noarch             
autogen-libopts-5.18-5.el7.x86_64       
automake-1.13.4-3.el7.noarch            
avahi-autoipd-0.6.31-15.el7.x86_64      
----------------------------------------
[root@cloud-qe-4 ~]# hammer -u admin -p changeme host package list --help

Usage:
    hammer host package list [OPTIONS]

Options:
 --host HOST_NAME              Name to search by
 --host-id HOST_ID              
 -h, --help                    print help


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

katello-2.5.0-3.nightly.el7.noarch
foreman-release-1.11.0-0.develop.201601211808gitd546fd0.el7.noarch
tfm-rubygem-hammer_cli_katello-0.0.20-1.el7.noarch
tfm-rubygem-hammer_cli-0.5.1-2.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.  hammer -u admin -p changeme host package list --help
2.
3.

Actual results:
hammer package list doesn't lists all installed packages for a specified host

Expected results:
should list all packages and we should add option to list #no of packages per page

Additional info:

Comment 1 Sachin Ghai 2016-01-29 13:31:22 UTC
Created redmine issue http://projects.theforeman.org/issues/13464 from this bug

Comment 3 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 4 Bryan Kearney 2016-07-26 15:36:40 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2016-08-10 16:12:25 UTC
Upstream bug component is Content Management

Comment 7 Bryan Kearney 2016-08-10 19:13:15 UTC
Upstream bug component is Hammer - Content

Comment 8 Bryan Kearney 2016-08-10 20:14:13 UTC
Upstream bug component is Content Management

Comment 9 Bryan Kearney 2016-08-10 22:13:52 UTC
Upstream bug component is Hammer - Content

Comment 12 Sachin Ghai 2016-11-21 11:17:16 UTC
Still reproducible with sat6.3

satellite-installer-6.3.0-3.el7sat.noarch


[root@qe-testing-rhel6 ~]#  hammer -u admin -p changeme host package list --host-id 2
--------------------------------------
NVRA                                  
--------------------------------------
acl-2.2.51-12.el7.x86_64              
aic94xx-firmware-30-6.el7.noarch      
alsa-firmware-1.0.28-2.el7.noarch     
alsa-lib-1.1.1-1.el7.x86_64           
alsa-tools-firmware-1.1.0-1.el7.x86_64
audit-2.6.5-3.el7.x86_64              
audit-libs-2.6.5-3.el7.x86_64         
augeas-libs-1.4.0-2.el7.x86_64        
authconfig-6.2.8-14.el7.x86_64        
autogen-libopts-5.18-5.el7.x86_64     
basesystem-10.0-7.el7.noarch          
bash-4.2.46-20.el7_2.x86_64           
bind-libs-lite-9.9.4-38.el7_3.x86_64  
bind-license-9.9.4-38.el7_3.noarch    
binutils-2.25.1-22.base.el7.x86_64    
biosdevname-0.7.2-1.el7.x86_64        
btrfs-progs-4.4.1-1.el7.x86_64        
bzip2-libs-1.0.6-13.el7.x86_64        
ca-certificates-2015.2.6-73.el7.noarch
chkconfig-1.7.2-1.el7.x86_64          
--------------------------------------
Page 1 of 19 (use --page and --per-page for navigation)
[root@qe-testing-rhel6 ~]#  hammer -u admin -p changeme host package list --help
Usage:
    hammer host package list [OPTIONS]

Options:
 --host HOST_NAME              Name to search by
 --host-id HOST_ID              
 -h, --help                    print help

Comment 14 Anand Agrawal 2017-04-25 06:03:35 UTC

*** This bug has been marked as a duplicate of bug 1420503 ***


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