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
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/527 added
Updated by The Foreman Bot about 4 years ago
- Pull request https://github.com/theforeman/hammer_cli_foreman_remote_execution/pull/33 added
Updated by Anonymous about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|e1c5d282fdb8369fcadf789b0c2a8cf8585f11ee.
Updated by Adam Ruzicka about 4 years ago
- Subject changed from Remote Execution Capsules are not listed when querying the subnet using API and hammer. to Remote Execution Capsules are not listed when querying the subnet using API and hammer.
- Fixed in Releases foreman_remote_execution 4.1.0 added
- Fixed in Releases deleted (
)
Updated by The Foreman Bot about 4 years ago
- Fixed in Releases hammer_cli_foreman_remote_execution 0.1.2 added
Updated by Evgeni Golov about 4 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Updated by Adam Ruzicka about 4 years ago
- Has duplicate Bug #19086: option to add remote execution proxy to a subnet is not shown in apidoc added
Updated by Adam Ruzicka almost 4 years ago
- Fixed in Releases hammer_cli_foreman_remote_execution 0.2.0 added
- Fixed in Releases deleted (
hammer_cli_foreman_remote_execution 0.1.2)