Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: jclouds-plugin
-
Environment:Jenkins 2.19.4
jclouds-jenkins 2.11
Ubuntu 14.04
OpenStack Liberty
-
Similar Issues:
Description
We need to create multiple networks for slave runners since one network is used for logins and backend access, with the other being the default gateway for outbound Internet access (to pull down packages, etc.). While JClouds supports multiple networks, I do not see any place to define which network to use as the SSH host. Seems like about 75% of the time, it tries to use the wrong network for this.
Ok, I have something to test for you:
https://jenkins.ci.cloudbees.com/job/plugins/job/jclouds-plugin/org.jenkins-ci.plugins$jclouds-jenkins/lastSuccessfulBuild/artifact/org.jenkins-ci.plugins/jclouds-jenkins/2.12-SNAPSHOT/jclouds-jenkins-2.12-SNAPSHOT.hpi
This adds a new Textfield "Preferred Address" in the Advanced Settings of the template. There you can enter an address/prefix and that should then match one of the node's IP-Addresses.
Please report back if that fits your needs (or with any further suggestions). If everything is ok for you, I then will release v 2.12 with that change.
Cheers
-Fritz
Edit: URL changed to latest artifact.