[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: when is a multi-gear application started/stopped?



That's actually not what we do... :)

On Mar 6, 2013, at 9:39 AM, Jhon Honce <jhonce redhat com> wrote:

> All gears in an application should be in the same state, as reported by the .state file. That is the intended state of the application. "Should I be running?".  There are error conditions where all gears in the application don't get messaged for state transition. 
> 
> The UI polls all gears for state and if they don't all match 'unknown' is displayed. Once the application is restarted, then state will be reset and the gears will be sync'ed up. 
> 
> /jwh
> 
> 
> ----- Original Message -----
>> From: "André Dietisheim" <adietish redhat com>
>> To: dev lists openshift redhat com
>> Sent: Wednesday, March 6, 2013 7:23:25 AM
>> Subject: when is a multi-gear application started/stopped?
>> 
>> Hi
>> 
>> I am trying to implement states for an application. Afaik the
>> "gear_groups" resource tells you about the state of the gears an
>> application is running on. Given an app with a single gear there's no
>> wondering, but what about a scaling app running on several gears? Is
>> it
>> possible that the gears are in different states? What to report in
>> this
>> case?
>> 
>> Thanks
>> André
>> 
>> _______________________________________________
>> dev mailing list
>> dev lists openshift redhat com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> 
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]