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.

XMLWordPrintable

    • Sprint 126, Sprint 127, Sprint 128
    • Moderate
    • Yes

      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?

              rhn-support-chrobert Chris Roberts
              jira-bugzilla-migration RH Bugzilla Integration
              Sam Bible Sam Bible
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: