stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akila Ravihansa Perera <raviha...@wso2.com>
Subject Re: Load Balancer cartridges are not getting deployed as LBs
Date Mon, 28 Apr 2014 08:58:23 GMT
Hi Lahiru,

Yes, I see it as a subscribe-able cartridge but not as a LB cartridge.
I have the load.balancer property set as "true" but it does not get
treated as such.

Thanks.

On Mon, Apr 28, 2014 at 2:25 PM, Lahiru Sandaruwan <lahirus@wso2.com> wrote:
> Hi Akila,
>
> Do you see it as a subscribable cartridge? Why do you say it is treated as a
> normal cartridge?
>
> Thanks.
>
>
> On Mon, Apr 28, 2014 at 2:21 PM, Akila Ravihansa Perera <ravihansa@wso2.com>
> wrote:
>>
>> Hi,
>>
>> I'm using the master branch and when I try to deploy a LB cartridge
>> Stratos will not identify it as a new LB. Instead it treats the
>> cartridge as a regular cartridge.
>>
>> My LB definition:
>>
>> {
>>       "type": "lb",
>>       "provider": "lb",
>>       "host": "mongoshard.mydemo.net",
>>       "displayName": "Stratos Load Balancer",
>>       "description": "LB Cartridge",
>>       "version": "4.0",
>>       "defaultAutoscalingPolicy": "autoscale-policy-1",
>>       "multiTenant": "false",
>>       "portMapping": [
>>          {
>>            "protocol": "http",
>>            "port": "27017",
>>            "proxyPort": "27017"
>>          }
>>        ],
>>        "iaasProvider": [
>>          {
>>            "type": "openstack",
>>            "imageId": "RegionOne/7dd5cc06-fa4a-4de8-8a41-d472d1cfe0ce",
>>            "maxInstanceLimit": "1",
>>            "property": [
>>                {
>>                   "name": "instanceType",
>>                   "value": "RegionOne/2"
>>                },
>>                {
>>                   "name": "keyPair",
>>                   "value": "stratos-s4"
>>                }
>>             ]
>>          }
>>       ],
>>      "loadBalancer": {
>>       },
>>       "property": [
>>          {
>>             "name": "load.balancer",
>>             "value": "true"
>>          }
>>       ]
>>  }
>>
>> Am I doing something wrong?
>>
>> Thanks.
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer
>> WSO2 Inc.
>> http://wso2.com
>>
>> Phone: +94 77 64 154 38
>> Blog: http://ravihansa3000.blogspot.com
>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PPMC member, Apache Stratos(incubating),
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Mime
View raw message