stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: What will happen if autoIpAssign property is set to true in cartridge definition?
Date Wed, 19 Nov 2014 10:18:49 GMT
Yeah, I typed the wrong name here, but I am using the correct name in
cartridge definition. Sorry for the typo in $Subject.

Thanks.

On Wed, Nov 19, 2014 at 3:46 PM, Nirmal Fernando <nirmal070125@gmail.com>
wrote:

> Raj, the property name should be 'autoAssignIp'
>
> On Wed, Nov 19, 2014 at 11:14 AM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
> wrote:
>
>> Hi Nirmal,
>>
>> On Wed, Nov 19, 2014 at 3:24 PM, Nirmal Fernando <nirmal070125@gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Nov 19, 2014 at 10:47 AM, Rajkumar Rajaratnam <
>>> rajkumarr@wso2.com> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Documentations[1] says if set autoIpAssign=true, public IP will be
>>>> assigned automatically. So it will be automatically assigned by stratos?
>>>>
>>>
>>> Yes.
>>>
>>>> My instances are not getting any public IPs.
>>>>
>>>
>>> Can you send the wso2carbon.log?
>>>
>>>> I went through the code base, and I guess we are not doing anything if
>>>> autoIpAssign=true.
>>>>
>>>
>>> If auto-assign ip is set to true, we have to do a blocking call to IaaS:
>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/AWSEC2Iaas.java#L135
>>>
>>>
>>
>> Yes seems we are doing something for ec2. I was testing on openstack.
>> Seems we are not doing this for openstack?
>>
>> Thanks.
>>
>>>
>>> And obviously, we do not need to do anything on assigning IPs.
>>>
>>>>
>>>> So my understanding is that if autoIpAssign=true, instance will not get
>>>> any public IP right?
>>>>
>>>> Is that the expected behavior? Or are we missing something here?
>>>>
>>>> Great if you can share some information on this.
>>>>
>>>> 1.
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Sample+Cartridge+Definition#id-4.1.0SampleCartridgeDefinition-IaaSproviderproperties
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Committer & PMC Member, Apache Stratos
>>>> Software Engineer, WSO2
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mime
View raw message