Wednesday, 2017-09-20

*** bobh has joined #openstack-mistral00:21
*** yangyapeng has quit IRC00:48
*** yangyapeng has joined #openstack-mistral00:48
*** catintheroof has quit IRC00:49
*** catintheroof has joined #openstack-mistral00:49
*** catintheroof has quit IRC00:50
*** yangyapeng has quit IRC00:52
*** zhurong has joined #openstack-mistral00:54
*** bobh has quit IRC01:03
*** bobh has joined #openstack-mistral01:11
*** bobh has quit IRC01:25
*** bobh has joined #openstack-mistral01:31
*** Kevin_Zheng has joined #openstack-mistral01:33
*** bobh has quit IRC01:37
*** bobh has joined #openstack-mistral01:42
*** yangyapeng has joined #openstack-mistral01:58
*** openstackgerrit has joined #openstack-mistral02:03
openstackgerritjunbo.li proposed openstack/mistral master: TrivialFix: Fix error ignore directory for git  https://review.openstack.org/50429802:03
*** bobh has quit IRC02:04
*** bobh has joined #openstack-mistral02:30
*** yangyapeng has quit IRC02:33
*** bobh has quit IRC03:47
*** zhurong has quit IRC04:53
*** jaosorior has joined #openstack-mistral05:01
*** jtomasek has joined #openstack-mistral05:09
*** jtomasek has quit IRC05:12
*** oidgar has quit IRC06:08
*** yangyapeng has joined #openstack-mistral06:44
*** zhurong has joined #openstack-mistral06:45
openstackgerritRenat Akhmerov proposed openstack/mistral master: WIP: Testing ad-hoc asynchronous actions  https://review.openstack.org/50550806:53
rakhmerovd0ugal, rbrady: hi, can anyone of you take this bug? https://bugs.launchpad.net/mistral/+bug/171835306:55
openstackLaunchpad bug 1718353 in Mistral "The "context" parameter of Action.run() isn't filled properly for asynchronous actions" [High,Confirmed] - Assigned to Ryan Brady (rbrady)06:55
rakhmerovI found a gap in our mistral-lib design06:55
rakhmerovand implementation of ad-hoc actions based on it06:55
*** shardy has joined #openstack-mistral07:02
*** openstackgerrit has quit IRC07:02
*** yangyapeng has quit IRC07:12
*** yangyapeng has joined #openstack-mistral07:13
*** yangyapeng has joined #openstack-mistral07:14
*** yangyapeng has quit IRC07:15
*** yangyapeng has joined #openstack-mistral07:15
*** yangyapeng has joined #openstack-mistral07:16
*** yangyapeng has joined #openstack-mistral07:17
*** yangyapeng has joined #openstack-mistral07:18
*** yangyapeng has joined #openstack-mistral07:19
*** yangyapeng has quit IRC07:19
*** yangyapeng has joined #openstack-mistral07:20
*** yangyapeng has quit IRC07:21
*** yangyapeng has joined #openstack-mistral07:21
*** zhurong has quit IRC07:48
d0ugalrakhmerov: ah, good spot. I'll try and take a look07:49
*** yangyapeng has quit IRC07:50
*** yangyapeng has joined #openstack-mistral07:51
*** jaosorior has quit IRC07:55
rakhmerovd0ugal: that would be great, there's not much work there I think07:56
rakhmerovit's just something that we left after refactoring07:57
d0ugalYup, I think it should be easy - just finding the right place to pass in the context.07:58
d0ugalIt is a little worrying that no tests fail :)07:58
*** jpich has joined #openstack-mistral07:59
*** yangyapeng has quit IRC08:05
*** jtomasek has joined #openstack-mistral08:05
*** yangyapeng has joined #openstack-mistral08:06
*** yangyapeng has quit IRC08:10
*** jaosorior has joined #openstack-mistral08:19
*** yangyapeng has joined #openstack-mistral08:25
*** yangyapeng has quit IRC08:30
*** zhurong has joined #openstack-mistral08:44
rakhmerovd0ugal: yes08:45
rakhmerovone more thing that I'm slightly worried about is that you probably have actions based on mistral-lib's Action that take "context" and potentially use it08:46
rakhmerovif we change its structure you'll need to fix these actions in TripleO08:46
d0ugalrakhmerov: right, I've not had a chance to take a close look yet. I am working on a different bug08:49
d0ugalI'll try and get to it soon, but hopefully we don't have to change it or we can maybe do something to make it easy to migrate08:50
rakhmerovwell, yes, if TripleO actions don't yet use "context" then it's fine08:50
rakhmerovwe don't need to change anything08:50
rakhmerovd0ugal: ok, thanks08:50
d0ugalrakhmerov: we use context :)08:51
rakhmerov:)08:51
d0ugalauth_uri, user_name, auth_token, project_name, project_id, insecure08:53
rakhmerovooh08:53
d0ugalrakhmerov: A quick search of tripleo_common reveals we use those properties on context08:53
rakhmerovbad news08:53
rakhmerov)08:53
d0ugalbut I think i don't fully understand the bug yet08:55
d0ugalI'll need to do some investigation shortly08:55
*** openstackgerrit has joined #openstack-mistral09:09
openstackgerritRenat Akhmerov proposed openstack/mistral master: Use @db_utils.retry_on_deadlock to retry scheduler transactions  https://review.openstack.org/50165709:09
rakhmerovd0ugal: ok, sure, ping me if needed09:10
rakhmerovI'll explain09:10
rakhmerovd0ugal: also, please review https://review.openstack.org/#/c/501657/ when you have a few mins09:11
rakhmerovpretty important09:11
d0ugalk, I'll look once I get a fresh coffee ;)09:13
d0ugal:)09:13
d0ugalback in 509:13
rakhmerov:)09:14
rakhmerovit passes the tests, I just added docstrings per Andras's requrest09:14
rakhmerovd0ugal: I'm looking at https://review.openstack.org/#/c/504305/2/etc/README.mistral.conf, is it really true that we now need to support a config in trunk?09:18
rakhmerovIt used to be true long ago then it changed again09:19
rakhmerovso now they decided to go back to the old idea?09:19
rakhmerovis there any requirement published somewhere maybe?09:19
d0ugalrakhmerov: That change doesn't add it back - it just adds a README to make it clearer how to generate the config09:20
d0ugalI'm not sure it is really needed, but I thought "why not"09:20
rakhmerovThe mistral.conf sample file is no longer generated and09:21
rakhmerovmaintained in Trunk.09:21
rakhmerovthis is slightly confusing09:21
d0ugallol09:21
rakhmerovhm..09:21
d0ugalthat just states the current situation09:21
rakhmerovwell, true, yeah..09:21
rakhmerovok, let it be! )09:21
d0ugallet me see what other projects do...09:21
d0ugalrakhmerov: https://github.com/openstack/nova/blob/master/etc/nova/README-nova.conf.txt09:22
d0ugalnova has something similar.09:22
rakhmerovok09:22
rakhmerovthanks09:22
openstackgerritMerged openstack/mistral-dashboard master: Fix CSS for "Cancel" button in workflow execution  https://review.openstack.org/50369909:24
openstackgerritMerged openstack/mistral master: Update URL and indentations  https://review.openstack.org/49348209:51
*** zhurong has quit IRC10:22
*** thrash|g0ne is now known as thrash10:38
*** jkilpatr has quit IRC10:44
d0ugalrakhmerov: so I think I understand11:08
rakhmerovok11:08
d0ugalrakhmerov: basically we just need a "action context" that contains some of the current information plus some other details?11:09
rakhmerovthere's no access now to things like "workflow_execution_id"11:09
d0ugalRight11:09
rakhmerovyes11:09
d0ugaland I think that is a very logical thing to want11:09
d0ugalOkay, I'll work on a patch this afternoon.11:09
rakhmerovwe moved away from "action_context" parameter in initializers in favor of "context" in run() method11:09
d0ugalYup11:10
rakhmerovbut it doesn't provide this info11:10
rakhmerovone more thing, I believe we may want to insert same condition (if mistral_lib blablabla) in the engine where we fulfill this "action_context" param11:10
d0ugalrakhmerov: I think to do the transition the ActionContext will need to keep all the old names, but maybe as @property functions that output deprecation warnings11:10
rakhmerovyeah11:11
rakhmerovsomehow we need to make this transition11:11
d0ugalThen we can design what the context should look like and we can transition tripleo over (and give anyone else that has found it time too)11:11
d0ugalI think it should be easy :)11:11
rakhmerovok11:11
d0ugaland then just need to backport it to Pike11:11
d0ugalI think it'll take 3 patches and 3 backports :)11:12
*** jkilpatr has joined #openstack-mistral11:16
*** pratapagoutham has joined #openstack-mistral11:30
pratapagouthamhttps://review.openstack.org/#/c/505240/ can anyone review this commit ??11:32
*** bobh has joined #openstack-mistral11:52
openstackgerritMerged openstack/mistral master: Add root_execution_id to sub-workflow executions  https://review.openstack.org/49006312:00
*** bobh has quit IRC12:08
*** dprince has joined #openstack-mistral12:09
*** xavierhardy has left #openstack-mistral12:22
*** niraj_singh has joined #openstack-mistral12:28
niraj_singhi am creating dashboard for masakari. i took reference of mistral but getting an error "Danger: There was an error submitting the form. Please try again." after clicking on create button.12:31
niraj_singhis there any clue about above problem??12:33
*** bobh has joined #openstack-mistral12:59
*** catintheroof has joined #openstack-mistral13:02
*** pratapagoutham has quit IRC13:21
*** chlong has joined #openstack-mistral13:40
*** zhurong has joined #openstack-mistral13:55
*** gkadam has joined #openstack-mistral14:04
*** apetrich has quit IRC14:27
*** apetrich has joined #openstack-mistral14:27
*** gkadam is now known as gkadam-afk14:37
*** zhurong has quit IRC15:05
d0ugalniraj_singh: do you have any tracebacks in the logs?15:27
d0ugalniraj_singh: I would probably ask in the horizon channel (I assume there is one)15:29
*** jtomasek has quit IRC15:36
openstackgerritMerged openstack/mistral master: Use @db_utils.retry_on_deadlock to retry scheduler transactions  https://review.openstack.org/50165716:46
*** shardy has quit IRC16:48
*** jpich has quit IRC16:50
*** gkadam-afk is now known as gkadam-away17:05
*** toure is now known as toure_biab17:22
*** toure_biab is now known as toure18:22
*** toure is now known as toure_biab20:04
*** catintheroof has quit IRC20:32
*** dprince has quit IRC20:41
*** jistr has quit IRC20:52
*** jkilpatr has quit IRC21:05
*** dprince has joined #openstack-mistral21:11
*** jkilpatr has joined #openstack-mistral21:25
*** chlong has quit IRC21:26
*** kong_ has joined #openstack-mistral21:33
*** kong has quit IRC21:33
*** kong_ is now known as kong21:33
*** dprince has quit IRC22:02
*** catintheroof has joined #openstack-mistral22:15
*** bobh has quit IRC22:16
*** bobh has joined #openstack-mistral22:17
*** bobh has quit IRC22:21
*** thrash is now known as thrash|g0ne22:47
*** jistr has joined #openstack-mistral22:53
*** jistr has quit IRC23:02
*** jistr has joined #openstack-mistral23:04
*** catintheroof has quit IRC23:19
*** bobh has joined #openstack-mistral23:23
*** bobh has quit IRC23:52

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