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 1869918 - Hammer location and organization info command outputs missing partition tables and realms
Summary: Hammer location and organization info command outputs missing partition table...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.8.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.8.0
Assignee: Yifat Makias
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-19 03:38 UTC by Kaushik Sajjan Agarwal
Modified: 2020-10-27 13:32 UTC (History)
8 users (show)

Fixed In Version: tfm-rubygem-hammer_cli_foreman-2.1.2.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:32:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30663 0 Normal Closed Hammer location and organization info command outputs missing partition tables and realms 2021-01-25 15:42:25 UTC
Red Hat Product Errata RHBA-2020:4367 0 None None None 2020-10-27 13:32:16 UTC

Description Kaushik Sajjan Agarwal 2020-08-19 03:38:04 UTC
Description of problem:

Hammer location and organization info command outputs missing partition tables and realms.


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

Red Hat Satellite 6.8 Beta

How reproducible:

Always


Steps to Reproduce:
1. Execute "hammer location info --id x" or "hammer organization info --id x" command on satellite CLI.
2. In the output all parameters are visible except partition tables and realms. 

Actual results:

Partition tables and realms parameters are not part of the output given by "hammer location info --id x" or "hammer organization info --id x" command on satellite CLI.


Expected results:

Should show all parameters including partition tables and realms as these all parameters are visible under "Administer >> Locations >> Click on any location" or "Administer >> Organizations >> Click on any organization".

Comment 2 Yifat Makias 2020-08-19 10:07:07 UTC
Created redmine issue https://projects.theforeman.org/issues/30663 from this bug

Comment 3 Bryan Kearney 2020-08-19 12:04:47 UTC
Upstream bug assigned to ymakias

Comment 4 Bryan Kearney 2020-08-19 12:04:50 UTC
Upstream bug assigned to ymakias

Comment 5 Bryan Kearney 2020-08-19 16:04:48 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30663 has been resolved.

Comment 7 Mirek Długosz 2020-09-22 17:11:12 UTC
Partition tables and realms are part of `hammer (location|organization) info` command:

#v+
# hammer organization info --id 4 |grep ':'
Id:                     4
Title:                  my new organization
Name:                   my new organization
Description:            
Users:                  
Smart proxies:          
Subnets:                
Compute resources:      
Installation media:     
Templates:              
Partition Tables:       
Domains:                
Realms:                 
Environments:           
Hostgroups:             
Parameters:             
Created at:             2020/09/22 15:36:29
Updated at:             2020/09/22 15:36:29
Label:                  my_new_organization
Description:            
Red Hat Repository URL: https://cdn.redhat.com
Service Levels:
# hammer location info --id 3 |grep ':'
Id:                 3
Title:              my new location
Name:               my new location
Description:        
Users:              
Smart proxies:      
Subnets:            
Compute resources:  
Installation media: 
Templates:          
Partition Tables:   
Domains:            
Realms:             
Environments:       
Hostgroups:         
Parameters:         
Created at:         2020/09/22 15:36:04
Updated at:         2020/09/22 15:36:04
#v-


Tested on:
Satellite 6.8 snap 16
satellite-6.8.0-1.el7sat.noarch
katello-3.16.0-1.el7sat.noarch
foreman-2.1.2.12-1.el7sat.noarch
pulp-server-2.21.3-1.el7sat.noarch
tfm-rubygem-hammer_cli-2.1.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.22.2.1-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-2.1.2.1-1.el7sat.noarch

Comment 10 errata-xmlrpc 2020-10-27 13:32:13 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 (Satellite 6.8 Satellite Tools Release), 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/RHBA-2020:4367


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