Hi Imesh,

Seems "GroupStatusInactiveProcessor" is the last processor in the
"GroupStatusProcessorChain".We are printing the above warn message if the
next processor is null.

       if (nextProcessor != null) {
            // ask the next processor to take care of the message.
            return nextProcessor.process(idOfComponent, appId, instanceId);
        } else {

            log.warn(String.format("No possible state change found for
[component] %s [instance]",
                    idOfComponent, instanceId));
        }

Seems for the group-scaling sample is not fully activated.Only one
group(group2c3) is activated in that sample.I think we need to check why
the "GroupStatusInactiveProcessor" is triggered during the application
deployment process.

Thanks,
Gayan


On Sun, Feb 8, 2015 at 9:53 PM, Imesh Gunaratne <[email protected]> wrote:

> I tested both group-scaling and group-scaling-v1 applications but they did
> not activate:
>
> I can see the following warning in the log:
>  WARN
> {org.apache.stratos.autoscaler.status.processor.group.GroupStatusInactiveProcessor}
> -  No possible state change found for [component] mygroup2 [instance]
>
> Thanks
>
> On Sun, Feb 8, 2015 at 5:23 PM, Imesh Gunaratne <[email protected]> wrote:
>
>> Great work Reka! Thanks for looking into this!
>>
>> On Sun, Feb 8, 2015 at 3:27 AM, Reka Thirunavukkarasu <[email protected]>
>> wrote:
>>
>>> Hi
>>>
>>> I have fixed one issue that i found when using more than one
>>> groupInstances in the application. Now that, i could get all the
>>> single-group-* samples became active without any issue.
>>>
>>> Thanks,
>>> Reka
>>>
>>> On Sat, Feb 7, 2015 at 12:08 PM, Reka Thirunavukkarasu <[email protected]>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> Do we have the current state of the samples and application state? When
>>>> i tried group samples in mock and it has become active..Did we fix this
>>>> recently?
>>>>
>>>> Thanks,
>>>> Reka
>>>>
>>>> On Sat, Feb 7, 2015 at 11:54 AM, Reka Thirunavukkarasu <[email protected]>
>>>> wrote:
>>>>
>>>>> Great job in organizing this samples..I just tried the simple sample.
>>>>> It saves lot of time in the testing phase..
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Feb 6, 2015 at 7:08 PM, Imesh Gunaratne <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Chamila,
>>>>>>
>>>>>> Now we have a common set of artifacts and deployment scripts for all
>>>>>> the IaaSes except for deployment policies. We have verified this with 
>>>>>> Mock
>>>>>> IaaS.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Feb 6, 2015 at 11:47 PM, Chamila De Alwis <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> Is this on a particular one IaaS or on mock IaaS?
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> Chamila de Alwis
>>>>>>> Software Engineer | WSO2 | +94772207163
>>>>>>> Blog: code.chamiladealwis.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Feb 6, 2015 at 9:18 PM, Imesh Gunaratne <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thanks Dinithi, Manula and Vishanth for contributing to fix sample
>>>>>>>> applications! I'm now looking into issues we have in grouping logic.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Fri, Feb 6, 2015 at 8:59 PM, Dinithi De Silva <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> Both group-scaling and group-scaling-v1 also become inactive after
>>>>>>>>> few seconds.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Fri, Feb 6, 2015 at 7:18 PM, Imesh Gunaratne <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> Please find the current state of the sample applications below:
>>>>>>>>>>
>>>>>>>>>> complex-appApplication does not 
>>>>>>>>>> Activatecomplex-app-with-lbApplication
>>>>>>>>>> does not Activatedependent-scaling/sample-cartridgesApplication
>>>>>>>>>> Activates but becomes Inactive after few seconds
>>>>>>>>>> dependent-scaling/sample-groupsApplication does not Activate
>>>>>>>>>> group-scalingApplication does not Activategroup-scaling-v1Application
>>>>>>>>>> does not Activatemore-complex-appApplication does not Activate
>>>>>>>>>> nested-groupApplication does not Activatesingle-cartridgeApplication
>>>>>>>>>> Activatessingle-group-group-scalingApplication does not Activate
>>>>>>>>>> single-group-v1Application does not 
>>>>>>>>>> Activatesingle-group-v2Application
>>>>>>>>>> does not Activatesingle-group-v3Application does not Activate
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> We need to investigate each sample and fix the issues we have in
>>>>>>>>>> application deployment logic. Once a sample becomes working we can 
>>>>>>>>>> add that
>>>>>>>>>> to the integration test.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Dinithi De Silva*
>>>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>>>> m:+94716667655 | e:[email protected] | w: www.wso2.com
>>>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Reka Thirunavukkarasu
>>>>> Senior Software Engineer,
>>>>> WSO2, Inc.:http://wso2.com,
>>>>> Mobile: +94776442007
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Reka Thirunavukkarasu
>>>> Senior Software Engineer,
>>>> WSO2, Inc.:http://wso2.com,
>>>> Mobile: +94776442007
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Senior Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : [email protected]  | mobile : +94 766819985

Reply via email to