Actions
Bug #12566
closedNew Host API changed host_parameters_attributes behavior
Description
This API call used to work:
{ "host": { "name": "test", "mac": "AA:BB:CC:DD:EE:F1", "organization_id": 3, "location_id": 2, "hostgroup_id": 7, "host_parameters_attributes": [ { "name": "compute_resource_id", "value": "1", "_destroy": "false", "nested": "false" } ] } }
Now it fails with ActiveRecord::UnknownAttributeError: unknown attribute: nested. Regression, looks like some nesting changes broke this, since oVirt uses this API (via discovery), we should consider a portability fix.
Actions