Wednesday, 2015-10-21

*** Piet has joined #openstack-mistral00:07
*** achanda has quit IRC00:23
*** bobh has quit IRC00:25
*** achanda has joined #openstack-mistral00:26
*** gyee has quit IRC01:15
*** dmowrer has joined #openstack-mistral01:33
*** dmowrer has quit IRC01:38
*** bobh has joined #openstack-mistral02:52
*** achanda has quit IRC02:53
*** achanda has joined #openstack-mistral02:56
*** achanda has quit IRC02:57
*** bobh has quit IRC03:16
*** bobh has joined #openstack-mistral03:26
*** bobh has quit IRC03:28
xylan_kongping rakhmerov03:50
*** achanda has joined #openstack-mistral04:27
openstackgerrithardik proposed openstack/mistral: Refactored filter implementation.  https://review.openstack.org/23462504:27
*** achanda has quit IRC04:32
*** achanda has joined #openstack-mistral04:35
*** openstackgerrit has quit IRC05:16
*** openstackgerrit has joined #openstack-mistral05:17
*** dmowrer has joined #openstack-mistral05:29
*** dmowrer has quit IRC05:33
rakhmerovxylan_kong: here06:43
*** sergmelikyan has joined #openstack-mistral06:56
*** sergmelikyan has quit IRC07:06
*** jongchoi has joined #openstack-mistral07:30
*** dmowrer has joined #openstack-mistral07:40
*** dmowrer has quit IRC07:45
*** melisha has joined #openstack-mistral07:50
melishaHi, all. We were occasionally encountering a "Failed to find action" error on various system actions like "std.echo" and "std.http" and we were trying to track the reason for that.07:52
melishaWe were reviewing the fix for https://review.openstack.org/#/c/223536 and we think we understand the issue07:52
melishaOur setups are running puppet and every X minutes they run "puppet agent -t" to make sure the VM is up to date07:53
melishaThis causes the mistral-db-manager to run again and reinstall all system actions / workflows07:53
melishaDuring that time - running workflows are failing07:53
*** achanda has quit IRC08:10
*** achanda has joined #openstack-mistral08:13
rakhmerovmelisha: hi08:13
rakhmerovyou mean this happens because mistral-db-manage deletes standard actions before recreating them?08:14
melisharakhmerov: Hi. Yes08:14
*** achanda has quit IRC08:15
rakhmerovhm.. thinking08:15
rakhmerovso the better way would be not to delete them08:15
melishaYes. We could do an update instead of delete / create08:16
melishaOr we can put the while thing in a transaction and commit only after both delete and create are done08:16
rakhmerovyes08:16
melishaI think transaction is simpler, right?08:17
rakhmerovit will only work thought for REPEATABLE READ transactions08:17
rakhmerovright, transaction approach looks simpler08:17
melishaREAD COMMITTED08:17
melisha?08:17
rakhmerovI thought REPEATABLE READ because we need consistency on a DB table rows level08:18
rakhmerovsay during update we understood that part of actions are gone (unlikely)08:18
rakhmerovso that leads to the point that we shouldn't see an inconsistent state of the whole table08:19
rakhmerovwhen part of actions are up to date already and part are not08:19
*** achanda has joined #openstack-mistral08:20
rakhmerovif we need that level of consistency then we need REPEATABLE READ08:20
rakhmerovif we're ok that Mistral sees at some point partially obsolete actions and partially actual actions then READ COMMITTED is enough08:21
melishaOK. I agree. What is the default isolation level of Mistral?08:21
rakhmerovmakes sense?08:21
rakhmerovthere's only a recommendation somewhere in the docs to use either READ_COMMITTED or REPEATABLE_READ08:22
rakhmerovso in fact by default if Mistral config doesn't contain that the default DB settings are used08:22
rakhmerovfor every database it may vary but in most cases (at least for mysql and postgres) it is at least READ_COMMITTED08:23
rakhmerovwhich is enough08:23
melishaREPEATABLE_READ will theoretically guarantee that a workflow that does "std.echo" as first task and uses "std.echo" again as last task will use the exact same "std.echo" even if the action definition was updated, right? But I say theoretically because every task is running in a different transaction anyway so it will read the new definition because08:25
melisha that is the first time it reads that definition in that transaction08:25
melishaCorrect?08:26
rakhmerovmelisha: not, currently it may be different08:28
rakhmerovbecause, as you said, it gets fetched from DB within different transactions08:28
rakhmerovthe only way to guarantee that is to make snapshots of all actions (as we do for wf itself) at the beginning of workflow08:29
melishaSo I am saying that REPEATABLE_READ cannot help anyway so READ_COMMITTED is good for now08:30
melishaUntil we will do snapshot08:30
xylan_kongrakhmerov: still here?08:35
rakhmerovmelisha: yes08:35
xylan_kongrakhmerov: please see http://lists.openstack.org/pipermail/openstack-dev/2015-October/077033.html, do you need help for mistral release process? I'm willing to be release liaison in M.08:35
rakhmerovmelisha: at least for now, I would suggest we fix the current update algorithm08:36
melisharakhmerov: To be in transaction like we said?08:37
rakhmerovyes, it seems to be the best way for now08:37
rakhmerovxylan_kong: you won't believe :)08:37
melishaOK. Thanks. I will open a bug and will work on a fix. Thanks.08:37
rakhmerovxylan_kong: I wanted to suggest you do this )08:38
rakhmerovmelisha: ok, thanks. That's a good finding actually08:38
rakhmerovxylan_kong: so go ahead and do this, it could be very helpful08:38
xylan_kongrakhmerov: BTW, you can add Mistral liaison information on this page: https://wiki.openstack.org/wiki/CrossProjectLiaisons, we should take participate in cross project affairs, maybe this is a good chance to start with.08:38
rakhmerovxylan_kong: yes, agree. Honestly, I've wanted to do this for months but didn't have a capacity so far )08:41
xylan_kongrakhmerov: ok, I have already repied to Doug Hellmann about that :-)08:43
xylan_kongrakhmerov: by the way, I've completed my slides for mistral session, Need I send it to you before I get there?08:44
rakhmerovyes, please do08:45
rakhmerovasap )08:45
xylan_kongrakhmerov: sure08:45
*** jongchoi has quit IRC08:48
*** achanda has quit IRC08:48
xylan_kongrakhmerov: please check you email09:00
rakhmerovyeah, I see09:00
*** openstackgerrit has quit IRC09:01
openstackgerritMerged openstack/mistral: Refactored filter implementation.  https://review.openstack.org/23462509:02
*** openstackgerrit has joined #openstack-mistral09:02
rakhmerovxylan_kong: I like you slides09:09
rakhmerovlooks good09:09
openstackgerrithardik proposed openstack/mistral: Fixed some unit test issue.  https://review.openstack.org/23752409:16
*** ^Gal^ has joined #openstack-mistral09:20
^Gal^Hi, please review me :) https://review.openstack.org/#/c/234800/09:24
xylan_kong^Gal^: it looks good to me, thanks for the effort :-)09:26
*** openstackgerrit has quit IRC09:31
*** openstackgerrit has joined #openstack-mistral09:32
rakhmerov^Gal^: ok, I will09:33
*** sergmelikyan has joined #openstack-mistral09:34
^Gal^thanks :) np09:35
* xylan_kong LEAVE09:42
openstackgerritMerged openstack/mistral: mistral-documentation: dashboard documentation regarding debug known issue  https://review.openstack.org/23480009:44
openstackgerritRenat Akhmerov proposed openstack/mistral: Fixed some unit test issue.  https://review.openstack.org/23752409:48
*** sergmelikyan has quit IRC09:53
openstackgerritNikolay Mahotkin proposed openstack/mistral-extra: Fixing upgrade kernel example  https://review.openstack.org/23796810:06
*** zhenguo has quit IRC10:10
*** hparekh2 has joined #openstack-mistral10:15
*** hparekh has quit IRC10:16
*** dmowrer has joined #openstack-mistral10:23
*** sergmelikyan has joined #openstack-mistral10:26
*** dmowrer has quit IRC10:27
openstackgerritMerged openstack/mistral-extra: Fixing upgrade kernel example  https://review.openstack.org/23796810:32
*** achanda has joined #openstack-mistral10:36
*** achanda has quit IRC10:37
*** melisha has left #openstack-mistral10:51
*** sergmelikyan has quit IRC10:55
openstackgerritNikolay Mahotkin proposed openstack/mistral: Fixing SSH actions to use names of private keys  https://review.openstack.org/23699210:57
*** dmowrer has joined #openstack-mistral11:06
*** ^Gal^ has quit IRC11:20
*** ^Gal^__ has joined #openstack-mistral11:20
*** ^Gal^__ has quit IRC11:20
*** ^Gal^ has joined #openstack-mistral11:22
openstackgerrithardik proposed openstack/mistral: Add decode() function for string comparison.  https://review.openstack.org/23458711:38
*** Ephur has joined #openstack-mistral12:01
*** Ephur has quit IRC12:06
*** ^Gal^__ has joined #openstack-mistral12:16
*** ^Gal^ is now known as Guest2358012:16
*** ^Gal^__ is now known as ^Gal^12:16
*** openstackgerrit has quit IRC12:16
*** openstackgerrit has joined #openstack-mistral12:17
*** ^Gal^ has quit IRC12:17
*** Guest23580 has quit IRC12:17
*** ^Gal^ has joined #openstack-mistral12:18
openstackgerritNikolay Mahotkin proposed openstack/mistral: Fixing SSH actions to use names of private keys  https://review.openstack.org/23699212:24
*** shangxdy has joined #openstack-mistral12:44
*** dmowrer has quit IRC12:47
*** dmowrer has joined #openstack-mistral13:09
*** bobh has joined #openstack-mistral13:17
*** tej has joined #openstack-mistral13:43
openstackgerritNikolay Mahotkin proposed openstack/mistral: Fixing SSH actions to use names of private keys  https://review.openstack.org/23699214:04
*** achanda has joined #openstack-mistral14:05
*** tristanC has quit IRC14:07
*** jongchoi has joined #openstack-mistral14:08
*** achanda has quit IRC14:09
*** tonytan4ever has joined #openstack-mistral14:27
*** jongchoi has quit IRC14:28
*** dmowrer has quit IRC14:44
*** dmowrer has joined #openstack-mistral14:45
*** dmowrer has quit IRC14:49
*** Piet has quit IRC14:51
*** dmowrer has joined #openstack-mistral15:00
*** dmowrer has quit IRC15:04
*** dmowrer has joined #openstack-mistral15:17
*** Ephur has joined #openstack-mistral15:17
*** Piet has joined #openstack-mistral16:11
*** bobh has quit IRC16:25
*** achanda has joined #openstack-mistral16:28
*** gyee has joined #openstack-mistral16:45
*** shangxdy has quit IRC16:56
*** shangxdy has joined #openstack-mistral17:05
*** dmowrer has quit IRC17:12
*** dmowrer has joined #openstack-mistral17:13
*** shangxdy has quit IRC17:16
*** dmowrer has quit IRC17:17
*** dmowrer has joined #openstack-mistral17:31
*** harlowja has quit IRC17:57
*** harlowja has joined #openstack-mistral18:02
*** Piet has quit IRC18:17
*** dmowrer has quit IRC18:32
*** tonytan4ever has quit IRC18:32
*** dmowrer has joined #openstack-mistral18:33
*** tonytan4ever has joined #openstack-mistral18:33
*** dmowrer has quit IRC18:37
*** dmowrer has joined #openstack-mistral18:51
*** dmowrer has quit IRC18:51
*** dmowrer has joined #openstack-mistral18:51
*** dmowrer has quit IRC18:56
*** dmowrer has joined #openstack-mistral19:09
*** tej has quit IRC19:10
*** dmowrer has quit IRC19:12
*** dmowrer has joined #openstack-mistral19:13
*** achanda has quit IRC19:16
*** bobh has joined #openstack-mistral19:22
*** Piet has joined #openstack-mistral19:43
*** harlowja has quit IRC19:50
*** tej has joined #openstack-mistral19:52
*** tej has quit IRC20:07
*** achanda has joined #openstack-mistral20:16
*** achanda has quit IRC20:22
*** tej has joined #openstack-mistral20:33
*** harlowja has joined #openstack-mistral20:39
*** harlowja_ has joined #openstack-mistral20:40
*** achanda has joined #openstack-mistral20:42
*** harlowja has quit IRC20:44
*** achanda has quit IRC20:46
*** bobh has quit IRC20:47
*** FL1SK has quit IRC20:55
*** FL1SK has joined #openstack-mistral20:57
*** achanda has joined #openstack-mistral20:57
*** achanda has quit IRC21:10
*** jongchoi_ has joined #openstack-mistral21:11
*** tej has quit IRC21:30
*** jongchoi_ has quit IRC22:02
*** jongchoi_ has joined #openstack-mistral22:05
*** jongchoi_ has quit IRC22:10
*** tej has joined #openstack-mistral22:19
*** tej has quit IRC22:31
*** dmowrer has quit IRC22:33
*** dmowrer has joined #openstack-mistral22:34
*** dmowrer has quit IRC22:39
*** harlowja_ has quit IRC23:33
*** tej has joined #openstack-mistral23:35
*** harlowja has joined #openstack-mistral23:37
*** harlowja_ has joined #openstack-mistral23:45
*** harlowja has quit IRC23:49
*** tej has quit IRC23:55
*** tonytan4ever has quit IRC23:59

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