Thursday, 2018-10-11

*** bobh has joined #openstack-mistral00:38
*** zhurong has joined #openstack-mistral00:49
*** zhurong has quit IRC00:50
*** bobh has quit IRC01:15
*** bobh has joined #openstack-mistral01:16
*** bobh has quit IRC01:34
*** rakhmerov has quit IRC01:38
*** bobh has joined #openstack-mistral02:22
*** bobh has quit IRC02:30
*** rakhmerov has joined #openstack-mistral04:01
openstackgerritRenat Akhmerov proposed openstack/mistral master: Remove remaining references to the rpc_backend  https://review.openstack.org/60942604:15
*** akovi has joined #openstack-mistral04:43
openstackgerritRenat Akhmerov proposed openstack/mistral master: Remove remaining references to the rpc_backend  https://review.openstack.org/60942605:02
*** hardikjasani has joined #openstack-mistral05:02
*** pgaxatte has quit IRC05:06
*** pgaxatte has joined #openstack-mistral05:10
openstackgerritRenat Akhmerov proposed openstack/mistral master: Remove remaining references to the rpc_backend  https://review.openstack.org/60942605:17
akovirakhmerov: Hi Renat! If it's so broken and seemingly nobody has time to iron it out, does it make sense to keep the kombu driver?05:27
openstackgerritRenat Akhmerov proposed openstack/mistral master: Remove remaining references to the rpc_backend  https://review.openstack.org/60942606:08
rakhmerovakovi: hi Andras, I think I fixed it now06:08
rakhmerovthere was just one failing test and I removed it a couple of minutes ago because it's also not relevant06:09
rakhmerovso it should be fine now06:09
*** apetrich has quit IRC06:20
akovithanks. My question is more towards wouldn't it be beneficial to remove the implementation altogether? Just asking.06:21
*** jrist has joined #openstack-mistral06:33
*** apetrich has joined #openstack-mistral06:43
rakhmerovakovi: hm.. maybe but I'd leave it for now. Still hoping that I'll get back to improving it later06:46
openstackgerritHardik Jasani proposed openstack/mistral master: Fix next link in get resource list rest API  https://review.openstack.org/60867707:05
*** shardy has joined #openstack-mistral07:06
*** jrist has quit IRC07:09
rakhmerovd0ugal: hi, https://review.openstack.org/609426 is not done but I'm afraid we got kind of a CI deadlock07:12
rakhmerovit will be failing because of the Rally gate and the patch that fixes the Rally gate will be failing because of these deprecation removals07:12
rakhmerovbut let's see..07:12
rakhmerovwe somehow need to push one of them whatever it takes07:13
rakhmerov... is now done ...07:13
rakhmerovtypo07:13
pgaxattehello07:31
pgaxatteis there a nice way to validate a workflow's DSL without talking to the API?07:38
pgaxatteI'm guessing I'll have to import mistral and use the server's code?07:38
d0ugalrakhmerov: Here now. Will that patch pass CI?08:08
rakhmerovd0ugal: hah.. it seems like Rally gate will fail08:11
rakhmerovagain..08:11
rakhmerovpgaxatte: hi, in order to answer your question we probably need to understand your use case08:12
rakhmerovpgaxatte: Why is API not a good way for you?08:12
d0ugalrakhmerov: so maybe disable the rally voting in that patch? Then I'll enable it again and switch to the lighter workflow in my other patch?08:12
rakhmerovd0ugal: well, it just actually passed08:13
d0ugaloh, good08:13
d0ugalso it sis08:13
d0ugaloops08:13
rakhmerovd0ugal: yeah, we can do that, right, if needed08:13
d0ugalso it did08:13
rakhmerovdo we have "rally" in the "gate" jobs too?08:14
d0ugalrakhmerov: Thanks for updating it btw, I was getting a bit tired and confused yesterday afternoon :)08:14
d0ugalrakhmerov: Yeah, we do08:14
rakhmerovif not then we're good08:14
rakhmerovaah.. damn08:14
rakhmerovd0ugal: np, sure08:14
pgaxatterakhmerov: I'd like to validate the workbooks/workflows before packaging them for deployment and I'm going to do that in a CI/CD environment08:17
rakhmerovaah.. I see08:18
pgaxatterakhmerov: I don't want to depend on a mistral server running somewhere or running it myself before checking08:18
d0ugalYou can do it by importing mistral, but it isn't really a supported use08:18
rakhmerovmaybe worth installing the simplest possible version of Mistral in your CI?08:18
rakhmerovpgaxatte: yeah, using server side code is a dangerous idea, you should understand that08:19
rakhmerovbecause it may change any time w/o warning users08:19
d0ugalbut in CI/CD it could be okay. Worst case you can disable that check08:19
pgaxatterakhmerov: of course but I'd be running a fixed version of the server code08:19
d0ugaland if you pin mistral version in CI it wouldn't be that risky either - but upgrading could be hard if things change.08:20
rakhmerovpgaxatte: ok then08:20
pgaxattethe same as we'll use on production side where i'll deploy the workflows08:20
d0ugalI started writing a tool to check workflows, but I didn't get very far with it :) https://github.com/d0ugal/mistral-lint08:21
rakhmerovd0ugal: btw, I was thinking about it some time ago. We could probably maintain workflow language things in a separate module where we could open an API08:21
rakhmerovas a library08:21
d0ugalrakhmerov: +108:21
pgaxatterakhmerov: yep I was thinking the same while working on this project08:21
rakhmerovI was considering something else but it'd be aligned with that too08:21
pgaxattebesides the DSL version has nothing to do with mistral's api version08:21
pgaxatteso these could be separate08:22
d0ugalpgaxatte: well, in theroy. We are very bad at managing the DSL version08:22
d0ugalit has been 2.0 for a long time and we have added many features :/08:22
rakhmerovyes, kind of08:22
pgaxatted0ugal: yeah I remembered some discussions about that :D08:22
rakhmerovit's still 2.0 although we made lots of changes08:22
rakhmerovwhat we 100% obey though is backward compatibility08:22
rakhmerovall of the changes have been compatible08:23
pgaxatteso keeping 2.0 is not such a bad idea since there are no breaking changes08:23
d0ugalRight08:23
pgaxattebut you can't anticipate if some feature will be present08:23
d0ugalIt means the first 2.0 workflow should still work, but a rocky workflow will never work with a newton server (I forget when 2.0 was introduced?)08:24
rakhmerovto maintain DSL versions I think we exactly need a separate lib plus some additional code that manages versions08:24
rakhmerovd0ugal: ~ 4 years ago08:24
rakhmerov:)08:24
pgaxatteyeah the separation would make the changes in version easier to manage08:24
d0ugalWe maybe don't need to support every version, but if we increase the minor number each release it would at least make it clearer08:25
rakhmerovyep08:25
d0ugali.e. my workflow is "2.1" then it works on a server that supports "2.1" or higher08:25
rakhmerovI wish we could do that08:25
d0ugalWhy can't we? :)08:25
rakhmerovas usually08:25
rakhmerovpriorities and limited resources08:25
pgaxattelack of time/resources?08:25
d0ugalRight08:25
pgaxatte:D08:25
rakhmerov+ not very stable team08:25
d0ugalThat small issue :)08:25
pgaxatted0ugal, I met a french colleague of you recently (Sylvain Bauzas, nova core-team) who told me more and more people at RedHat are getting interested in Mistral08:28
pgaxattedidn't have much time to discuss this further, but do you know if Mistral is taking off at RedHat?08:29
d0ugalpgaxatte: I think we only use it in TripleO, so I don't feel like it is taking off :)08:29
d0ugalbut it is very important at the moment for connecting together everything in our main OpenStack product08:30
pgaxatted0ugal: arf so it would be hard to justify bringing more people in? :D08:35
pgaxatteon Mistral I mean08:35
pgaxattenot in RedHat you guys are big enough :P08:35
d0ugalpgaxatte: lol, we are pretty big.08:41
d0ugal... but we are always hiring too ;)08:45
pgaxatted0ugal: gotta keep growing :D09:00
pgaxatteany of you guys are going to Berlin for the summit, rakhmerov d0?09:07
pgaxatted0ugal ^09:08
rakhmerovpgaxatte: unfortunately, I'm not09:08
rakhmerovwill do my best to be in Denver in april09:08
pgaxatteahh too bad09:08
rakhmerovyeah..09:08
rakhmerovsorry09:08
*** jistr is now known as jistr|call09:12
d0ugalI can't make it either09:18
d0ugalI believe apetrich will be there!09:18
apetrichrakhmerov, d0ugal I hope so. I can see the venue from my balcony09:19
rakhmerovapetrich: ooh, really? :))09:22
rakhmerovthat's awesome!09:23
pgaxatteapetrich: so no excuse to not go then09:23
pgaxatte;)09:23
rakhmerovyeaah :))09:23
apetrich:)09:23
apetrichI hope I don't have to scream my talk all the way from here09:24
apetrichit is like 3 subways stations away but because you have to do an L09:24
*** gkadam has quit IRC09:25
rakhmerovif needed, scream man! :)09:26
rakhmerovthen even more people will hear you :)09:27
rakhmerovand get to know about OpenStack/Mistral/TripleO09:27
d0ugallol09:28
*** jtomasek has joined #openstack-mistral09:46
*** jistr|call is now known as jistr11:00
openstackgerritHardik Jasani proposed openstack/mistral-tempest-plugin master: Add test for pagination url  https://review.openstack.org/60868611:01
openstackgerritOleg Ovcharuk proposed openstack/mistral master: Refactor size limit check mechanism  https://review.openstack.org/60846911:09
openstackgerritHardik Jasani proposed openstack/mistral-tempest-plugin master: Add test for pagination url  https://review.openstack.org/60868611:10
openstackgerritOleg Ovcharuk proposed openstack/mistral master: Divide yaml input to save it into definitions separately in case of create/update multiple workflows from one yaml.  https://review.openstack.org/60320811:26
openstackgerritOleg Ovcharuk proposed openstack/mistral master: Divide yaml input to save it into definitions separately.  https://review.openstack.org/60320811:29
*** toure|gone is now known as toure12:01
*** bobh has joined #openstack-mistral13:05
jlejeunehi guys13:05
jlejeuneI've a small question for you13:05
jlejeuneI tried to create my first custom action13:05
jlejeuneI need to get the root_execution_id value in my action13:06
jlejeunedo you know if there is a way to get it inside actions in sub workflows ?13:07
akovijlejeune: I don't have a mistral running at hand so I can't test the following13:16
akoviyou'll have the context that is created in mistral_lib/actions/context.py ExecutionContext13:17
akoviunfortunately that does not contain the root id13:17
akovito check what is there, I would start a mistral locally and stop the execution in mistral.executors.default_executor.DefaultExecutor#run_action13:18
jlejeuneactually I already dig into ExecutionContext class13:19
jlejeuneindeed, this class doesn't have any root_execution_id key...13:20
akoviand I think the context doesn't have it either13:22
jlejeuneyep...13:22
akovithis is what can be checked in the run_action13:22
akoviit's constructed here mistral.engine.actions.PythonAction#_prepare_execution_context13:25
akoviso definitely, the root is not there13:25
jlejeunetoo bad :/13:25
akoviit can be added and you can use it in the next release :D13:25
jlejeune:)13:26
akovican you please file a bug13:26
*** hardikjasani has quit IRC13:32
*** jrist has joined #openstack-mistral13:33
*** jrist has quit IRC14:20
*** jtomasek has quit IRC14:36
*** openstackgerrit has quit IRC14:58
*** openstackgerrit has joined #openstack-mistral14:58
*** openstackgerrit has quit IRC15:22
d0ugalYeah, we should add it. That is probably my fault :)15:24
*** akovi has quit IRC15:46
*** jrist has joined #openstack-mistral15:50
*** jrist has quit IRC15:59
bobhJust ran into a problem with task name - there do not seem to be any restrictions on task name characters (besides length), but the OnClauseSpec now requires the task name to be \w+ - that means I can define a task name with a "-" in it and it will work, but I can't on-anything to that task because the spec disallows it17:31
bobhso do we restrict task names to \w+ or expand the OnClauseSpec definition of a task name to include a "-"?17:32
*** shardy has quit IRC17:47
bobhI think the on-clase spec is too restrictive, YAML will let you use just about any string for a key name17:49
*** openstackgerrit has joined #openstack-mistral19:34
openstackgerritBob Haddleton proposed openstack/mistral master: Update OnClauseSPec task name criteria to non-whitespace characters  https://review.openstack.org/60979419:34
*** bobh has quit IRC21:05
*** bobh has joined #openstack-mistral21:07
*** bobh has quit IRC21:11
*** bobh has joined #openstack-mistral21:40
*** bobh has quit IRC21:44
*** bobh has joined #openstack-mistral21:49
*** bobh has quit IRC22:12
*** openstackgerrit has quit IRC22:19
*** openstackgerrit has joined #openstack-mistral22:19

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!