Wednesday, 2017-07-05

*** bobh has joined #openstack-mistral00:04
*** jkilpatr has quit IRC00:47
*** gongysh has joined #openstack-mistral02:33
*** openstackgerrit has joined #openstack-mistral03:03
openstackgerritmelissaml proposed openstack/python-mistralclient master: Use assertTrue/False(A) instead of assertEqual(True/False, A)  https://review.openstack.org/48033503:03
*** gkadam has joined #openstack-mistral03:24
*** gkadam has quit IRC03:26
*** gkadam has joined #openstack-mistral03:27
*** gongysh has quit IRC03:54
*** gongysh has joined #openstack-mistral04:26
openstackgerritmelissaml proposed openstack/python-mistralclient master: Use assertTrue/False(A) instead of assertEqual(True/False, A)  https://review.openstack.org/48033504:57
openstackgerritSharat Sharma proposed openstack/mistral master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47979105:10
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47980405:10
*** livelace has joined #openstack-mistral05:26
openstackgerritKien Nguyen proposed openstack/mistral master: Update .gitignore  https://review.openstack.org/47741906:22
*** sharatss has joined #openstack-mistral06:32
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Enable warning-is-error in doc build  https://review.openstack.org/48036806:41
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037207:00
*** jpich has joined #openstack-mistral07:13
*** shardy has joined #openstack-mistral07:16
rakhmerovxavierhardy: hi, can you please explain your question in https://review.openstack.org/#/c/476514 more detailed?07:31
rakhmerovI don't quite get it07:31
xavierhardysync_db is broken because of my changes, how do I fix it?07:33
rakhmerovyou wrote "the actions (unlike workflows) are updated and not wiped out". How is it related to app context?07:33
xavierhardyit does07:33
xavierhardybecause it tries to edit actions07:33
xavierhardyit does not happen for workflows07:34
xavierhardyin sync_db07:34
xavierhardybecause workflows are erased and then created again07:34
xavierhardyso it never meets the permission code in the case of workflows07:34
xavierhardy(so no need for an app context)07:38
xavierhardy(in the case of workflows)07:38
rakhmerovaah, just a sec..07:38
rakhmerovI think I understood07:38
xavierhardyThe question is07:38
xavierhardydo I fix the discrepancy in the way sync_db behaves with workflows and actions ?07:38
xavierhardyor07:38
xavierhardydo I monkey patch/add a fake application context to make it work ?07:39
rakhmerovYes, I think so07:39
rakhmerovyes07:39
rakhmerovI see no reason why we should have this inconsistency07:39
rakhmerovbetween how workflows and actions are handled07:39
xavierhardywhich would mean: workflows are updated like actions (after the fix) and an application context is added to satisfy the permission code07:40
rakhmerovyes07:40
rakhmerovif my understanding of this all is correct then it looks ok to me07:40
rakhmerovcan you propose the fix?07:40
rakhmerovand it'd be cool if you could finish https://review.openstack.org/#/c/477816/07:41
xavierhardywhen I get the time, yes definitely07:44
xavierhardyI don't know if I'll be able to do it this week.07:44
*** d0ugal has joined #openstack-mistral07:46
*** d0ugal has quit IRC07:46
*** d0ugal has joined #openstack-mistral07:46
rakhmerovxavierhardy: no problem07:49
rakhmerovwhen you have a chance07:49
*** shardy is now known as shtab08:27
*** shtab is now known as shardy08:27
*** jtomasek has joined #openstack-mistral08:29
d0ugalrakhmerov: Hey08:54
rakhmerovhi08:54
d0ugalrakhmerov: I mentioned this before, about getting sub-workflow executions. I would like to add something to the API to make it possible08:55
rakhmerovok08:55
rakhmerovwhat exactly?08:55
d0ugalso you could do something like "mistral execution-list EXECUTION_ID" and then mistral action-execution-list EXECUTION_ID --include-sub-workflows"08:55
d0ugaland the same for task-list08:56
rakhmerovbtw, just filed today: https://bugs.launchpad.net/mistral/+bug/170242108:56
openstackLaunchpad bug 1702421 in Mistral "It's impossible to set "equal to None" filter when calling REST API" [High,New]08:56
d0ugalso my quesiton is - what do you think about that idea? and what would you call it or how would you add it?08:56
rakhmerova little bit related08:56
d0ugalhah08:56
d0ugalMaybe I can look at fixing that too08:56
rakhmerovok08:57
openstackgerritMerged openstack/mistral master: Add cron name/id to workflow execution description  https://review.openstack.org/45838408:57
rakhmerovso, 1) mistral execution-list EXECUTION_ID - seems fine because it doesn't conflict with the existing protocol, afaik there aren't positional arguments for this command08:58
rakhmerov2) action-execution-list EXECUTION_ID --include-sub-workflows - conflicts with the existing positional argument which is "task_execution_id"08:58
d0ugalah08:59
rakhmerovyeah08:59
d0ugalgood point. --include-sub-workflows is also horrible flag name, just an example :)08:59
rakhmerovfor 3) task-list - seems fine in conjunction with --include-sub-workflows08:59
rakhmerovyeah, I understand09:00
rakhmerovso maybe we can just add a named argument for all these commands?09:00
d0ugalfor example?09:00
rakhmerovmistral execution-list top-level-workflow-execution-id=1111-2222-333309:01
rakhmerov(name is horrible too)09:01
d0ugalright09:01
rakhmerovsomething like this09:01
rakhmerovbecause positional argument in our case historically means "direct parent"09:02
rakhmerovI mean it was just designed so historically09:02
d0ugalyup09:02
rakhmerovooh, I didn't put "--"09:03
rakhmerovmistral execution-list --top-level-workflow-execution-id=1111-2222-333309:03
rakhmerovbut you got it..09:03
d0ugalyeah, I did09:03
rakhmerovor maybe --root-execution-id09:03
rakhmerovfor now09:03
d0ugalI think having these options would solve many of my issues with debugging09:03
rakhmerovuntil we redesign it all in v309:04
d0ugal:)09:04
rakhmerovI understand, yes, it would be useful for lots of people09:04
rakhmerovI mean we could omit "workflow" in naming for now because we don't use it in "mistral execution-list", for example09:04
rakhmerovagain, for historical reasons09:05
d0ugalRight09:05
rakhmerovseems ok to you?09:06
d0ugalrakhmerov: yup, I think so - I'll see if I can try and get something working09:06
d0ugalrakhmerov: --root-execution may even be enough - or do we normally explicitly say ID?09:06
rakhmerovyeah, I think --root-execution is ok09:10
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037209:13
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Enable warning-is-error in doc build  https://review.openstack.org/48036809:24
*** jtomasek has quit IRC09:26
rakhmerovd0ugal: as far as https://bugs.launchpad.net/mistral/+bug/1702421, please hold on with it for a little while09:28
openstackLaunchpad bug 1702421 in Mistral "It's impossible to set "equal to None" filter when calling REST API" [High,New]09:28
d0ugalrakhmerov: sure09:28
rakhmerovwe discussed it internally with my colleagues and what I proposed in the description doesn't look the best option anymore :)09:29
rakhmerovwe'll leave our comments and let you know09:29
d0ugalhaha, okay :)09:29
d0ugalthanks!09:29
rakhmerovok09:29
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037209:54
openstackgerritMerged openstack/python-mistralclient master: Enable some off-by-default checks  https://review.openstack.org/47783710:02
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037210:08
openstackgerritMerged openstack/mistral master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47979110:10
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Enable warning-is-error in doc build  https://review.openstack.org/48036810:10
sharatssrakhmerov, d0ugal hi10:22
rakhmerovhi Sharat10:22
sharatssfor the doc-migration we may have to restructure our doc directory10:23
sharatssrakhmerov, any suggestions on restructuring?10:24
rakhmerovsharatss: it's being taken care of10:24
rakhmerovplease don't proceed with it10:24
sharatssrakhmerov, ok10:25
rakhmerovit should be restructured soon10:25
rakhmerovdays10:25
openstackgerritMerged openstack/python-mistralclient master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47980410:27
openstackgerritSharat Sharma proposed openstack/mistral master: Turn on warning-is-error for sphinx_build  https://review.openstack.org/48050410:27
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037210:30
openstackgerritSharat Sharma proposed openstack/mistral-specs master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/48037210:39
*** shardy is now known as shardy_lunch11:08
*** gongysh has quit IRC11:09
*** jkilpatr has joined #openstack-mistral11:20
*** Guest7130 is now known as rook11:37
openstackgerritSharat Sharma proposed openstack/mistral master: Turn on warning-is-error for sphinx_build  https://review.openstack.org/48050411:38
*** vishwanathj has joined #openstack-mistral12:03
*** vishwanathj has quit IRC12:04
*** gongysh has joined #openstack-mistral12:11
*** toure|gone is now known as toure12:21
*** thrash|g0ne is now known as thrash12:23
*** dprince has joined #openstack-mistral12:26
*** gongysh has quit IRC12:38
*** shardy_lunch is now known as shardy12:41
rakhmerovd0ugal: I left a comment in https://bugs.launchpad.net/mistral/+bug/170242112:52
openstackLaunchpad bug 1702421 in Mistral "It's impossible to set "equal to None" filter when calling REST API" [High,New]12:52
rakhmerovplease read it when you have a chance12:52
rakhmerovmaybe you'll have some better ideas12:52
*** jkilpatr has quit IRC13:11
*** jkilpatr has joined #openstack-mistral13:11
*** jkilpatr has quit IRC13:17
*** catintheroof has joined #openstack-mistral13:18
d0ugalrakhmerov: thanks.13:27
d0ugalI'll take a look shortly13:27
*** brunograz has joined #openstack-mistral13:28
*** jkilpatr has joined #openstack-mistral13:30
*** gkadam has quit IRC13:33
*** sharatss has quit IRC13:37
*** zhurong has joined #openstack-mistral13:44
*** Guest14421 has joined #openstack-mistral13:46
*** bobh has quit IRC13:54
*** zhurong has quit IRC14:09
openstackgerritMerged openstack/mistral master: Remove .testrepository directory from testenv  https://review.openstack.org/46168314:31
*** chlong_ has joined #openstack-mistral14:31
*** bobh has joined #openstack-mistral14:32
openstackgerritMerged openstack/mistral master: Use recommended function to setup auth middleware in devstack  https://review.openstack.org/47379615:00
*** chlong has joined #openstack-mistral15:23
*** chlong has quit IRC15:26
openstackgerritGergely Csatari proposed openstack/mistral master: WIP: Applying Pike document structure  https://review.openstack.org/48064315:32
*** chlong_ has quit IRC15:58
*** Guest14421 has quit IRC16:06
*** chlong_ has joined #openstack-mistral16:15
*** livelace has quit IRC16:46
*** jpich has quit IRC17:12
*** chlong_ has quit IRC17:21
*** chlong_ has joined #openstack-mistral17:33
*** gkadam has joined #openstack-mistral17:48
*** gkadam has quit IRC18:19
openstackgerritmelissaml proposed openstack/python-mistralclient master: Use assertIsNone instead of assertEqual(None, ***)  https://review.openstack.org/48070519:05
*** chlong_ has quit IRC19:14
*** chlong_ has joined #openstack-mistral19:30
*** chlong_ has quit IRC19:55
*** shardy has quit IRC20:35
*** chlong_ has joined #openstack-mistral20:44
*** rbrady is now known as rbrady-afk21:03
*** dprince has quit IRC21:06
*** bobh has quit IRC21:11
*** thrash is now known as thrash|g0ne21:16
*** chlong_ has quit IRC21:18
*** bobh has joined #openstack-mistral21:45
*** bobh has quit IRC22:02
*** catintheroof has quit IRC23:47

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