Bug #18927

API : get host by environment incorrect results

Added by Emerik NICOLE 6 months ago. Updated 13 days ago.

Status:New
Priority:Normal
Assigned To:Amit Karsale
Category:API
Target version:Team Anurag Iteration 20
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 6 months ago

  • Priority changed from High to Normal

#2 Updated by Amit Karsale 6 months ago

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

#3 Updated by Swapnil Abnave 3 months ago

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

#4 Updated by Amit Karsale 2 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 13 days ago

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

Also available in: Atom PDF