stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification
Date Wed, 04 Mar 2015 06:08:43 GMT
On Wed, Mar 4, 2015 at 11:28 AM, Dinithi De Silva <dinithis@wso2.com> wrote:

> Hi Raj,
>
> Thanks a lot for sharing this.
> But I am unable to deploy single-group-cartridge sample. I got the
> following error when deploying.
>
> ERROR {org.apache.stratos.autoscaler.util.AutoscalerUtil} -  Invalid
> Application Policy. Cause -> Network partition [network-partition-id]
> network-partition-2 is not used in application [application-id]
> cartridge-group-app. Hence application bursting will fail. Either remove
> network-partition-2 from application policy or make all the cartridges
> available in network-partition-2
> [2015-03-04 11:24:06,937] ERROR
> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -
>  Application deployment failed
>

This the validation I introduced yesterday. If all the cartridges are not
available in all the network partitions referred in application policy, you
will get this error. To solve it, we need to either remove
network-partition-2 from application policy or we need to make all the
cartridges available in network-partition-2 too. I will remove
network-partition-2 from application policy.

Thanks.

>
> Thanks
>
>
> On Wed, Mar 4, 2015 at 11:08 AM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
> wrote:
>
>> Hi,
>>
>> Here is the current status of the samples.
>>
>>
>> https://docs.google.com/spreadsheets/d/1STQtVUvEXS27yFPE13xkHJjVuya6F8wyFebo1lH3bBo/edit?usp=sharing
>>
>> Thanks.
>>
>> On Wed, Mar 4, 2015 at 10:28 AM, Dinithi De Silva <dinithis@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> The fixed samples are listed below and I am working on the rest of the
>>> sample applications.
>>>
>>>    - single-cartridge
>>>    - single-group-v1
>>>    - single-group-v2
>>>    - single-group-v3
>>>    - complex-app-with-lb
>>>    - group-cartridges
>>>    - more-complex-app
>>>    - dependent-scaling (sample-cartridges)
>>>    - nested-group
>>>
>>> Thanks.
>>>
>>> On Wed, Mar 4, 2015 at 12:47 AM, Mariangela Hills <mariangela@wso2.com>
>>> wrote:
>>>
>>>> +1 This information will be useful to update the docs based on the
>>>> samples in wiki as well!
>>>>
>>>> Regards,
>>>> Mariangela
>>>>
>>>>
>>>>
>>>>
>>>> *--*
>>>> Mariangela Hills
>>>> Senior Technical Writer
>>>>
>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>
>>>>
>>>> On Wed, Mar 4, 2015 at 12:44 AM, Imesh Gunaratne <imesh@apache.org>
>>>> wrote:
>>>>
>>>>> Great work Dinithi! Would you mind sharing the overall status?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Mar 3, 2015 at 5:08 PM, Dinithi De Silva <dinithis@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have fixed nested-group sample application in the same PR.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Tue, Mar 3, 2015 at 4:28 PM, Dinithi De Silva <dinithis@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Fixed more-complex-app. Please review and merge the PR [1].
>>>>>>>
>>>>>>> [1] - https://github.com/apache/stratos/pull/254
>>>>>>>
>>>>>>> On Tue, Mar 3, 2015 at 3:32 PM, Dinithi De Silva <dinithis@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> complex-app sample application is fixed now. Please review
and
>>>>>>>> merge the PR [1].
>>>>>>>>
>>>>>>>> https://github.com/apache/stratos/pull/253
>>>>>>>>
>>>>>>>> On Tue, Mar 3, 2015 at 1:59 PM, Rajkumar Rajaratnam <
>>>>>>>> rajkumarr@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks for the PR. I merged  it.
>>>>>>>>>
>>>>>>>>> On Tue, Mar 3, 2015 at 1:53 PM, Dinithi De Silva <
>>>>>>>>> dinithis@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> I have fixed complex-app sample application. Please
review and
>>>>>>>>>> merge the PR [1].
>>>>>>>>>>
>>>>>>>>>> [1] - https://github.com/apache/stratos/pull/252
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> On Tue, Mar 3, 2015 at 12:02 PM, Dinithi De Silva
<
>>>>>>>>>> dinithis@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> I have fixed single-group-v2 sample application.
Please review
>>>>>>>>>>> and merge the PR [1].
>>>>>>>>>>>
>>>>>>>>>>> [1] - https://github.com/apache/stratos/pull/251
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Mar 3, 2015 at 10:16 AM, Dinithi De Silva
<
>>>>>>>>>>> dinithis@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I have fixed single-group-v2 sample. Please
review and merge
>>>>>>>>>>>> the PR [1].
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/apache/stratos/pull/250
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Mar 2, 2015 at 5:21 PM, Dinithi De
Silva <
>>>>>>>>>>>> dinithis@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I am now working on single-group-v2 and
single-group-v3
>>>>>>>>>>>>> samples. Did anyone started working on
them?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Mar 2, 2015 at 5:15 PM, Rajkumar
Rajaratnam <
>>>>>>>>>>>>> rajkumarr@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for the PR Dinithi. Its working.
I have now merged
>>>>>>>>>>>>>> into master.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Mar 2, 2015 at 5:11 PM, Dinithi
De Silva <
>>>>>>>>>>>>>> dinithis@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have fixed single-group-v1
sample. Please review and merge
>>>>>>>>>>>>>>> the PR [1].
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://github.com/apache/stratos/pull/249
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Mar 1, 2015 at 11:18
AM, Rajkumar Rajaratnam <
>>>>>>>>>>>>>>> rajkumarr@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Fixed group-cartridges sample.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Feb 27, 2015 at 11:00
PM, Rajkumar Rajaratnam <
>>>>>>>>>>>>>>>> rajkumarr@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have fixed the following
samples.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>    - single-cartridge
>>>>>>>>>>>>>>>>>    - single-group-cartridge
>>>>>>>>>>>>>>>>>    - wordpress
>>>>>>>>>>>>>>>>>    - wordpress-extended-v1
>>>>>>>>>>>>>>>>>    - wordpress-extended-v2
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Feb 27, 2015
at 10:58 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org>
wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I can see that Raj
has fixed some applications, Raj: can
>>>>>>>>>>>>>>>>>> you please update
which applications you have fixed?
>>>>>>>>>>>>>>>>>> I have now fixed
Tomcat application.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Fri, Feb 27, 2015
at 10:56 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org>
wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> We now need to
update all the sample applications
>>>>>>>>>>>>>>>>>>> according to
new deployment policy modification. We could use this thread
>>>>>>>>>>>>>>>>>>> to track its
status.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Technical Lead,
WSO2
>>>>>>>>>>>>>>>>>>> Committer &
PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC
Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Rajkumar Rajaratnam
>>>>>>>>>>>>>>>>> Committer & PMC Member,
Apache Stratos
>>>>>>>>>>>>>>>>> Software Engineer, WSO2
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Mobile : +94777568639
>>>>>>>>>>>>>>>>> Blog : rajkumarr.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Rajkumar Rajaratnam
>>>>>>>>>>>>>>>> Committer & PMC Member,
Apache Stratos
>>>>>>>>>>>>>>>> Software Engineer, WSO2
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Mobile : +94777568639
>>>>>>>>>>>>>>>> Blog : rajkumarr.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Dinithi De Silva*
>>>>>>>>>>>>>>> Associate Software Engineer,
WSO2 Inc.
>>>>>>>>>>>>>>> m:+94716667655 | e:dinithis@wso2.com
| w: www.wso2.com
>>>>>>>>>>>>>>> | a: #20, Palm Grove, Colombo
03
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Rajkumar Rajaratnam
>>>>>>>>>>>>>> Committer & PMC Member, Apache
Stratos
>>>>>>>>>>>>>> Software Engineer, WSO2
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Mobile : +94777568639
>>>>>>>>>>>>>> Blog : rajkumarr.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Dinithi De Silva*
>>>>>>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>>>>>>> m:+94716667655 | e:dinithis@wso2.com
| w: www.wso2.com
>>>>>>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Dinithi De Silva*
>>>>>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>>>>>> m:+94716667655 | e:dinithis@wso2.com | w:
www.wso2.com
>>>>>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Dinithi De Silva*
>>>>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>>>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>>>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Dinithi De Silva*
>>>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Rajkumar Rajaratnam
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>> Software Engineer, WSO2
>>>>>>>>>
>>>>>>>>> Mobile : +94777568639
>>>>>>>>> Blog : rajkumarr.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Dinithi De Silva*
>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Dinithi De Silva*
>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Dinithi De Silva*
>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Dinithi De Silva*
>>> Associate Software Engineer, WSO2 Inc.
>>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>>> | a: #20, Palm Grove, Colombo 03
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>



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

Mobile : +94777568639
Blog : rajkumarr.com

Mime
View raw message