Select resource pool for vmware

We are provisioning vms on vmware. We now would like to be able to create
the vms under certain resource pools to have some control over the
resources allocated to all the vms. I couldn't find any option in the
compute resources nor compute profile in foeman gui nor any key that may be
supported by the foreman rest api.

There is an open pull request solving that [1]
Would love if you could test :slight_smile:

[1] https://github.com/theforeman/foreman/pull/2745

··· On Saturday, October 17, 2015 at 8:10:22 PM UTC+3, ghidu wrote: > > We are provisioning vms on vmware. We now would like to be able to create > the vms under certain resource pools to have some control over the > resources allocated to all the vms. I couldn't find any option in the > compute resources nor compute profile in foeman gui nor any key that may be > supported by the foreman rest api. >

Thanks Shlomi. Will this change allow selecting the resource pool using
REST POST (host create)?

··· On Saturday, October 17, 2015 at 8:34:27 PM UTC+3, Shlomi Zadok wrote: > > There is an open pull request solving that [1] > Would love if you could test :) > > [1] https://github.com/theforeman/foreman/pull/2745 > > On Saturday, October 17, 2015 at 8:10:22 PM UTC+3, ghidu wrote: >> >> We are provisioning vms on vmware. We now would like to be able to create >> the vms under certain resource pools to have some control over the >> resources allocated to all the vms. I couldn't find any option in the >> compute resources nor compute profile in foeman gui nor any key that may be >> supported by the foreman rest api. >> >

Supposed to if resource_pool is passed as an argument in vm_attrs [1]

··· 2015-10-18 14:39 GMT+03:00 ghidu :

Thanks Shlomi. Will this change allow selecting the resource pool using
REST POST (host create)?

On Saturday, October 17, 2015 at 8:34:27 PM UTC+3, Shlomi Zadok wrote:

There is an open pull request solving that [1]
Would love if you could test :slight_smile:

[1] https://github.com/theforeman/foreman/pull/2745

On Saturday, October 17, 2015 at 8:10:22 PM UTC+3, ghidu wrote:

We are provisioning vms on vmware. We now would like to be able to
create the vms under certain resource pools to have some control over the
resources allocated to all the vms. I couldn’t find any option in the
compute resources nor compute profile in foeman gui nor any key that may be
supported by the foreman rest api.


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

Hi Shlomi,
I would like to test this code, but to tell you the truth I haven't been
involved so far in the installation/upgrade of foreman. Do you recommend to
just make the changes directly to foreman code?
Thanks

··· On Sunday, October 18, 2015 at 3:16:00 PM UTC+3, Shlomi Zadok wrote: > > Supposed to if resource_pool is passed as an argument in vm_attrs [1] > > > https://github.com/shlomizadok/foreman/blob/fix_10889/app/models/compute_resources/foreman/model/vmware.rb#L368 > > 2015-10-18 14:39 GMT+03:00 ghidu <agh...@gmail.com >: > >> Thanks Shlomi. Will this change allow selecting the resource pool using >> REST POST (host create)? >> >> >> On Saturday, October 17, 2015 at 8:34:27 PM UTC+3, Shlomi Zadok wrote: >>> >>> There is an open pull request solving that [1] >>> Would love if you could test :) >>> >>> [1] https://github.com/theforeman/foreman/pull/2745 >>> >>> On Saturday, October 17, 2015 at 8:10:22 PM UTC+3, ghidu wrote: >>>> >>>> We are provisioning vms on vmware. We now would like to be able to >>>> create the vms under certain resource pools to have some control over the >>>> resources allocated to all the vms. I couldn't find any option in the >>>> compute resources nor compute profile in foeman gui nor any key that may be >>>> supported by the foreman rest api. >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. >