Bug #30651
closedRemote Execution Capsules are not listed when querying the subnet using API and hammer.
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
- hammer subnet info --id 1
- 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