Project

General

Profile

Actions

Bug #29493

closed

Can't search Hosts/Hostgroup by Parameter

Added by Lars Wagner about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If I try to search a host or hostgroup by a paramter like:

has params.myparameter

This gives me in the hosts section the following error:

undefined method `table_name' for nil:NilClass

and in the host group search the following error:

Invalid search query: Field 'params.myparam' not recognized for searching!

We are running foreman version 1.24.2.

If you need any further information, just let me know.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #29683: Unable to search by value of certain Hostgroup parameterClosedKavita GaikwadActions
Actions #1

Updated by Lars Wagner about 4 years ago

  • Related to Bug #29683: Unable to search by value of certain Hostgroup parameter added
Actions #2

Updated by Lars Wagner about 3 years ago

The error is still the same on the latest foreman release 2.3.3. Might somebody be able to have a look into it? The problem is the same for the host and hostgroup search:

undefined method `table_name' for nil:NilClass

Actions #3

Updated by Lars Wagner about 3 years ago

  • Category set to Host groups
Actions #4

Updated by Lars Wagner about 3 years ago

  • Status changed from New to Resolved

Parameters can be search liked that:

params.myparam != ""

Actions

Also available in: Atom PDF