Bug 1829468

Summary: [RFE] Be able to retrieve the software vendor package from the installed package
Product: Red Hat Satellite Reporter: Waldirio M Pinheiro <wpinheir>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: medium Docs Contact:
Priority: high    
Version: 6.7.0CC: bkearney, dchaudha, jsherril, mtapsonj, tbrisker, zhunting
Target Milestone: 6.12.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:32:23 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 Waldirio M Pinheiro 2020-04-29 15:28:42 UTC
Description of problem:
The customer would like to see the complete list of packages of 3rd party software installed on the Content Host

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

How reproducible:
100%

Steps to Reproduce:
1. Generate the list of installed package
2. 
3.

Actual results:

Currently, we can see only the nvra
---
# hammer host package list --host dhcp-8-30-251.lab.eng.rdu2.redhat.com --search 'name ~ zabbix'
----------------------------
NVRA                        
----------------------------
zabbix40-4.0.17-1.el7.x86_64
----------------------------
---

Expected results:

Include a new column that will present the software Vendor, as for example below
---
Red Hat, Inc
Fedora Project
none
---

Additional info:

Comment 9 Samir Jha 2022-06-01 17:17:35 UTC
Created redmine issue https://projects.theforeman.org/issues/34999 from this bug

Comment 10 Bryan Kearney 2022-06-03 16:01:53 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34999 has been resolved.

Comment 11 Silas Pusateri 2022-09-16 15:21:43 UTC
Verified
Version tested: Satellite 6.12.0 snap 10 

Steps followed:
1. Have a host with some installed content
2. Search for vendor information in the rake console or with `rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH} %{VENDOR}\n' | grep -v 'Red Hat, Inc\.' | sort`
3. Ensure there are no `nil` values for vendor

Results: Vendor information is set properly 

This was based of the test steps in the PR: https://github.com/Katello/katello/pull/10142

Comment 16 errata-xmlrpc 2022-11-16 13:32:23 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 (Important: Satellite 6.12 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/RHSA-2022:8506