stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: What will happen if autoIpAssign property is set to true in cartridge definition?
Date Wed, 19 Nov 2014 09:54:52 GMT
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


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/

Mime
View raw message