Project

General

Profile

Actions

Bug #23476

closed

CLI command with --parameters and --interface options never work

Added by Lukas Zapletal almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer CLI
Fixed in Releases:
Found in Releases:

Description

Description of problem:
The values of --parameters and --interface options for "hammer discovery provision" command never pass to the Satellite server.

hammer discovery provision --name=<my hostname> --architecture x86_64 --hostgroup <my HG> --domain <my domain> --interface "primary=true, managed=true, provision=true, mac=<MAC>, name=<NAME>, identifier=<ID>, ip=<IP>" --parameters "a=b, c=d"

production log:
[app] [I] Started PUT "/api/v2/discovered_hosts/122" for ::1 at 2018-04-29 16:15:47 +1000
[app] [I] Processing by Api::V2::DiscoveredHostsController#update as JSON
[app] [I] Parameters: {"discovered_host"=>{"name"=>"<my hostname>", "architecture_id"=>1, "domain_id"=>1, "hostgroup_id"=>2}, "apiv"=>"v2", "id"=>"122"}

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman-discovery/pull/43 added
Actions #2

Updated by Ori Rabin almost 6 years ago

  • Assignee changed from Ori Rabin to Lukas Zapletal
Actions #3

Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF