Re: [foreman-dev] API usage - getting Hosts in Hostgroup

2017-08-16 Thread Tomas Strachota
The search parameter can be used also in the api: https://theforeman.org/api/1.15/index.html The request will be something like: https://foreman.mydomain.com/api/v2/hosts?search="hostgroup_id=1"; T. On Wed, Aug 16, 2017 at 1:05 PM, Roy Burstein wrote: > Hi Thomas , > > Thanks for your respons

Re: [foreman-dev] API usage - getting Hosts in Hostgroup

2017-08-16 Thread Roy Burstein
Hi Thomas , Thanks for your response , any workaround for the rest api interface? Thanks , Roy On Wednesday, August 16, 2017 at 11:10:25 AM UTC+3, Tomas Strachota wrote: > > Hello, > this is a known bug: > http://projects.theforeman.org/issues/20204 > > As a workaround you can use the sear

Re: [foreman-dev] Foreman provision

2017-08-16 Thread Lukas Zapletal
Please do not send emails twice, I already replied you in the original one. LZ On Sat, Aug 12, 2017 at 6:32 PM, Phani Kumar wrote: > Hi Team > > I am new to Foreman > > Clearly understood the reporting and Configuration. > But not clear on provisioning and I need help or link to documentation.

Re: [foreman-dev] API usage - getting Hosts in Hostgroup

2017-08-16 Thread Tomas Strachota
Hello, this is a known bug: http://projects.theforeman.org/issues/20204 As a workaround you can use the search parameter to filter hosts by hostgroups: "hostgroup = " or "hostgroup_id = " T. On Tue, Aug 15, 2017 at 5:24 PM, roy.b via foreman-dev wrote: > Hi all , > > I am new here and hope it'

Re: [foreman-dev] Foreman provision

2017-08-16 Thread Ondrej Prazak
Hi, If you try to provision VMs on Oracle Virtual Machine, there is an unofficial plugin [1] that adds OVM as a compute resource. Unfortunately, it seems that it is broken at the moment. Foreman is able to create a VM in a compute resource, but the individual compute resources slightly vary in what