Hide Forgot
Description of problem: # hammer --username admin --password changeme discovery list /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT ---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|-------------------- ID | NAME | MAC | LAST REPORT | CPUS | MEMORY | DISK COUNT | DISKS SIZE | SUBNET | LAST REPORT ---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|-------------------- 2 | mac525400e0e8ab | 52:54:00:e0:e8:ab | 2015/03/13 03:58:44 | 1 | 995 | 1 | 8192 | libvirt | 2015/03/13 03:58:44 ---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|-------------------- Here subnet column displays 'libvirt', it should show actual subnet too like in UI: libvirt (192.168.100.0/24) Version-Release number of selected component (if applicable): sat6.1 beta snap6 compose2 Satellite-6.1.0-RHEL-6-20150311.1/ How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Missing subnet in discovery list cmd. Expected results: Subnet column displays 'libvirt', it should show actual subnet too like in UI: libvirt (192.168.100.0/24) Additional info:
same issue with info command: [root@dhcp201-163 boot]# hammer --username admin --password changeme discovery info --id 2 /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT ID: 2 Name: mac525400e0e8ab MAC: 52:54:00:e0:e8:ab Last report: 2015/03/13 03:58:44 CPUs: 1 Memory: 995 Disk count: 1 Disks size: 8192 Subnet: libvirt Last Report: 2015/03/13 03:58:44 IP: 192.168.100.11 Model: Organization: Default Organization Location: Default Location
Created attachment 1001360 [details] on UI subnet field shows subnet name along with actual subnet(192.168.100.0/24)
Created redmine issue http://projects.theforeman.org/issues/10193 from this bug
Upstream bug component is Discovery Plugin
Upstream bug assigned to orabin
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/10193 has been resolved.
The fix to this bug will be delivered with release 6.3 of Satellite.