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 2256472 - Output changed for the command "hammer host list"
Summary: Output changed for the command "hammer host list"
Keywords:
Status: CLOSED DUPLICATE of bug 2255900
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.14.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-02 14:33 UTC by Daniel
Modified: 2024-01-03 09:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-03 09:20:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-22192 0 None None None 2024-01-02 14:35:09 UTC

Description Daniel 2024-01-02 14:33:41 UTC
Description of problem:
The default field "Content View" is missing in the outpout from the command
'hammer host list'.
The same happen if you define the fields:
'hammer host list --fields "id,name,Content view"' 

-> 
hammer host list --help |grep -e 'FIELDS\|Content view'
  FIELDS                 | ALL | DEFAULT | THIN
  Content view           | x   | x       |


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

hammer --version
hammer (3.7.0.1)
 * hammer_cli_foreman (3.7.0)
 * hammer_cli_foreman_admin (1.1.0)
 * hammer_cli_foreman_ansible (0.5.0)
 * hammer_cli_foreman_azure_rm (0.2.2)
 * hammer_cli_foreman_bootdisk (0.3.0)
 * hammer_cli_foreman_discovery (1.1.0)
 * hammer_cli_foreman_google (1.0.1)
 * hammer_cli_foreman_openscap (0.1.13)
 * hammer_cli_foreman_puppet (0.0.6)
 * hammer_cli_foreman_remote_execution (unknown version)
 * hammer_cli_foreman_tasks (unknown version)
 * hammer_cli_foreman_templates (0.2.0)
 * hammer_cli_foreman_virt_who_configure (unknown version)
 * hammer_cli_foreman_webhooks (0.0.4)
 * hammer_cli_katello (1.9.1.2)


How reproducible:
Steps to Reproduce:
1. 'hammer host list'
or 
2. 'hammer host list --fields "id,name,Content view"'


Actual results:
Table column "Content view" is missing

Expected results:
Table column "Content view" is appears

Additional info:
Satellite 6.13.6 works with hammer 3.5.1


Thank you

Comment 1 Adam Ruzicka 2024-01-02 14:47:39 UTC
Feels like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2255900 .

@jlenz Hi, could these two BZs be related to the recent multi CV changes?

Comment 2 Jeremy Lenz 2024-01-02 15:05:13 UTC
Yes, 'Content view' and 'Lifecycle environment' are no longer fields of the host content facet, so they will not be displayed by Hammer. They now live in the content facet's ContentViewEnvironments instead.

We could look into "forcing" Hammer to display them anyway, I suppose..

Comment 3 Adam Ruzicka 2024-01-03 09:20:30 UTC
Closing as a duplicate of BZ2255900. If I missed something and the two bugs are distinct, feel free to reopen.

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


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