Thursday, 2016-08-04

*** toddjohn has quit IRC00:09
*** toddjohn has joined #openstack-mistral00:15
*** toddjohn has quit IRC00:17
*** toddjohn has joined #openstack-mistral00:17
*** toddjohn has quit IRC00:23
*** tonytan4ever has joined #openstack-mistral00:33
*** tonytan4ever has quit IRC00:38
*** toddjohn has joined #openstack-mistral00:54
*** toddjohn has quit IRC00:55
*** toddjohn has joined #openstack-mistral00:55
*** bobh has quit IRC01:05
*** toddjohn has quit IRC01:17
*** toddjohn has joined #openstack-mistral01:26
*** toddjohn has quit IRC01:49
*** dmellado has quit IRC01:57
*** dmellado has joined #openstack-mistral02:02
*** toddjohn has joined #openstack-mistral02:50
*** toddjohn has quit IRC02:54
*** toddjohn has joined #openstack-mistral03:21
*** toddjohn has quit IRC03:26
openstackgerritMerged openstack/mistral: Towards non-locking model: Add 'unique_key' for delayed calls  https://review.openstack.org/34944504:11
openstackgerritLucky samadhiya proposed openstack/mistral: changes cron-trigger for show execution times in UTC timezone Closes-Bug: #1592164  https://review.openstack.org/34814604:29
openstackbug 1592164 in Mistral "cron-trigger shows execution times in local timezone" [Undecided,In progress] https://launchpad.net/bugs/1592164 - Assigned to Lucky samadhiya (lucky-samadhiya)04:29
openstackgerritMerged openstack/mistral: Updated from global requirements  https://review.openstack.org/35067004:46
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: removing env update from WF controller  https://review.openstack.org/34946604:51
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: add insert_with_ignore() on DB API  https://review.openstack.org/35097704:51
rakhmerovkong, hparekh, ddeja: guys, can you please review https://review.openstack.org/#/c/349457/ and https://review.openstack.org/#/c/349466/ ?04:52
rakhmerovthey remove some crap from workflow controllers04:52
rakhmerovthey are simple04:52
rakhmerovhparekh: btw, I didn't understand your comment about env update in the last one04:52
rakhmerovplease explain04:52
*** janki has joined #openstack-mistral05:02
*** janki has quit IRC05:06
hparekhrakhmerov, we can check env is none or not in _update_env_ method so that we can eliminate use of "if env" condition everytime we call this method05:09
rakhmerovooh, I see05:10
rakhmerovok, I'll fix it05:10
*** janki has joined #openstack-mistral05:14
*** toddjohn has joined #openstack-mistral05:23
*** toddjohn has quit IRC05:27
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: removing env update from WF controller  https://review.openstack.org/34946606:05
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: add insert_with_ignore() on DB API  https://review.openstack.org/35097706:05
*** jtomasek has quit IRC06:09
*** Ravikiran_K has joined #openstack-mistral06:12
openstackgerritLucky samadhiya proposed openstack/mistral: changes cron-trigger for show execution times in UTC timezone Closes-Bug: #1592164  https://review.openstack.org/34814606:13
openstackbug 1592164 in Mistral "cron-trigger shows execution times in local timezone" [Undecided,In progress] https://launchpad.net/bugs/1592164 - Assigned to Lucky samadhiya (lucky-samadhiya)06:13
*** toddjohn has joined #openstack-mistral06:24
*** toddjohn has quit IRC06:28
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: add insert_or_ignore() on DB API  https://review.openstack.org/35097706:39
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: use insert_or_ignore() for delayed calls  https://review.openstack.org/35102506:48
openstackgerritDougal Matthews proposed openstack/mistral: Fix the use of both adhoc actions and "with-items" in workflows  https://review.openstack.org/33769606:59
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: use insert_or_ignore() for delayed calls  https://review.openstack.org/35102507:05
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: add insert_or_ignore() on DB API  https://review.openstack.org/35097707:05
rakhmerovhparekh: I addressed your comment with env but partially, I left one "if" condition just for efficiency, just not to iterate through commands w/o taking any action07:11
rakhmerovhope it's ok07:11
d0ugalrakhmerov: I replied to your comment on https://review.openstack.org/#/c/337696/ - let me know if that doesn't make sense07:14
rakhmerovd0ugal: yeah, I saw07:14
rakhmerovd0ugal: can you please explain though how exactly this fixes that bug?07:15
rakhmerovseems like I'm still not understanding..07:15
d0ugalrakhmerov: I wrote the test that demonstrates the bug, ddeja found the fix. I don't fully understand it either (and it makes me feel less stupid that you don't too! :) )07:16
d0ugalbut I think he just looked at the difference between the two tasks and found that the validate wasn't called07:16
rakhmerovhahaha :))))07:16
d0ugal(two tasks = regular tasks and with items tasks)07:17
rakhmerovoooh, yes07:17
rakhmerovnow I see07:17
rakhmerovit's actually a stupid issue that we now have in our code07:17
rakhmerovI'll explain in a minute..07:17
d0ugallol07:17
d0ugalThanks :)07:18
rakhmerovyeah, found it07:22
rakhmerovsec07:22
rakhmerovhttps://github.com/openstack/mistral/blob/master/mistral/engine/utils.py#L2707:22
rakhmerovlook at my comment :)07:22
d0ugalrakhmerov: aha, but it does?07:23
rakhmerovyes07:23
rakhmerovit's a stupid issue, legacy of our old code base07:23
rakhmerovso I know about it and it will be eliminated pretty soon07:24
d0ugalGreat07:24
rakhmerov"side-effect based programming" :)07:24
d0ugalIt's the worst :)07:24
rakhmerovbut, in fact, this bug helped us reveal another bug07:24
rakhmerovwe were missing validation in case of with-items )07:25
d0ugalhaha, true07:25
d0ugalwe need more useful bugs :)07:25
rakhmerovyes :)07:26
rakhmerovok, I voted +207:26
d0ugalrakhmerov: Thanks!07:26
*** openstackgerrit has quit IRC07:33
*** openstackgerrit has joined #openstack-mistral07:33
*** vishwanathj has quit IRC07:44
*** shardy has joined #openstack-mistral07:48
*** jpich has joined #openstack-mistral08:00
openstackgerritMerged openstack/mistral: Fix the use of both adhoc actions and "with-items" in workflows  https://review.openstack.org/33769608:22
*** toddjohn has joined #openstack-mistral08:25
*** toddjohn has quit IRC08:30
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: use insert_or_ignore() for delayed calls  https://review.openstack.org/35102508:41
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: add insert_or_ignore() on DB API  https://review.openstack.org/35097708:41
*** mflobo has joined #openstack-mistral08:43
*** wewe1e has joined #openstack-mistral08:53
*** janki has quit IRC09:21
*** wewe1e has quit IRC09:22
*** dulek has quit IRC09:25
*** dulek has joined #openstack-mistral09:27
*** janki has joined #openstack-mistral09:30
*** mflobo has left #openstack-mistral09:45
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: decouple WF completion check via scheduler  https://review.openstack.org/35109810:07
openstackgerritprince_katiyar proposed openstack/python-mistralclient: Add error message when OS_USERNAME or OS_PASSWORD not provided  https://review.openstack.org/34814210:11
*** toddjohn has joined #openstack-mistral10:27
*** chlong has quit IRC10:28
*** toddjohn has quit IRC10:31
*** chlong has joined #openstack-mistral10:41
*** janki has quit IRC10:46
*** janki has joined #openstack-mistral10:50
*** jaosorior has joined #openstack-mistral10:51
*** janki has quit IRC10:56
*** Ravikiran_K has quit IRC11:04
*** janki has joined #openstack-mistral11:13
*** chlong has quit IRC11:27
*** chlong has joined #openstack-mistral11:28
*** janki has quit IRC11:35
openstackgerritJuan Antonio Osorio Robles proposed openstack/mistral: Use actual session for ironic-inspector action population  https://review.openstack.org/35113411:40
*** dulek has quit IRC11:43
*** dulek has joined #openstack-mistral11:45
jaosoriorAre there cases were mistral won't use keystone?11:47
*** janki has joined #openstack-mistral11:47
openstackgerritJuan Antonio Osorio Robles proposed openstack/mistral: Use actual session for ironic-inspector action population  https://review.openstack.org/35113411:55
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: decouple WF completion check via scheduler  https://review.openstack.org/35109811:56
openstackgerritJuan Antonio Osorio Robles proposed openstack/mistral: Use actual session for ironic-inspector action population  https://review.openstack.org/35113411:56
*** janki has quit IRC12:02
*** janki has joined #openstack-mistral12:02
openstackgerritRenat Akhmerov proposed openstack/mistral: Towards non-locking model: decouple WF completion check via scheduler  https://review.openstack.org/35109812:08
*** janki has quit IRC12:09
openstackgerritJuan Antonio Osorio Robles proposed openstack/mistral: Use actual session for ironic-inspector action population  https://review.openstack.org/35113412:14
jaosoriord0ugal: should I post the message in the previous exception?12:16
jaosoriord0ugal: And I think it should be a LOG.warning, since it's non-fatal12:17
d0ugaljaosorior: post the message?12:17
jaosoriorstr(exception)12:17
d0ugalYeah, warning would probably make more sense (I suggested .exception as it will show the message and traceback in the logs)12:17
openstackgerrithardik proposed openstack/mistral: Filtering support for actions.  https://review.openstack.org/26997112:18
d0ugaljaosorior: Yeah, so: LOG.warning(str(exception))12:18
d0ugaljaosorior: The original line is "return cls._get_client_class()(1)"12:18
d0ugalin the except you removed the 1 from "()"12:19
d0ugalDoes that matter? I have no idea what it means.12:19
openstackgerritJuan Antonio Osorio Robles proposed openstack/mistral: Use actual session for ironic-inspector action population  https://review.openstack.org/35113412:21
jaosoriord0ugal: that 1 was attempting to use a specific version for the ironic-inspector client. But that didn't address the original issue in the end.12:21
jaosoriorSo having the same call without the parenthesis is pretty much the same thing12:21
d0ugaljaosorior: cool, thanks12:21
jaosoriord0ugal: Does that look better? ^^12:22
d0ugaljaosorior: Yup, I think so.12:22
jaosoriortesting it out12:23
d0ugaljaosorior: +1'ed - I wonder if we need to setup the middlewear anywhere else.12:23
jaosoriord0ugal: What do you mean?12:24
*** janki has joined #openstack-mistral12:24
d0ugaljaosorior: You added a few lines to tools/sync_db.py, do we need to do that at other entry points?12:25
d0ugalI guess I just don't understand why it is added there only.12:25
jaosoriord0ugal: Right, so the keystonemiddleware options from the configuration are magically registered when this constructor is called https://github.com/openstack/mistral/blob/master/mistral/api/access_control.py#L4112:25
jaosoriorso for the normal case, where the API is started, it already has those options available thanks to that call12:25
jaosoriorwhich was not the case for the sync_db call. That doesn't use it12:26
jaosoriorthat's why that register_opts was not necessary elsewhere12:26
d0ugaljaosorior: I see, thanks!12:27
*** dprince has joined #openstack-mistral12:28
jaosoriord0ugal: Yeah dude, I was pretty confused at first12:28
*** toddjohn has joined #openstack-mistral12:28
*** toddjohn has quit IRC12:33
openstackgerritMerged openstack/mistral: Towards non-locking model: fix obvious workflow controller issues  https://review.openstack.org/34945712:34
*** toddjohn has joined #openstack-mistral12:39
openstackgerritMerged openstack/mistral: Towards non-locking model: removing env update from WF controller  https://review.openstack.org/34946612:40
*** janki has quit IRC12:48
*** toddjohn has quit IRC12:55
openstackgerritMerged openstack/mistral: Add state info for synchronous actions run from CLI  https://review.openstack.org/34999312:57
*** nmakhotkin has joined #openstack-mistral13:00
*** jpich has quit IRC13:03
openstackgerritMerged openstack/mistral: Fixed trivial issue in exception message  https://review.openstack.org/34875413:08
*** toddjohn has joined #openstack-mistral13:09
*** toddjohn has quit IRC13:13
*** janki has joined #openstack-mistral13:15
*** janki has quit IRC13:18
*** nmakhotkin has quit IRC13:20
*** bobh has joined #openstack-mistral13:24
*** bobh has quit IRC13:30
*** toddjohn has joined #openstack-mistral13:38
jaosoriorIf people have time, this commit could use some reviews :D https://review.openstack.org/#/c/351134/13:40
*** jpich has joined #openstack-mistral13:45
*** bobh has joined #openstack-mistral13:51
openstackgerrithardik proposed openstack/mistral: Added support for SSL connection in mistra-api server  https://review.openstack.org/34459813:55
openstackgerrithardik proposed openstack/mistral: Filtering support for actions.  https://review.openstack.org/26997114:02
*** mflobo has joined #openstack-mistral14:15
*** jaosorior has quit IRC14:17
*** vishwanathj has joined #openstack-mistral14:32
*** catintheroof has joined #openstack-mistral14:32
*** rrecio has joined #openstack-mistral15:02
*** catintheroof has quit IRC15:25
d0ugalrakhmerov, ddeja - if you have a moment, we are having problems in TripleO's CI, this should fix it: https://review.openstack.org/#/c/351134/15:32
*** toddjohn has quit IRC16:01
*** kro_focused is now known as krotscheck16:32
*** toddjohn has joined #openstack-mistral16:42
*** jpich has quit IRC16:57
*** dprince has quit IRC17:24
*** mflobo1 has joined #openstack-mistral17:35
*** mflobo has quit IRC17:35
*** shardy has quit IRC17:39
*** dprince has joined #openstack-mistral17:41
*** vishwanathj has quit IRC17:48
*** mflobo1 has quit IRC17:55
*** toddjohn has quit IRC18:16
*** toddjohn has joined #openstack-mistral18:16
*** tonytan4ever has joined #openstack-mistral18:21
*** toddjohn has quit IRC18:59
*** toddjohn has joined #openstack-mistral19:01
*** vishwanathj has joined #openstack-mistral19:19
*** vishwanathj has quit IRC19:21
*** vishwanathj has joined #openstack-mistral19:21
*** vishwanathj has quit IRC19:31
*** vishwanathj has joined #openstack-mistral19:31
*** vishwanathj has quit IRC19:33
*** vishwanathj has joined #openstack-mistral19:33
*** tonytan_brb has joined #openstack-mistral19:36
*** tonytan4ever has quit IRC19:38
*** rakhmerov has quit IRC19:53
*** rakhmerov has joined #openstack-mistral19:57
*** vishwanathj has quit IRC19:59
*** vishwanathj has joined #openstack-mistral19:59
*** mflobo has joined #openstack-mistral20:02
*** vishwanathj has quit IRC20:14
*** vishwanathj has joined #openstack-mistral20:14
*** toddjohn has quit IRC20:16
*** catintheroof has joined #openstack-mistral20:30
*** vishwanathj has quit IRC20:38
*** vishwanathj has joined #openstack-mistral20:39
*** vishwanathj has quit IRC20:40
*** vishwanathj has joined #openstack-mistral20:41
*** tonytan_brb has quit IRC20:48
*** vishwanathj has quit IRC21:05
*** vishwanathj has joined #openstack-mistral21:06
*** vishwanathj has quit IRC21:11
*** vishwanathj has joined #openstack-mistral21:11
*** vishwanathj has quit IRC21:13
*** vishwanathj has joined #openstack-mistral21:13
*** vishwanathj has quit IRC21:16
*** vishwanathj has joined #openstack-mistral21:16
*** bobh_ has joined #openstack-mistral21:17
*** bobh has quit IRC21:18
*** vishwanathj has quit IRC21:24
*** vishwanathj has joined #openstack-mistral21:24
*** vishwanathj has quit IRC21:37
*** vishwanathj has joined #openstack-mistral21:37
*** vishwanathj has quit IRC21:38
*** vishwanathj has joined #openstack-mistral21:39
*** vishwanathj has quit IRC21:44
*** vishwanathj has joined #openstack-mistral21:45
*** vishwanathj has quit IRC21:49
*** vishwanathj has joined #openstack-mistral21:50
*** vishwanathj has quit IRC21:53
*** vishwanathj has joined #openstack-mistral21:54
*** dprince has quit IRC21:59
*** vishwanathj has quit IRC22:14
*** vishwanathj has joined #openstack-mistral22:15
*** bobh_ has quit IRC22:16
*** rrecio has quit IRC22:26
*** mflobo has quit IRC22:59
*** catintheroof has quit IRC23:13
*** toddjohn has joined #openstack-mistral23:34
*** toddjohn has quit IRC23:38
*** toddjohn has joined #openstack-mistral23:38
*** rrecio_ has joined #openstack-mistral23:44
*** catintheroof has joined #openstack-mistral23:46
*** rrecio_ has quit IRC23:49
*** rrecio has joined #openstack-mistral23:50
*** vishwanathj has quit IRC23:56

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