Google Cloud Platform rundeck nodes plugin

486 views
Skip to first unread message

James Coppens

unread,
Mar 15, 2016, 12:06:00 PM3/15/16
to rundeck-discuss
Hey rundeck community, 
I developed a rundeck plugin to natively create nodes for rundeck from your google cloud platform project.  I have tested it pretty thoroughly on my own environment but I could use some feedback and testing on a pretty serious production level.  If you are interested in running the plugin to get your google cloud nodes into rundeck, the github URL is below


I'll write up the installation instructions within the readme.  Let me know what you think. 
Jimmy



Alex Honor

unread,
Mar 24, 2016, 11:19:24 AM3/24/16
to rundeck...@googlegroups.com
Hi Jimmy,

This is great. I also added it to the plugin list page.

Thanks!

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/2dee3555-2e54-4d58-8847-50f26a84882f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

Glen Yu

unread,
Jun 4, 2018, 1:05:57 PM6/4/18
to rundeck-discuss
Hi there Rundeck Community!

I've noticed that James seems to have gone MIA and hasn't replied to any issues or have maintained/updated the plugin in 2 years, so I've forked his repo and made some changes to it (as I use it at work, which is running Rundeck Pro -- while also having been tested with the latest open source version of Rundeck).


There are other features I hope to add over time as well as staying on top of maintaining it (although admittedly my Java skills are sub-par).

@James if you're around and see this and would like me to make a PR to your repo or something, please let me know.


Cheers,
GY

edu...@rundeck.com

unread,
Jun 4, 2018, 6:13:49 PM6/4/18
to rundeck-discuss
Hi Glen,

Thank you so much for the awesome contribution! We've added it to the plugin page: https://www.rundeck.com/plugins

Cheers!

Sandeep Madamanchi

unread,
Sep 1, 2019, 8:49:13 PM9/1/19
to rundeck-discuss
Hi Glen and Rundeck team

I used the plugin that glen has provisioned for GCP. I am able to identify nodes but i have no luck in running commands against the node. i get the following 

Failed: HostNotFound: side-sc-5b

Any idea?

Reiner Acuña

unread,
Sep 2, 2019, 12:00:58 PM9/2/19
to rundeck-discuss
Hi Sandeep,

Can you post the running command output on debug mode? The output can show a clue about the problem.

Regards!

SANGEETH TALLURI

unread,
Jul 15, 2020, 12:59:32 PM7/15/20
to rundeck-discuss
even though the gcp plugin installed,im not able to see the gcp nodes in the rundeck console.

i copied the service account jason file in the /etc/rundech path but no luck .any help is appreciated.

SANGEETH TALLURI

unread,
Jul 15, 2020, 12:59:34 PM7/15/20
to rundeck-discuss

hello need help to discover the gcp nodes in rundekc using the plugin .

On Monday, September 2, 2019 at 12:00:58 PM UTC-4 rac...@rundeck.com wrote:

rac...@rundeck.com

unread,
Jul 15, 2020, 1:23:38 PM7/15/20
to rundeck-discuss

Hi Sangeeth,

If you check the service.log file (usually at /var/log/rundeck/service.log path) you can see any clue? Which process are you following to install and set up the plugin?

Regards.

SANGEETH TALLURI

unread,
Jul 15, 2020, 1:49:16 PM7/15/20
to rundeck-discuss
Installation

Download from the releases page.

Put the rundeck-gcp-nodes-plugin-3.2.6-1.jar into your $RDECK_BASE/libext dir.

You must also authenticate the rundeck-gcp-nodes-plugin to your google cloud platform project.

  • Log into your Google Cloud Platform console, go to the API-Manager, then go to credentials
  • Then go to Create Credentials, Service account key. Under the service account drop down select New Service Account. Name the service account rundeck-gcp-nodes-plugin. Make sure the key type is JSON
  • IAM roles required: Project Browser & Compute Engine Compute Viewer
  • Rename the JSON file to rundeck-gcp-nodes-plugin-PROJECTID.json and place it in /etc/rundeck/ (replace PROJECTID with your GCP project id)
Requirements

You will need to add the following labels to your GCP VMs if you want more accurate/meaning full values for the OS (because unfortunately, there currently isn't that data in a standalone field/value that describes that for your VM -- just look at the output of gcloud compute instances describe):

  • environment (example value: prod)
  • osfamily (example value: linux)
  • osname (example value: rhel7)

*** No longer a requirement from v2.7.1-2 onward ***

SANGEETH TALLURI

unread,
Jul 15, 2020, 1:50:50 PM7/15/20
to rundeck-discuss
 cat service.log|grep -i gcp
log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).
log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).
log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).
log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).
/var/log/rundeck>

rac...@rundeck.com

unread,
Jul 15, 2020, 2:22:53 PM7/15/20
to rundeck-discuss
Hi Sangeeth,

Did you add GCP as a node source?

Screenshot_1.png

Greetings!

Talluri, Sangeeth

unread,
Jul 15, 2020, 2:25:11 PM7/15/20
to rundeck...@googlegroups.com

Yes

 

 

From: <rundeck...@googlegroups.com> on behalf of "rac...@rundeck.com" <rac...@rundeck.com>
Reply-To: "rundeck...@googlegroups.com" <rundeck...@googlegroups.com>
Date: Wednesday, July 15, 2020 at 2:23 PM
To: rundeck-discuss <rundeck...@googlegroups.com>
Subject: [EXTERNAL] Re: [rundeck] Google Cloud Platform rundeck nodes plugin

 

Hi Sangeeth,

 

Did you add GCP as a node source?

 

 

Greetings!

On Wednesday, July 15, 2020 at 1:50:50 PM UTC-4 sangeeth...@homedepot.com wrote:

 cat service.log|grep -i gcp

log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).

log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).

log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).

log4j:WARN No appenders could be found for logger (com.dtolabs.rundeck.plugin.resources.gcp.GCPResourceModelSource).

/var/log/rundeck>

 

 

 

 

On Wednesday, July 15, 2020 at 1:49:16 PM UTC-4 SANGEETH TALLURI wrote:

Installation

Download from the releases page [github.com].

Hi Glen,

 

Thank you so much for the awesome contribution! We've added it to the plugin page: https://www.rundeck.com/plugins [rundeck.com]

 

Cheers!

--
You received this message because you are subscribed to a topic in the Google Groups "rundeck-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rundeck-discuss/n3T1ZU0EjEc/unsubscribe [groups.google.com].
To unsubscribe from this group and all its topics, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/109d3ea1-c68e-4c74-8a9e-2bb74c90f9a8n%40googlegroups.com [groups.google.com].




The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.

rac...@rundeck.com

unread,
Jul 15, 2020, 3:09:05 PM7/15/20
to rundeck-discuss
Hi Sangeeth,

Can you try with this plugin? https://github.com/Neutrollized/rundeck-gcp-nodes-plugin

The last update of this thread plugin is from 2016.

Hope it helps!

Talluri, Sangeeth

unread,
Jul 15, 2020, 3:12:53 PM7/15/20
to rundeck...@googlegroups.com

I used the same plugin

 

 

/var/lib/rundeck/libext> ls -ltr rundeck-gcp-nodes-plugin-3.2.6-1.jar

-rw-r--r--. 1 cassuser users 5902131 Jul 15 09:10 rundeck-gcp-nodes-plugin-3.2.6-1.jar

 

 

 

 

From: <rundeck...@googlegroups.com> on behalf of "rac...@rundeck.com" <rac...@rundeck.com>
Reply-To: "rundeck...@googlegroups.com" <rundeck...@googlegroups.com>
Date: Wednesday, July 15, 2020 at 3:09 PM
To: rundeck-discuss <rundeck...@googlegroups.com>
Subject: [EXTERNAL] Re: [rundeck] Google Cloud Platform rundeck nodes plugin

 

Hi Sangeeth,


Can you try with this plugin? https://github.com/Neutrollized/rundeck-gcp-nodes-plugin

The last update of this thread plugin is from 2016.

Hope it helps!

On Wednesday, July 15, 2020 at 2:25:11 PM UTC-4 sangeeth...@homedepot.com wrote:

Yes

 

Image removed by sender.

 

From: <rundeck...@googlegroups.com> on behalf of "rac...@rundeck.com" <rac...@rundeck.com>
Reply-To: "rundeck...@googlegroups.com" <rundeck...@googlegroups.com>
Date: Wednesday, July 15, 2020 at 2:23 PM
To: rundeck-discuss <rundeck...@googlegroups.com>
Subject: [EXTERNAL] Re: [rundeck] Google Cloud Platform rundeck nodes plugin

 

Hi Sangeeth,

 

Did you add GCP as a node source?

 

Image removed by sender.

 

Greetings!

SANGEETH TALLURI

unread,
Jul 16, 2020, 3:09:40 PM7/16/20
to rundeck-discuss
would you some give me some pointers to fix the issue

rac...@rundeck.com

unread,
Jul 16, 2020, 3:51:40 PM7/16/20
to rundeck-discuss
Hi Sangeeth,

Maybe the best approach is to contact the plugin's author (https://github.com/Neutrollized/rundeck-gcp-nodes-plugin), maybe you're facing a bug on the plugin.

Alternatively, you can create your own workflow based on Google API (https://cloud.google.com/apis) (eg. on Python like this video: https://youtu.be/0MziVoxvYko)

Greetings.
Reply all
Reply to author
Forward
0 new messages