Project

General

Profile

Actions

Bug #28104

closed

Cannot create SubnetParameter through API "unknown attribute 'organization_id' for SubnetParameter"

Added by Mattis Haase over 4 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman Version: 1.23
Ruby Version: 2.3.3

Description:

Creating a subnet parameter via API results in error "unknown attribute 'organization_id' for SubnetParameter".

How to reproduce:

1. create a subnet
2. issue the following post request:
https://<foreman>/api/v2/subnets/<id>/parameters
payload: {
"parameter": {
"name": "my_param",
"value": "my_value",
"parameter_type": "string"
}
}

Same happens if "organization_id": "" is added to payload.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #27740: Cannot set parameter for hostgroupClosedTomer BriskerActions
Actions #1

Updated by Tomer Brisker over 4 years ago

  • Is duplicate of Bug #27740: Cannot set parameter for hostgroup added
Actions #2

Updated by Tomer Brisker over 4 years ago

  • Status changed from New to Duplicate

Thanks for reporting! this should be fixed by the same fix as 27740.

Actions

Also available in: Atom PDF