[JIRA] (JENKINS-62199) Google always assign Public IP

23 views
Skip to first unread message

jonathan.endy@gmail.com (JIRA)

unread,
May 7, 2020, 4:41:02 AM5/7/20
to jenkinsc...@googlegroups.com
Jonathan E created an issue
 
Jenkins / Bug JENKINS-62199
Google always assign Public IP
Issue Type: Bug Bug
Assignee: Fritz Elfert
Components: jclouds-plugin
Created: 2020-05-07 08:40
Labels: plugin jclouds gcp google
Priority: Critical Critical
Reporter: Jonathan E

GoogleComputeEngineTemplateOptions.assignExternalIp defualt is true.
Disable "Assign Public IP" in the UI does not remove the option

My suggestion add to the code in JCloudsSlaveTemplate.java line 544

options.as(GoogleComputeEngineTemplateOptions.class).assignExternalIp(assignPublicIp);

if (options instanceof GoogleComputeEngineTemplateOptions) {
{{ // Always use our own credentials and let creation fail}}
{{ // if no keys are provided.}}
{{ options.as(GoogleComputeEngineTemplateOptions.class).autoCreateKeyPair(false);}}
{{ options.as(GoogleComputeEngineTemplateOptions.class).preemptible(isPreemptible);}}
{{ options.as(GoogleComputeEngineTemplateOptions.class).assignExternalIp(assignPublicIp);}}
}

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

fritz@fritz-elfert.de (JIRA)

unread,
May 7, 2020, 3:29:04 PM5/7/20
to jenkinsc...@googlegroups.com
Fritz Elfert started work on Bug JENKINS-62199
 
Change By: Fritz Elfert
Status: Open In Progress

fritz@fritz-elfert.de (JIRA)

unread,
May 7, 2020, 5:45:02 PM5/7/20
to jenkinsc...@googlegroups.com

fritz@fritz-elfert.de (JIRA)

unread,
May 7, 2020, 5:45:03 PM5/7/20
to jenkinsc...@googlegroups.com

Committed to master. Please try this build and report back if this solves the issue.

fritz@fritz-elfert.de (JIRA)

unread,
May 7, 2020, 5:46:02 PM5/7/20
to jenkinsc...@googlegroups.com
Fritz Elfert edited a comment on Bug JENKINS-62199
Committed to master. Please try {color:#de350b} *[this|https://ci.jenkins.io/job/Plugins/job/jclouds-plugin/job/master/lastSuccessfulBuild/artifact/jclouds-plugin/target/jclouds-jenkins.hpi]* {color} build and report back if this solves the issue.

jonathan.endy@gmail.com (JIRA)

unread,
May 8, 2020, 11:19:02 AM5/8/20
to jenkinsc...@googlegroups.com

jonathan.endy@gmail.com (JIRA)

unread,
May 8, 2020, 11:27:02 AM5/8/20
to jenkinsc...@googlegroups.com

We are going to use widely this plugin with the cloud feature.
Is there a forum or any place I discuss it with others? limitation, bugs, etc. 

fritz@fritz-elfert.de (JIRA)

unread,
May 8, 2020, 12:06:02 PM5/8/20
to jenkinsc...@googlegroups.com

There is a generic mailing-list for users of jenkins. See: https://www.jenkins.io/mailing-lists/

fritz@fritz-elfert.de (JIRA)

unread,
May 8, 2020, 12:11:02 PM5/8/20
to jenkinsc...@googlegroups.com
Fritz Elfert stopped work on Bug JENKINS-62199
 
Change By: Fritz Elfert
Status: In Progress Open

fritz@fritz-elfert.de (JIRA)

unread,
May 9, 2020, 3:45:02 AM5/9/20
to jenkinsc...@googlegroups.com
Fritz Elfert resolved as Fixed
 

Fixed in v1.20

Change By: Fritz Elfert
Status: Open Resolved
Resolution: Fixed

fritz@fritz-elfert.de (JIRA)

unread,
May 9, 2020, 3:46:02 AM5/9/20
to jenkinsc...@googlegroups.com
Fritz Elfert closed an issue as Fixed
Change By: Fritz Elfert
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages