Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1498498

Summary: hammer partition tables info missing org/loc field
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: HammerAssignee: Rahul Bajaj <rabajaj>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: akarsale, bbuckingham, dhlavacd, ehelms, kgaikwad, mhulan, nkathole, rabajaj, sabnave, sjagtap, tstrachota
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:00:40 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:

Description Sanket Jagtap 2017-10-04 13:12:24 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Go to hammer 
2. hammer> partition-table list
---|------------------------------|----------
ID | NAME                         | OS FAMILY
---|------------------------------|----------
79 | AutoYaST entire SCSI disk    | Suse     
80 | AutoYaST entire virtual disk | Suse     
81 | AutoYaST LVM                 | Suse     
82 | CoreOS default fake          | Coreos   
83 | FreeBSD                      | Freebsd  
84 | Jumpstart default            | Solaris  
85 | Jumpstart mirrored           | Solaris  
86 | Junos default fake           | Junos    
87 | Kickstart default            | Redhat   
88 | NX-OS default fake           | NXOS     
90 | Preseed custom LVM           | Debian   
89 | Preseed default              | Debian   
91 | XenServer default            | Xenserver
---|------------------------------|----------
hammer> partition-table info --id 87
Id:                87
Name:              Kickstart default
OS Family:         Redhat
Locked:            no
Operating systems: 
    RedHat 7.4
Created at:        2017/09/27 06:21:13
Updated at:        2017/09/27 06:21:13

Actual results:
No org/Loc field


Expected results:
Info should contain the Org/Loc associations


Additional info:

Comment 3 Satellite Program 2017-10-10 12:19:11 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21264 has been resolved.

Comment 4 Sanket Jagtap 2017-10-13 17:53:54 UTC
This is a regression from https://bugzilla.redhat.com/show_bug.cgi?id=1492668
and also a regression from 6.2

Comment 5 Brad Buckingham 2017-10-13 18:39:49 UTC
Thanks Sanket!  Updating the bugzilla based upon comment 4.

Comment 7 Nikhil Kathole 2017-10-23 08:54:46 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 21

steps:

1. hammer> partition-table list
---|------------------------------|----------
ID | NAME                         | OS FAMILY
---|------------------------------|----------
82 | AutoYaST entire SCSI disk    | Suse
83 | AutoYaST entire virtual disk | Suse
84 | AutoYaST LVM                 | Suse
85 | CoreOS default fake          | Coreos
86 | FreeBSD                      | Freebsd
87 | Jumpstart default            | Solaris
88 | Jumpstart mirrored           | Solaris
89 | Junos default fake           | Junos
90 | Kickstart default            | Redhat
91 | NX-OS default fake           | NXOS
93 | Preseed custom LVM           | Debian
92 | Preseed default              | Debian
94 | XenServer default            | Xenserver
---|------------------------------|----------


2. hammer> partition-table info --id 90
Id:                90
Name:              Kickstart default
OS Family:         Redhat
Locked:            no
Operating systems:
    RedHat 6.8
    RHEL Server 7.4
Created at:        2017/10/23 02:55:16
Updated at:        2017/10/23 02:55:16
Locations:
    Default Location
Organizations:
    Default Organization

Found locations and organizations association info.

Comment 8 Bryan Kearney 2018-02-21 17:00:40 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-2018:0336