Project

General

Profile

Actions

Bug #10193

closed

hammer discovery list command should show the correct subnet value

Added by Bryan Kearney about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1201731
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:

Actions #1

Updated by Lukas Zapletal almost 9 years ago

  • Category set to Hammer CLI
Actions #2

Updated by Lukas Zapletal over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Ori Rabin over 7 years ago

  • Category changed from Hammer CLI to Discovery plugin
  • Status changed from New to Assigned
  • Assignee set to Ori Rabin

The api needs to change subnet_name to include the network.

Actions #4

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/319 added
Actions #5

Updated by Ori Rabin over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF