Project

General

Profile

Actions

Bug #5848

closed

Can't search for host with class inherited from config group

Added by Elodie B over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I updated the foreman to 1.5 and I am making some tests with configs group.

Add a config group to a host or hostgroup is working, but
1/ I am unable to list hosts where puppet classes are inherited from config group.
2/ I am unable to list hosts where puppet classes are inherited from a config group included in the host group.

Let's say, I have a host named "myserv" with:
- a class (rule100) added for this host
- a class (rule1) inherited from hostgroup
- a class (rule80) inherited from a config group which was added only for this host.
- a class (rule21) inherited from a config group which was added in the host group.

If I go to foreman web interface > hosts -> all hosts. Then if I want to filter by class typing :
"class=rule100" on the filter field, I can find my host. The same with a class (rule1) inherited from group.
- class=rule21, I can't find my host (class inherited from a config group which was added in the host group). The same with class=rule80 (class inherited from a config group which was added only for this host).

I am using admin account to be sure I have full rights. Using debug mode, I can see that there is no SQL request looking on config_group_classes and config_group tables while I am doing my research.

Regards,

Elodie


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7035: Unable to filter on classes (v1.5.2)ClosedDominic Cleal08/12/2014Actions
Has duplicate Foreman - Bug #6209: search for puppet class has no result when in config groupDuplicate06/13/2014Actions
Actions

Also available in: Atom PDF