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.
DescriptionVedashree Deshpande
2023-12-26 12:27:23 UTC
Description of problem:
After upgrade to Satellite 6.14 hammer cli command "hammer host list" does no longer display information about lifecycle environments and content views not via "DEFAULT" or "ALL" or even if specifically requested via --fields option. It is only visible for each host when using "hammer host info --name <servername>".
Example output:
[XXX@satellite ~]$ hammer host list --per-page 2
-----|-------------------------------------|------------------|------------|---------------|-------------------|--------------
ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC | GLOBAL STATUS
-----|-------------------------------------|------------------|------------|---------------|-------------------|--------------
1915 | xxx | RedHat 8.7 | | 10.xx.xxx.xx | 00:50:56:8a:da:XX | Error
Version-Release number of selected component (if applicable):
Satellite 6.14.
Until 6.13 it was showing the LCE and CV details.
Actual results:
satellite ~]$ hammer host list --per-page 2
-----|-------------------------------------|------------------|------------|---------------|-------------------|--------------
ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC | GLOBAL STATUS
-----|-------------------------------------|------------------|------------|---------------|-------------------|--------------
1915 | xxx | RedHat 8.7 | | 10.xx.xxx.xx | 00:50:56:8a:da:XX | Error
Expected results:
To list LCE and CV details.
Additional info:
If this is intended behaviour with 6.14 then how would i go about and get this information now for all hosts without looping through every single one?
Comment 1Vedashree Deshpande
2023-12-26 12:30:26 UTC
If we explicitly try to print it with hammer command, the output is blank.
Verified on 6.15 - Snap 8
Steps to Verify:
1. Create a CV, and promote it to an LCE
2. Create an AK associated with these.
3. Register a host with that AK
Expected Results:
hammer host list shows both the LCE and the CV in the output, and this information is correct.
Actual Results:
hammer host list shows both the LCE and the CV in the output, and this information is correct.
Created attachment 2017886[details]
Hotfix RPMs for Satellite 6.14.2
A hotfix RPM is now available for Satellite 6.14.2.
INSTALL INSTRUCTIONS (Satellite 6.14.2):
1. Take a complete backup or snapshot of Satellite 6.14.2 server
2. Obtain the Hotfix RPM for Satellite 6.14.2 from this attachment
3. # dnf install ./rubygem-hammer_cli_katello-1.9.1.2-2.HOTFIXRHBZ2255900.el8sat.noarch.rpm --disableplugin=foreman-protector
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.15.0 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-2024:2010