Dharmesh,
I plan to push v0.0.2 of stackmate soon.
Re: rollback, exceptions are actually caught by Ruote and causes it to
call 'cancel' on participants that are already running. Rollback would
involve finding the error status from Ruote (engine.errors) and then
executing a new process definition that destroys the resources that are
already created.
For example, if the original schedule created resources A,B,C,D,E and got
an error in D, then the rollback schedule should delete C,B,A in that
order.


On 5/20/13 10:02 AM, "Chiradeep Vittal" <chiradeep.vit...@citrix.com>
wrote:

>Hi Dharmesh, 
>You got the code structure right. Are you available on IRC
>(#cloudstack-dev) so we could discuss more? I am in the process of putting
>a web interface on stackmate. I am in PDT time zone.
>
>On 5/20/13 6:36 AM, "Chip Childers" <chip.child...@sungard.com> wrote:
>
>>Dharmesh,
>>
>>Adding Chiradeep to this thread, since Stackmate isn't actually part of
>>Apache CloudStack (but Chiradeep is the author).
>>
>>-chip
>>
>>On Fri, May 17, 2013 at 11:27:07PM +0530, Dharmesh Kakadia wrote:
>>> Hi,
>>> 
>>> I would like to contribute to stackmate. I am trying to understand the
>>>high
>>> level flow from code. Is there any document that I should look first ?
>>>My
>>> understanding is,
>>> 
>>> bin/ - interface - does option parsing
>>> lib/stakmate/classmap.rb  - gives the ability to use existing AWS
>>>tools.
>>> lib/stakmate/stack.rb - base. represents a stack
>>> lib/stakmate/stack-executer.rb - executes already
>>> lib/stakmate/waitcondition_server.rb - didn't understand what it does
>>> lib/stakmate/participants/common.rb - wait condition implementation as
>>> participants.
>>> lib/stakmate/participants/cloudstack.rb - Actual stuff.
>>> 
>>> I think ToDo list that you mentioned on repo is good place to start for
>>> contributions. I would like to know more details on how you are
>>>planning to
>>> implement those features. say for example, the rollback on error. I
>>>assume
>>> to rollback on error you will catch exceptions in stack_executer that
>>>is
>>> raised in cloudstack.rb. Am I on the right track ?
>>> 
>>> Thanks,
>>> Dharmesh
>

Reply via email to