Bug #18927

API : get host by environment incorrect results

Added by Emerik NICOLE 4 months ago. Updated about 9 hours ago.

Status:New
Priority:Normal
Assigned To:Amit Karsale
Category:API
Target version:Team Anurag Iteration 17
Difficulty: Bugzilla link:
Found in release:1.14.1 Pull request:
Story points-
Velocity based estimate-

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

History

#1 Updated by Marek Hulán 4 months ago

  • Priority changed from High to Normal

#2 Updated by Amit Karsale 3 months ago

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

#3 Updated by Swapnil Abnave about 1 month ago

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

#4 Updated by Amit Karsale about 9 hours 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.

Also available in: Atom PDF