Hammer and VMware Resource Pools

I haven't been able to find any information on the subject but can you pass
vmware resource pools to hammer for building hosts? Actually can you pass
the memory and cpu hot add as well for that matter?

> I haven't been able to find any information on the subject but can you pass
> vmware resource pools to hammer for building hosts? Actually can you pass
> the memory and cpu hot add as well for that matter?

Yeah, you can pass these as compute_attributes:

and the VMWare options are here

··· On 06/28, Christopher Pisano wrote:


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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

i didn't see those settings in the docs. is it just:

–compute-attributes='resourcepool=foo,memory_hotadd=true,cpu_hotadd=true'

or something similar?

··· On Wednesday, June 29, 2016 at 7:42:23 AM UTC-4, Daniel Lobato wrote: > > On 06/28, Christopher Pisano wrote: > > I haven't been able to find any information on the subject but can you > pass > > vmware resource pools to hammer for building hosts? Actually can you > pass > > the memory and cpu hot add as well for that matter? > > Yeah, you can pass these as compute_attributes: > > > https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/host_create.md#example > > and the VMWare options are here > > > https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/host_create.md#vmware > > > > > -- > > 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 https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Daniel Lobato Garcia > > @dLobatog > blog.daniellobato.me > daniellobato.me > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > Keybase: https://keybase.io/elobato >

I also cannot find any usage about vmware resourcepool. And when I try to
create vm by using CLI, the error showed:
Could not create the host:
Failed to create a compute VCenter-H12-100 (VMware) instance
johnny-host1.johnny.local: failed to create vm: undefined method
`resourcePool' for nil:NilClass

Actually, I didn't use this key "resourcePool".

foreman version: 1.12.1

Christopher Pisano於 2016年6月30日星期四 UTC+8上午4時51分20秒寫道:

··· > > i didn't see those settings in the docs. is it just: > > --compute-attributes='resourcepool=foo,memory_hotadd=true,cpu_hotadd=true' > > or something similar? > > On Wednesday, June 29, 2016 at 7:42:23 AM UTC-4, Daniel Lobato wrote: >> >> On 06/28, Christopher Pisano wrote: >> > I haven't been able to find any information on the subject but can you >> pass >> > vmware resource pools to hammer for building hosts? Actually can you >> pass >> > the memory and cpu hot add as well for that matter? >> >> Yeah, you can pass these as compute_attributes: >> >> >> https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/host_create.md#example >> >> and the VMWare options are here >> >> >> https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/host_create.md#vmware >> >> > >> > -- >> > 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 https://groups.google.com/group/foreman-users. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> Daniel Lobato Garcia >> >> @dLobatog >> blog.daniellobato.me >> daniellobato.me >> >> GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 >> Keybase: https://keybase.io/elobato >> >