You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Tamás Kende <ol...@gmail.com> on 2014/06/13 14:50:32 UTC
do not use elastic ip with openstack
Hi all,
I use the jenkins plugin with openstack but all my debugging led to the
jclouds project, thats why I am asking my question here.
My issue is the following: I do not want to use floating ips. but it seems
to me it is set to true always, and there is no chance to disable it.
The autoAllocateElasticIps in the
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is true,
I guess
because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#defaultProperties
sets it to true... am I right? How can i set it to false?
Thanks for your help
Cheers
Tamas
Re: do not use elastic ip with openstack
Posted by Tamás Kende <ol...@gmail.com>.
Hi Everett,
thanks for your response, that is unchecked, sorry I forget to mention
that. But the config value is not used at the proper state it seems to me.
On Fri, Jun 13, 2014 at 3:49 PM, Everett Toews <ev...@rackspace.com>
wrote:
> This this:
>
> Manage Jenkins > Configure System
> Cloud section
> Cloud Instance Templates section
> Advanced
> OpenStack Options section
> Assign Floating IP unchecked
>
> HTH,
> Everett
>
>
> On Jun 13, 2014, at 8:24 AM, Tamás Kende <ol...@gmail.com> wrote:
>
> Hi Andrew!
>
> Thank you for your quick reply, then it seems the issue is in the plugin
> side. It has a field for that but probably not set correctly, or in the
> correct place / with the correct name etc...
>
> Cheers
>
> Tamas
>
>
> On Fri, Jun 13, 2014 at 2:54 PM, Andrew Phillips <an...@apache.org>
> wrote:
>
>> Hi Tamas
>>
>>
>> The autoAllocateElasticIps in the
>>> org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is
>>> true,
>>> I guess
>>> because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#
>>> defaultProperties
>>> sets it to true... am I right? How can i set it to false?
>>>
>>
>> You should be able to override any of the properties set by default by
>> passing your own set of overrides when creating the jclouds context (see
>> e.g. [1]).
>>
>> I'm not sure if you can do that from the Jenkins plugin, though...
>>
>> ap
>>
>> [1] https://github.com/jclouds/jclouds-examples/blob/master/
>> google/src/main/java/org/jclouds/examples/google/
>> computeengine/CreateServer.java#L82
>>
>
>
>
Re: do not use elastic ip with openstack
Posted by Everett Toews <ev...@RACKSPACE.COM>.
This this:
Manage Jenkins > Configure System
Cloud section
Cloud Instance Templates section
Advanced
OpenStack Options section
Assign Floating IP unchecked
HTH,
Everett
On Jun 13, 2014, at 8:24 AM, Tamás Kende <ol...@gmail.com>> wrote:
Hi Andrew!
Thank you for your quick reply, then it seems the issue is in the plugin side. It has a field for that but probably not set correctly, or in the correct place / with the correct name etc...
Cheers
Tamas
On Fri, Jun 13, 2014 at 2:54 PM, Andrew Phillips <an...@apache.org>> wrote:
Hi Tamas
The autoAllocateElasticIps in the
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is true,
I guess
because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#defaultProperties
sets it to true... am I right? How can i set it to false?
You should be able to override any of the properties set by default by passing your own set of overrides when creating the jclouds context (see e.g. [1]).
I'm not sure if you can do that from the Jenkins plugin, though...
ap
[1] https://github.com/jclouds/jclouds-examples/blob/master/google/src/main/java/org/jclouds/examples/google/computeengine/CreateServer.java#L82
Re: do not use elastic ip with openstack
Posted by Tamás Kende <ol...@gmail.com>.
Hi Andrew!
Thank you for your quick reply, then it seems the issue is in the plugin
side. It has a field for that but probably not set correctly, or in the
correct place / with the correct name etc...
Cheers
Tamas
On Fri, Jun 13, 2014 at 2:54 PM, Andrew Phillips <an...@apache.org> wrote:
> Hi Tamas
>
>
> The autoAllocateElasticIps in the
>> org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is
>> true,
>> I guess
>> because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#
>> defaultProperties
>> sets it to true... am I right? How can i set it to false?
>>
>
> You should be able to override any of the properties set by default by
> passing your own set of overrides when creating the jclouds context (see
> e.g. [1]).
>
> I'm not sure if you can do that from the Jenkins plugin, though...
>
> ap
>
> [1] https://github.com/jclouds/jclouds-examples/blob/master/
> google/src/main/java/org/jclouds/examples/google/
> computeengine/CreateServer.java#L82
>
Re: do not use elastic ip with openstack
Posted by Andrew Phillips <an...@apache.org>.
Hi Tamas
> The autoAllocateElasticIps in the
> org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is true,
> I guess
> because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#defaultProperties
> sets it to true... am I right? How can i set it to false?
You should be able to override any of the properties set by default by
passing your own set of overrides when creating the jclouds context
(see e.g. [1]).
I'm not sure if you can do that from the Jenkins plugin, though...
ap
[1]
https://github.com/jclouds/jclouds-examples/blob/master/google/src/main/java/org/jclouds/examples/google/computeengine/CreateServer.java#L82