cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <>
Subject Re: stackmate ToDo
Date Wed, 22 May 2013 17:21:16 GMT
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

On 5/20/13 10:02 AM, "Chiradeep Vittal" <>

>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" <> wrote:
>>Adding Chiradeep to this thread, since Stackmate isn't actually part of
>>Apache CloudStack (but Chiradeep is the author).
>>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
>>> level flow from code. Is there any document that I should look first ?
>>> understanding is,
>>> bin/ - interface - does option parsing
>>> lib/stakmate/classmap.rb  - gives the ability to use existing AWS
>>> 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
>>> to rollback on error you will catch exceptions in stack_executer that
>>> raised in cloudstack.rb. Am I on the right track ?
>>> Thanks,
>>> Dharmesh

View raw message