Actions
Bug #27868
closedNo way to provide type for hosts parameters in Foreman >= 1.23
Difficulty:
Triaged:
Yes
Pull request:
Team Backlog:
Hammer
Fixed in Releases:
Found in Releases:
In Kanboard:
Description
Attempt to create or update host with parameters fail with
"Could not create the host:
Missing arguments for 'host[host_parameters_attributes]0[parameter_type]'
The reason is in Foreman 1.23 the API changed and parameter_type was added and is required.
Possible fixes:
- consider making the type optional with reasonable default in API. It should unblock the error and save us from incompatible changes in API
- add the default type on Hammer side and deprecate the --parameters option. Add new --typed-parameters that support also the new attributes
Updated by Oleh Fedorenko over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|3288835a106e0a469754c8b59d72c3e31af8c366.
Actions