Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-22136 hammer host list does not print parameters even if they are present in the fields list like LCE and CVs.
  3. SAT-22255

[DEV] hammer host list does not print parameters even if they are present in the fields list like LCE and CVs.

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Hosts - Content
    • Sprint 126, Sprint 127, Sprint 128

      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?

      DEV Tracker for https://issues.redhat.com/browse/SAT-22136
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2255900

              rhn-support-chrobert Chris Roberts
              satellite-focaccia-bot Focaccia Bot
              Quinn James Quinn James
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: