Project

General

Profile

Actions

Bug #30651

closed

Remote Execution Capsules are not listed when querying the subnet using API and hammer.

Added by Adam Ruzicka about 4 years ago. Updated almost 4 years ago.


Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1868901

Description of problem:
Remote Execution Capsules are not listed when querying the subnet using API and hammer.

Version-Release number of selected component (if applicable):

Steps to Reproduce:

Uses either the following hammer command or API

  1. hammer subnet info --id 1
  2. curl -v -k -u "myusername:mypass" https://mysatellite.example.com/api/subnets/1 | python -m json.tool

Example API output: {
...
"dns_secondary": "",
"domains": [ {
"id": 2,
"name": "example.com"
}
],
"from": "",
"gateway": "xxx.xxx.xxx.xxx",
"httpboot": {
"id": 1,
"name": "mysatellite.example.com",
"url": "https://mysatellite.example.com:9090"
},
"httpboot_id": 1,
"httpboot_name": "mysatellite.example.com",
"id": 1,
"interfaces": [
...
],
"ipam": "None",
"locations": [ {
"description": "",
"id": 2,
"name": "somewhere",
"title": "somewhere"
},
],
...
"organizations": [ {
"description": "",
"id": 1,
"name": "redhat",
"title": "redhat"
},
],
"parameters": [],
"priority": null,
"template": {
"id": 1,
"name": "mysatellite.example.com",
"url": "https://mysatellite.example.com:9090"
},
"template_id": 1,
"template_name": "mysatellite.example.com",
"tftp": {
"id": 1,
"name": "mysatellite.example.com",
"url": "mysatellite.example.com:9090"
},
"tftp_id": 1,
"tftp_name": "mysatellite.example.com",
...
}

Actual results:
Missing Remote execution Capsules

Expected results:
Remote execution Capsules should be listed


Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

Actions
Has duplicate Foreman Remote Execution - Bug #19086: option to add remote execution proxy to a subnet is not shown in apidocDuplicateActions
Actions

Also available in: Atom PDF