You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Kasun De Silva <ka...@wso2.com> on 2014/10/20 13:04:21 UTC

Stratos Installer does't replace the secretAlias value related to EC2 in IaasPoviders in CC

Hi All,

Following configuration noticed in cloud-controller.xml inside
apache-stratos-cc,

<iaasProvider type="ec2" name="ec2 specific details">
<className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
<provider>aws-ec2</provider>
<identity svns:secretAlias="elastic.scaler.openstack.identity
">EC2_IDENTITY</identity>
<credential svns:secretAlias="elastic.scaler.openstack.credential
">EC2_CREDENTIAL</credential>
<property name="jclouds.ec2.ami-query"
value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/>
<property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/>
<property name="securityGroups" value="EC2_SECURITY_GROUPS"/>
<property name="autoAssignIp" value="true" />
<property name="keyPair" value="EC2_KEYPAIR"/>
</iaasProvider>



 In my understanding this should be changed as following

<identity svns:secretAlias="cloud.controller.ec2.identity"
>EC2_IDENTITY</identity>
<credential svns:secretAlias="cloud.controller.ec2.credential"
>EC2_CREDENTIAL</credential>




*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kasuns@wso2.com
mobile : +94 77 794 4260

Re: Stratos Installer does't replace the secretAlias value related to EC2 in IaasPoviders in CC

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

Aliases are useful only when secure vault is used, unless no harm done.

On Mon, Oct 20, 2014 at 4:40 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Kasun,
>
> Yes, your understanding is correct. We need to fix it in Stratos
> installer. Thanks for pointing this issue.
>
> Thanks !
>
> On Mon, Oct 20, 2014 at 4:35 PM, Kasun De Silva <ka...@wso2.com> wrote:
>
>> JIRA created and please find the link below
>>
>> https://issues.apache.org/jira/browse/STRATOS-899
>>
>> Thanks,
>> Kasun
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kasuns@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Mon, Oct 20, 2014 at 4:34 PM, Kasun De Silva <ka...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> Following configuration noticed in cloud-controller.xml inside
>>> apache-stratos-cc,
>>>
>>> <iaasProvider type="ec2" name="ec2 specific details">
>>>
>>> <className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
>>> <provider>aws-ec2</provider>
>>> <identity svns:secretAlias="elastic.scaler.openstack.identity
>>> ">EC2_IDENTITY</identity>
>>> <credential svns:secretAlias="elastic.scaler.openstack.credential
>>> ">EC2_CREDENTIAL</credential>
>>> <property name="jclouds.ec2.ami-query"
>>> value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/>
>>> <property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/>
>>> <property name="securityGroups" value="EC2_SECURITY_GROUPS"/>
>>> <property name="autoAssignIp" value="true" />
>>> <property name="keyPair" value="EC2_KEYPAIR"/>
>>> </iaasProvider>
>>>
>>>
>>>
>>>  In my understanding this should be changed as following
>>>
>>> <identity svns:secretAlias="cloud.controller.ec2.identity"
>>> >EC2_IDENTITY</identity>
>>> <credential svns:secretAlias="cloud.controller.ec2.credential"
>>> >EC2_CREDENTIAL</credential>
>>>
>>>
>>>
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kasuns@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Stratos Installer does't replace the secretAlias value related to EC2 in IaasPoviders in CC

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Kasun,

Yes, your understanding is correct. We need to fix it in Stratos installer.
Thanks for pointing this issue.

Thanks !

On Mon, Oct 20, 2014 at 4:35 PM, Kasun De Silva <ka...@wso2.com> wrote:

> JIRA created and please find the link below
>
> https://issues.apache.org/jira/browse/STRATOS-899
>
> Thanks,
> Kasun
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kasuns@wso2.com
> mobile : +94 77 794 4260
>
>
> On Mon, Oct 20, 2014 at 4:34 PM, Kasun De Silva <ka...@wso2.com> wrote:
>
>> Hi All,
>>
>> Following configuration noticed in cloud-controller.xml inside
>> apache-stratos-cc,
>>
>> <iaasProvider type="ec2" name="ec2 specific details">
>>
>> <className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
>> <provider>aws-ec2</provider>
>> <identity svns:secretAlias="elastic.scaler.openstack.identity
>> ">EC2_IDENTITY</identity>
>> <credential svns:secretAlias="elastic.scaler.openstack.credential
>> ">EC2_CREDENTIAL</credential>
>> <property name="jclouds.ec2.ami-query"
>> value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/>
>> <property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/>
>> <property name="securityGroups" value="EC2_SECURITY_GROUPS"/>
>> <property name="autoAssignIp" value="true" />
>> <property name="keyPair" value="EC2_KEYPAIR"/>
>> </iaasProvider>
>>
>>
>>
>>  In my understanding this should be changed as following
>>
>> <identity svns:secretAlias="cloud.controller.ec2.identity"
>> >EC2_IDENTITY</identity>
>> <credential svns:secretAlias="cloud.controller.ec2.credential"
>> >EC2_CREDENTIAL</credential>
>>
>>
>>
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kasuns@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Stratos Installer does't replace the secretAlias value related to EC2 in IaasPoviders in CC

Posted by Kasun De Silva <ka...@wso2.com>.
JIRA created and please find the link below

https://issues.apache.org/jira/browse/STRATOS-899

Thanks,
Kasun

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kasuns@wso2.com
mobile : +94 77 794 4260


On Mon, Oct 20, 2014 at 4:34 PM, Kasun De Silva <ka...@wso2.com> wrote:

> Hi All,
>
> Following configuration noticed in cloud-controller.xml inside
> apache-stratos-cc,
>
> <iaasProvider type="ec2" name="ec2 specific details">
>
> <className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
> <provider>aws-ec2</provider>
> <identity svns:secretAlias="elastic.scaler.openstack.identity
> ">EC2_IDENTITY</identity>
> <credential svns:secretAlias="elastic.scaler.openstack.credential
> ">EC2_CREDENTIAL</credential>
> <property name="jclouds.ec2.ami-query"
> value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/>
> <property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/>
> <property name="securityGroups" value="EC2_SECURITY_GROUPS"/>
> <property name="autoAssignIp" value="true" />
> <property name="keyPair" value="EC2_KEYPAIR"/>
> </iaasProvider>
>
>
>
>  In my understanding this should be changed as following
>
> <identity svns:secretAlias="cloud.controller.ec2.identity"
> >EC2_IDENTITY</identity>
> <credential svns:secretAlias="cloud.controller.ec2.credential"
> >EC2_CREDENTIAL</credential>
>
>
>
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kasuns@wso2.com
> mobile : +94 77 794 4260
>
>