ruote tmp/log_2012-04-06.html

2012-04-06 15:19:11 utc martyntaylor Hi gentlemen. I wondering if anyone is around to help with an issue I'm having with RuoteKit
2012-04-06 20:17:40 utc jmettraux martyntaylor: hello, I'm around
2012-04-06 20:18:15 utc martyntaylor jmettraux: hey buddy thanks
2012-04-06 20:18:46 utc jmettraux same symptoms you described the other day ?
2012-04-06 20:18:51 utc martyntaylor yup
2012-04-06 20:19:05 utc martyntaylor basically tasks are not getting picked up
2012-04-06 20:19:14 utc jmettraux what does your ruote initialization code look like ?
2012-04-06 20:19:24 utc martyntaylor just get that
2012-04-06 20:20:15 utc martyntaylor jmettraux:
2012-04-06 20:20:51 utc jmettraux looks good
2012-04-06 20:21:28 utc martyntaylor So that should create a worker right.
2012-04-06 20:21:33 utc jmettraux and you launch a workflow but there is nothing appearing in the "workitems" section of the web interface?
2012-04-06 20:21:39 utc jmettraux yes, you are right
2012-04-06 20:21:40 utc martyntaylor jmettraux: no
2012-04-06 20:21:53 utc martyntaylor ooh hang on just need to check my terminology
2012-04-06 20:21:56 utc martyntaylor ill open up that page
2012-04-06 20:22:01 utc jmettraux is there something appearing in the "errors" section ?
2012-04-06 20:22:15 utc martyntaylor jmettraux: nothing in errors
2012-04-06 20:22:19 utc martyntaylor jmettraux: there are workitems
2012-04-06 20:22:28 utc jmettraux ah, so it works
2012-04-06 20:22:48 utc martyntaylor jmettraux: So I was expecting these items to be handled by the participants
2012-04-06 20:23:01 utc jmettraux they are
2012-04-06 20:23:04 utc martyntaylor jmettraux: I have to manually move them on
2012-04-06 20:23:29 utc jmettraux look at line 41 of your code paste
2012-04-06 20:23:36 utc martyntaylor sure
2012-04-06 20:23:49 utc jmettraux you register a unique "catchall" participant
2012-04-06 20:23:58 utc martyntaylor sure
2012-04-06 20:24:05 utc jmettraux it's a storage participant
2012-04-06 20:24:17 utc jmettraux it's meant for "human worklists"
2012-04-06 20:25:16 utc martyntaylor sure, I should also send you my process_deffinitions.rb I load these from other files since Im going to have a ton of workflows/particpants
2012-04-06 20:26:13 utc martyntaylor jmettraux:
2012-04-06 20:26:16 utc jmettraux for example: where a participant named 'automator' is registered (before the catchall)
2012-04-06 20:26:38 utc martyntaylor jmettraux: meh! The order that we define them matters?
2012-04-06 20:26:42 utc jmettraux yes
2012-04-06 20:26:44 utc martyntaylor ooh
2012-04-06 20:26:47 utc martyntaylor darn
2012-04-06 20:27:03 utc jmettraux and you'd better register the participants in the same file
2012-04-06 20:27:15 utc jmettraux since they are shared by all the processes in the engine
2012-04-06 20:27:18 utc martyntaylor jmettraux: of course that makes sense, I guess its regexp matching on participant name
2012-04-06 20:27:33 utc martyntaylor sure I do require them in that file
2012-04-06 20:27:40 utc jmettraux ah ok
2012-04-06 20:27:46 utc martyntaylor just after the catch all
2012-04-06 20:28:36 utc jmettraux I tend to have a big register block with all my participants listed in order
2012-04-06 20:28:41 utc martyntaylor sure
2012-04-06 20:28:45 utc martyntaylor I think I will go for that for now
2012-04-06 20:28:47 utc martyntaylor see if that works
2012-04-06 20:29:13 utc jmettraux ok
2012-04-06 20:31:39 utc martyntaylor jmettraux: meh same behaviour
2012-04-06 20:31:50 utc martyntaylor registered the participant in the intializer
2012-04-06 20:31:56 utc jmettraux what does it look like now ?
2012-04-06 20:33:10 utc martyntaylor
2012-04-06 20:34:01 utc jmettraux "company_house" is handled by the catchall
2012-04-06 20:34:28 utc martyntaylor yeah seems that way
2012-04-06 20:34:55 utc martyntaylor oh meh!
2012-04-06 20:35:01 utc martyntaylor added the wrong particpant
2012-04-06 20:36:24 utc martyntaylor still made no difference
2012-04-06 20:36:57 utc jmettraux ok, stop the system, delete the "ruote_work_development" directory and start again
2012-04-06 20:37:23 utc martyntaylor sure
2012-04-06 20:41:29 utc martyntaylor jmettraux: nah didnt fix it either
2012-04-06 20:43:09 utc jmettraux so you did register the two participants, and when you launch the flow, there is a workitem appearing in the "workitems" section?
2012-04-06 20:44:05 utc martyntaylor yes
2012-04-06 20:44:59 utc jmettraux would it be possible for you to take and a share a screenshot of the workitem?
2012-04-06 20:49:13 utc martyntaylor jmettraux: voilla
2012-04-06 20:49:16 utc martyntaylor jmettraux: got it
2012-04-06 20:49:21 utc martyntaylor jmettraux: thank you very much
2012-04-06 20:49:33 utc martyntaylor jmettraux: for some reason the participants were in reverse order
2012-04-06 20:49:45 utc martyntaylor I rearranged them in the web console
2012-04-06 20:49:52 utc martyntaylor and it worked a treat
2012-04-06 20:50:06 utc jmettraux ah ok, great
2012-04-06 20:50:30 utc martyntaylor jmettraux: thanks for the help, I understand this better now. I thought the catch all was only used if there was no match
2012-04-06 20:50:49 utc jmettraux aah
2012-04-06 20:50:53 utc martyntaylor jmettraux: but it seems to work through a list until it finds a match, since that was defined first it was always getting hit
2012-04-06 20:51:01 utc jmettraux yes
2012-04-06 20:51:04 utc martyntaylor great
2012-04-06 20:53:35 utc martyntaylor jmettraux: who do you work for?
2012-04-06 20:53:47 utc jmettraux
2012-04-06 20:54:04 utc martyntaylor cool
2012-04-06 20:54:22 utc jmettraux and you?
2012-04-06 20:54:26 utc martyntaylor I used RightScale back in the early days before you guys got funding
2012-04-06 20:54:28 utc martyntaylor great app...
2012-04-06 20:54:32 utc martyntaylor I work for RH
2012-04-06 20:54:35 utc martyntaylor RedHat*
2012-04-06 20:54:50 utc jmettraux oh, very cool, in which division?
2012-04-06 20:54:56 utc martyntaylor Cloud ;)
2012-04-06 20:55:04 utc jmettraux aah
2012-04-06 20:55:12 utc martyntaylor Building something similar to RightScale :p
2012-04-06 20:55:36 utc jmettraux :-)
2012-04-06 20:55:47 utc martyntaylor jmettraux: I presume you or have heard of DeltaCloud
2012-04-06 20:56:04 utc martyntaylor in fact I think DC uses the ec2 gem you guys wrote
2012-04-06 20:56:40 utc jmettraux sorry, I just had to google it
2012-04-06 20:56:46 utc jmettraux looks nice
2012-04-06 20:57:43 utc martyntaylor yeah its meant to be an abstraction on top of clouds
2012-04-06 20:57:44 utc jmettraux you guys are using Ruby?
2012-04-06 20:57:46 utc martyntaylor yeah
2012-04-06 20:57:54 utc martyntaylor that is a Sinatra application
2012-04-06 20:58:02 utc martyntaylor though the stuff i work on is Rails
2012-04-06 20:58:20 utc martyntaylor jmettraux: in case your interested:
2012-04-06 20:58:54 utc jmettraux excellent
2012-04-06 21:00:09 utc martyntaylor jmettraux: though Im using Ruote for a pet project
2012-04-06 21:00:22 utc martyntaylor my fingers do not like the name
2012-04-06 21:00:30 utc martyntaylor too used to routes
2012-04-06 21:00:57 utc jmettraux yes, I should have chose a better name
2012-04-06 21:02:32 utc martyntaylor jmettraux: So I guess you guys use Ruote for handing instance managment tasks / multi tier dpeloyments n what not
2012-04-06 21:02:52 utc martyntaylor jmettraux: its a really nice gem! Thank you!
2012-04-06 21:03:04 utc jmettraux yes, something like that, thanks!
2012-04-06 21:03:24 utc martyntaylor we were using condor at one point
2012-04-06 21:03:36 utc martyntaylor but it was just too heavy weight for what we wanted
2012-04-06 21:05:21 utc martyntaylor Ruote seems like a nice fit for our use case. I'm thinking of trying to push it. Though I suppose since RightScale isn't an open source project you cant say too much :P
2012-04-06 21:08:41 utc martyntaylor jmettraux: well mate, I have to dash. Getting late. Thanks again for the help. Enjoy your weekend.
2012-04-06 21:08:47 utc jmettraux martyntaylor:
2012-04-06 21:09:23 utc jmettraux it explains what we do
2012-04-06 21:09:33 utc martyntaylor aah cool
2012-04-06 21:11:08 utc martyntaylor jmettraux: very interesting, I'll take a peak. Was a surprisingly helpful day today
2012-04-06 21:11:26 utc martyntaylor jmettraux: in case your interested
2012-04-06 21:11:34 utc jmettraux I am
2012-04-06 21:11:36 utc martyntaylor jmettraux: we're looking at this for sometihng similar
2012-04-06 21:11:47 utc jmettraux aah
2012-04-06 21:12:17 utc martyntaylor
2012-04-06 21:12:49 utc martyntaylor similar to the example the post you sent
2012-04-06 21:13:09 utc jmettraux thanks!
2012-04-06 21:13:28 utc martyntaylor we've not talked too much in detail to how this is going to work yet. I think Ruote is potentially something we'd look at using
2012-04-06 21:14:52 utc jmettraux Martyn, if you need more help, don't hesitate to use the mailing list:
2012-04-06 21:15:06 utc jmettraux argh
2012-04-06 21:15:22 utc jmettraux
2012-04-06 21:16:06 utc martyntaylor thanks
2012-04-06 21:17:09 utc martyntaylor right I have to shoot for real this time. jmettraux been really good talking to you
2012-04-06 21:17:21 utc jmettraux ciao! have a nice week-end!
2012-04-06 21:17:28 utc martyntaylor you too mate, speak to you soon