Hi all , 

I am new here and hope it's OK to submit issues . 
I have created new Hostgroup in foreman and the group is empty .
 
Querying the hosts table in foreman schema :

mysql> select id from hostgroups h
    -> where h.name='myhostgroup';
+-----+
| id  |
+-----+
| 243 |
+-----+
1 row in set (0.00 sec)

mysql> select * from hosts where hostgroup_id=243;
Empty set (0.00 sec)



when trying to do the same with the API :

https://foreman.mydomain.com/api/v2/hostgroups/243/hosts

-- I got as result all the servers in foreman . 

Am I doing something wrong ? or is it a bug ? 


Thanks ,
Roy

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to