Feature #20689
closedRemote execution interface not accessible by API
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1424999
Description of problem:
The webinterface of Satellite 6.2 allows the specification of the interface used for remote exection: https://satellite.example.com/hosts/$HOSTNAME/edit#network
(Hosts / All Hosts / choose a host / Edit / Interfaces / choose an Interface / Edit)
API and Hammer lacks this feature.
Version-Release number of selected component (if applicable):
Satellite 6.2.7
How reproducible:
Always
Steps to Reproduce:
1. curl -X GET -s -k -u admin:redhat https://sat6.localdomain/api/hosts/1/interfaces | python -mjson.tool
Actual results:
{
"page": 1,
"per_page": 20,
"results": [
{
"created_at": "2016-08-19 16:06:11 UTC",
"domain_id": 1,
"domain_name": "localdomain",
"id": 1,
"identifier": "eth0",
"ip": "172.29.0.20",
"mac": "52:54:00:62:12:1c",
"managed": true,
"name": "sat62.localdomain",
"primary": true,
"provision": true,
"subnet_id": null,
"subnet_name": null,
"type": "interface",
"updated_at": "2017-02-20 10:00:11 UTC",
"virtual": false
}
],
"search": null,
"sort": {
"by": null,
"order": null
},
"subtotal": 1,
"total": 1
}
Expected results:
{
"page": 1,
"per_page": 20,
"results": [
{
"created_at": "2016-08-19 16:06:11 UTC",
"domain_id": 1,
"domain_name": "localdomain",
"id": 1,
"identifier": "eth0",
"ip": "172.29.0.20",
"mac": "52:54:00:62:12:1c",
"managed": true,
"name": "sat62.localdomain",
"primary": true,
"provision": true,
"remote_execution": true,
"subnet_id": null,
"subnet_name": null,
"type": "interface",
"updated_at": "2017-02-20 10:00:11 UTC",
"virtual": false
}
],
"search": null,
"sort": {
"by": null,
"order": null
},
"subtotal": 1,
"total": 1
}
Additional info:
The lack of hammer / API access to the remote execution interface blocks any automation / bulk update in the correction of wrongly assigned interfaces.
Updated by Adam Ruzicka over 7 years ago
- Related to Feature #20688: Remote execution interface not accessible by hammer added
Updated by Adam Ruzicka over 7 years ago
- Related to deleted (Feature #20688: Remote execution interface not accessible by hammer)
Updated by Adam Ruzicka over 7 years ago
- Blocks Feature #20688: Remote execution interface not accessible by hammer added
Updated by Ivan Necas over 7 years ago
- Has duplicate Bug #20713: REST API /api/hosts/:id/interfaces doesn't show REX attribute added
Updated by Ivan Necas over 7 years ago
- Blocked by Feature #3763: Ability for engine/plugin to extend RABL responses added
Updated by Maria Agaphontzev over 4 years ago
- Status changed from New to Closed
Applied in changeset foreman_plugin|76fc912960efb402c0642913c9cc0678eee15912.
Updated by Adam Ruzicka over 4 years ago
- Fixed in Releases foreman_remote_execution 4.1.0 added
- Fixed in Releases deleted (
)
Updated by Adam Ruzicka about 4 years ago
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/529 added
Updated by Adam Ruzicka about 4 years ago
- Has duplicate Bug #31002: Execution parameter not documented added
Updated by Adam Ruzicka about 4 years ago
- Pull request https://github.com/theforeman/hammer_cli_foreman_remote_execution/pull/35 added
- Fixed in Releases hammer_cli_foreman_remote_execution 0.2.0 added