Bug #18739
closedHammer host list output should display hostgroup_title
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1427554
Description of problem:
changes in hammer host list output since upgrade from 6.1 to 6.2
Version-Release number of selected component (if applicable):
Satellite 6.2.7
How reproducible:
1) Have a satellite 6.1,
2) Run “$hammer host list” and check HostGroup field, you can find full HostGroup name
3) Upgrade the satellite to 6.2.7,
4) now run “$hammer host list” and check HostGroup field which will only display last part of HostGroup.
Actual results:
Only last part of the HostGroup listed
Expected results:
Full HostGroup has to be listed as usual after an upgrade
Additional info:
Hammer host list used to list full hostgroup like so:
-----|--------------------------------|------------------|-------------------------------------|---------------|------------------
ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC
-----|--------------------------------|------------------|-------------------------------------|---------------|------------------
1075 | dhcptest.phx.aexp.com | RHEL Server 6.8 | TRCW/E2/Virt-R6/Unassigned | xx.xx.xx.118 | 00:50:56:xx:xx:xx
Since the upgrade it just shows the last portion of the host group name:
-----|-----------------------------------------|------------------|-------------------|-----------------|------------------
ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC
-----|-----------------------------------------|------------------|-------------------|-----------------|------------------
1075 | dhcptest.phx.aexp.com | RHEL Server 6.8 | Unassigned | xx.xx.xxx.118 | 00:50:56:xx:xx:xx