Project

General

Profile

Actions

Bug #13966

closed

Host creation error: ApipieBindings::InvalidArgumentTypesError: host[interfaces_attributes][0] - Hash was expected

Added by Alexandre Barth about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

hammer -u admin -p changeme host create --build false --enabled false --hostgroup ESXi-Prod --model 'IBM 3650 M4' --interface='primary=true,provision=true,ip=192.168.0.1,mac=34:40:b5:9f:fe:64' --parameters ipvmotion1=192.168.0.2,ipvmotion2=192.168.0.3,ipft=192.168.0.4 --name esxi1
Could not create the host:
Error: ApipieBindings::InvalidArgumentTypesError: host[interfaces_attributes][0] - Hash was expected

This command used to work in Foreman 1.10 and previsous releases.


Related issues 2 (0 open2 closed)

Related to Hammer CLI - Bug #14312: hammer-cli-foreman-0.6.1 misses dependency on apipie-bindings >=0.0.16ClosedTomáš Strachota03/22/2016Actions
Has duplicate Hammer CLI - Bug #13928: Interface attributes are not parsed correctlyDuplicate02/27/2016Actions
Actions

Also available in: Atom PDF