On Tue, Oct 13, 2015 at 12:25 PM, Akila Ravihansa Perera <raviha...@wso2.com
> wrote:

>
> Is it possible to for a member to move from ReadyToShutDown to
> In_Maintenance?
>

This should not be possible:
Created -> Initialized -> Started -> Activated -> In Maintenance -> Ready
To Shutdown -> Terminated

On Tue, Oct 13, 2015 at 12:25 PM, Akila Ravihansa Perera <raviha...@wso2.com
> wrote:

> Hi Gayan,
>
> If that particular lifecycle transition could occur, then it should not be
> marked as invalid.
>
> Is it possible to for a member to move from ReadyToShutDown to
> In_Maintenance?
>
> I don't see a reason why this transition should take place. I'll go
> through the mock iaas code and check.
>
> Thanks.
>
> On Tue, Oct 13, 2015 at 12:17 PM, Gayan Gunarathne <gay...@wso2.com>
> wrote:
>
>> Yeah Akila, As we exposed those are run time exception, seems those
>> triggered with the build.
>>
>> Also do we need to have run-time exception for this[1]. This life cycle
>> state transition not be something we can't manage through the code itself
>> always.IMO Invalid life cycle state transition can be occurred due to some
>> other reasons also.
>>
>> [1]
>> https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/messaging/topology/TopologyBuilder.java#L756
>>
>> Thanks,
>> Gayan
>>
>> On Tue, Oct 13, 2015 at 12:00 PM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> Hi Gayan,
>>>
>>> It seems build has returned to normal and last 3 Jenkins builds have
>>> been successful [1]. Good news is we are not seeing any Null Pointer
>>> Exceptions anymore :)
>>>
>>> But I can see 2 types of RuntimeExceptions in the build log:
>>>
>>> - Member does not exist while terminating the member
>>>
>>> Instance termination failed!
>>> Member
>>> application-bursting-test.my-tomcat-application-bursting-test.tomcat-application-bursting-test.domain1ba0bdb2-b560-4496-91a0-363dd41779e1
>>> does not exist
>>>
>>> -  java.lang.RuntimeException: Invalid State Transition from
>>> ReadyToShutDown to In_Maintenance
>>>
>>> My guess is this maybe due to a bug in mock iaas. I'll look into this.
>>>
>>>
>>> [1] https://builds.apache.org/job/Stratos-41x-Commit-Build/
>>>
>>>
>>> Thanks.
>>>
>>> On Mon, Oct 12, 2015 at 7:32 PM, Gayan Gunarathne <gay...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Shall we finalize the following to do the $subject
>>>>
>>>> 1. Investigate NPE in 4.1.x branch
>>>> 2. Threads can override resource paths in metadata api registry
>>>> 3. Java thrift publisher to send messages to multiple endpoints - Load
>>>> balancer extensions
>>>> 4. Generate Access URLs using cluster hostnames
>>>>
>>>> Thanks,
>>>> Gayan
>>>>
>>>>
>>>> --
>>>>
>>>> Gayan Gunarathne
>>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>>> Committer & PMC Member, Apache Stratos
>>>> email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>
>>
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to