Project

General

Custom queries

Profile

Actions

Bug #18927

closed

API : get host by environment incorrect results

Added by Emerik NICOLE about 8 years ago. Updated about 4 years ago.

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

Description

Request API to list node by environment give incorrect results.

All nodes are listed for all environments.

Found in version 1.7.1 too.

Requested url : https://foremanserver/api/v2/environments/1/hosts
not list only nodes from production environment

Actions #4

Updated by Amit Karsale almost 8 years ago

Emerik are you using foreman version 1.7 or 1.14. I am having foreman version 1.14 and I cant reproduce the issue. Kindly confirm please.

Actions #7

Updated by Emerik NICOLE over 7 years ago

I'm using foreman 1.14.1 effectivly i cant reproduce this issue now. did i need some glasses ? may be.

I think this can be closed

Actions #9

Updated by Leos Stejskal about 4 years ago

  • Status changed from New to Closed

I'm closing the issue,
It has been here for some time and I wasn't able to reproduce it on the latest version.
If you think that the issue is still relevant feel free to reopen it.

Actions

Also available in: Atom PDF