Project

General

Profile

Actions

Bug #403

closed

Query interface does not find out classes assigned via hostgroup

Added by Bearnard Hibbins over 13 years ago. Updated over 5 years ago.

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

Description

When querying the /hosts/query interface with class=foo a 404 is returned when the class exists within a hostgroup and not directly within the host definition.

Actions #1

Updated by Ohad Levy over 13 years ago

  • Category set to 19
  • Target version set to 0.2
Actions #2

Updated by Ohad Levy about 13 years ago

  • Assignee set to Paul Kelly
  • Target version deleted (0.2)
Actions #3

Updated by Ohad Levy almost 13 years ago

  • Assignee changed from Paul Kelly to Ohad Levy

it now possible (since #719) to use the rest API to achieve the same.

for example:

http://foreman/hosts?search=class+%3D+common&format=json (or yaml)

would yield the current result.

Actions #4

Updated by Ohad Levy about 12 years ago

  • Status changed from New to Rejected
  • Assignee deleted (Ohad Levy)

as this is available via the new api / cli, the older query interface would be depreciated.

Actions #5

Updated by Tomer Brisker over 5 years ago

  • Category changed from 19 to Search
Actions

Also available in: Atom PDF