Enable GCE as a Compute Resource in Foreman 1.4

I've installed foreman 1.4 and got a few puppet agents to register with its
puppet master.

I'd like to enable the option mentioned in the release notes to use google
compute engine as a compute resource but I can't find details in the manual
about how I enable it or how I register a GCE project with foreman.

Can anyone point me in the right direction?

Michael

Hello,

what you need to do is to install foreman-gce plugin and restart Apache.
Then go to About dialog and check if GCE plugin is enabled. Then go to
Compute Resources and register your GCE CR and you are ready to roll.

LZ

··· On Mon, Feb 17, 2014 at 08:08:16AM -0800, michael.obrien@ul.ie wrote: > I've installed foreman 1.4 and got a few puppet agents to register with its > puppet master. > > I'd like to enable the option mentioned in the release notes to use google > compute engine as a compute resource but I can't find details in the manual > about how I enable it or how I register a GCE project with foreman. > > Can anyone point me in the right direction? > > Michael > > -- > 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/groups/opt_out.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

Hi LZ,

I checked "About" and have vmware, openstack, rackspace and gce installed as "Available Providers" but nothing under "Plugins".

Do I need to include foreman-plugins as well?

I have "foreman-gce" and "foreman compute resource support via fog" already installed along with the foreman server

On the GCE side of the fence do I setup the Client ID as a "Service Account" or "Web Application" or does it matter?

[cid:image001.png@01CF2CAD.86AD6A70]

··· -----Original Message----- From: foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] On Behalf Of Lukas Zapletal Sent: 18 February 2014 11:54 To: foreman-users@googlegroups.com Subject: Re: [foreman-users] Enable GCE as a Compute Resource in Foreman 1.4

Hello,

what you need to do is to install foreman-gce plugin and restart Apache.

Then go to About dialog and check if GCE plugin is enabled. Then go to Compute Resources and register your GCE CR and you are ready to roll.

LZ

On Mon, Feb 17, 2014 at 08:08:16AM -0800, michael.obrien@ul.iemailto:michael.obrien@ul.ie wrote:

I’ve installed foreman 1.4 and got a few puppet agents to register

with its puppet master.

I’d like to enable the option mentioned in the release notes to use

google compute engine as a compute resource but I can’t find details

in the manual about how I enable it or how I register a GCE project with foreman.

Can anyone point me in the right direction?

Michael

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.commailto:foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.commailto:foreman-users@googlegroups.com.

Visit this group at http://groups.google.com/group/foreman-users.

For more options, visit https://groups.google.com/groups/opt_out.

Later,

Lukas “lzap” Zapletal

irc: lzap #theforeman

You received this message because you are subscribed to a topic in the Google Groups “Foreman users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-users/O0j-SuUM5KM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to foreman-users+unsubscribe@googlegroups.commailto:foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.commailto:foreman-users@googlegroups.com.

Visit this group at http://groups.google.com/group/foreman-users.

For more options, visit https://groups.google.com/groups/opt_out.

Hey,

> Do I need to include foreman-plugins as well?

No.

> I have "foreman-gce" and "foreman compute resource support via fog" already installed along with the foreman server

Enough.

> On the GCE side of the fence do I setup the Client ID as a "Service Account" or "Web Application" or does it matter?

Create a Compute Resource. Read our manual for that.

http://theforeman.org/manuals/1.4/index.html#5.2.4GoogleComputeEngineNotes

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

When it comes to supplying the GCE passphrase "notasecret" for the p12 key do I need to remove that first or does foreman handle it because it's a known default passphrase?

The hangout Foreman Sprint Demo 15 http://www.youtube.com/watch?v=6B4F563l-E0 where Ohad sets up a new compute resource about 37minutes into the hangout he just appears to supply project-id, email address and the path to the .p12 private key on his system but was that .p12 file processed in some way after it was downloaded from GCE?

If I upload the file I get the message "Unable to save" "Invalid keyfile or passphrase"

··· -----Original Message----- From: foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] On Behalf Of Lukas Zapletal Sent: 20 February 2014 09:49 To: foreman-users@googlegroups.com Subject: Re: [foreman-users] Enable GCE as a Compute Resource in Foreman 1.4

Hey,

Do I need to include foreman-plugins as well?

No.

I have “foreman-gce” and “foreman compute resource support via fog” already installed along with the foreman server

Enough.

On the GCE side of the fence do I setup the Client ID as a “Service Account” or “Web Application” or does it matter?

Create a Compute Resource. Read our manual for that.

http://theforeman.org/manuals/1.4/index.html#5.2.4GoogleComputeEngineNotes


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman


You received this message because you are subscribed to a topic in the Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-users/O0j-SuUM5KM/unsubscribe.
To unsubscribe from this group and all its topics, 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/groups/opt_out.

I'd love to know the answer to this.

··· On Thursday, 20 February 2014 11:35:50 UTC, Michael.OBrien wrote: > > When it comes to supplying the GCE passphrase "notasecret" for the p12 key > do I need to remove that first or does foreman handle it because it's a > known default passphrase? > > The hangout Foreman Sprint Demo 15 > http://www.youtube.com/watch?v=6B4F563l-E0 where Ohad sets up a new > compute resource about 37minutes into the hangout he just appears to supply > project-id, email address and the path to the .p12 private key on his > system but was that .p12 file processed in some way after it was downloaded > from GCE? > > If I upload the file I get the message "Unable to save" "Invalid keyfile > or passphrase" > > -----Original Message----- > From: forema...@googlegroups.com [mailto: > forema...@googlegroups.com ] On Behalf Of Lukas Zapletal > Sent: 20 February 2014 09:49 > To: forema...@googlegroups.com > Subject: Re: [foreman-users] Enable GCE as a Compute Resource in Foreman > 1.4 > > Hey, > > > Do I need to include foreman-plugins as well? > > No. > > > I have "foreman-gce" and "foreman compute resource support via fog" > already installed along with the foreman server > > Enough. > > > On the GCE side of the fence do I setup the Client ID as a "Service > Account" or "Web Application" or does it matter? > > Create a Compute Resource. Read our manual for that. > > http://theforeman.org/manuals/1.4/index.html#5.2.4GoogleComputeEngineNotes > > -- > Later, > > Lukas "lzap" Zapletal > irc: lzap #theforeman > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Foreman users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/foreman-users/O0j-SuUM5KM/unsubscribe. > To unsubscribe from this group and all its topics, 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/groups/opt_out. >