Bug #18927

API : get host by environment incorrect results

Added by Emerik NICOLE 8 months ago. Updated 29 days ago.

Assigned To:Amit Karsale
Target version:Team Anurag backlog
Difficulty: Bugzilla link:
Found in release:1.14.1 Pull request:
Story points-
Velocity based estimate-


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


#1 Updated by Marek Hulán 8 months ago

  • Priority changed from High to Normal

#2 Updated by Amit Karsale 8 months ago

  • Assigned To set to Amit Karsale
  • Target version set to Team Anurag Iteration 12

#3 Updated by Swapnil Abnave 5 months ago

  • Target version changed from Team Anurag Iteration 12 to Team Anurag Iteration 18

#4 Updated by Amit Karsale 4 months 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.

#5 Updated by Amit Karsale 2 months ago

  • Target version changed from Team Anurag Iteration 18 to Team Anurag Iteration 20

#6 Updated by Kavita Gaikwad 29 days ago

  • Target version changed from Team Anurag Iteration 20 to Team Anurag backlog

#7 Updated by Emerik NICOLE 29 days 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

Also available in: Atom PDF