Wednesday, 2016-07-27

*** bobh has joined #openstack-mistral00:11
*** bobh has quit IRC00:14
*** bobh has joined #openstack-mistral00:41
*** tonytan4ever has joined #openstack-mistral00:47
*** bobh has quit IRC00:50
*** tonytan4ever has quit IRC00:53
*** bobh has joined #openstack-mistral01:13
*** toddjohn has joined #openstack-mistral01:16
*** toddjohn has quit IRC01:28
*** toddjohn has joined #openstack-mistral01:29
*** toddjohn has quit IRC01:33
*** openstackgerrit has quit IRC01:33
*** openstackgerrit has joined #openstack-mistral01:34
*** tonytan4ever has joined #openstack-mistral01:49
*** tonytan4ever has quit IRC01:53
*** bobh has quit IRC01:57
*** bobh has joined #openstack-mistral02:35
*** tonytan4ever has joined #openstack-mistral02:35
*** gyee has quit IRC03:03
*** bobh has quit IRC03:08
*** bobh has joined #openstack-mistral03:14
*** bobh has quit IRC03:17
*** vishwanathj has quit IRC04:32
*** jtomasek has quit IRC04:41
openstackgerritRenat Akhmerov proposed openstack/mistral: Splitting executions into different tables  https://review.openstack.org/34717205:55
*** achatterjee has joined #openstack-mistral06:03
*** achatterjee has left #openstack-mistral06:11
*** Ravikiran_K has joined #openstack-mistral06:30
d0ugalMorning06:54
d0ugalrakhmerov: Where can I find CloudFlow? :)06:54
rakhmerovd0ugal: good morning :))06:54
rakhmerovha-ha06:55
rakhmerovd0ugal: it's not available yet06:55
d0ugalah06:55
rakhmerovI've it only once myself06:55
rakhmerovI've seen..06:55
d0ugalso you are just teasing us with this talk submission :-D06:55
rakhmerovno, it should be available soon06:55
d0ugalcool06:55
d0ugalSounds interesting!06:56
rakhmerovthere's someone at Nokia working hard on it06:56
rakhmerovyeah06:56
openstackgerritRenat Akhmerov proposed openstack/python-mistralclient: Different formatters for "action-execution-get" and "action-execution-list"  https://review.openstack.org/34633106:56
openstackgerritRenat Akhmerov proposed openstack/python-mistralclient: Add "Task ID" field for "action-execution-get" command output  https://review.openstack.org/34633006:56
d0ugalrakhmerov: If/when you have some spare time, could you take a look at 1597640 and see if you know where the issue might be?06:59
d0ugalhttps://bugs.launchpad.net/mistral/+bug/159764006:59
openstackLaunchpad bug 1597640 in Mistral "with-items does not process ad-hoc action default values" [High,In progress] - Assigned to Dougal Matthews (d0ugal)06:59
d0ugalOtherwise I should probably remove myself from it, as I got stuck06:59
rakhmerovd0ugal: yeah, I know I promised you to look at it but I got some huge urgent issues that I have to fix07:02
rakhmerovpriorities07:02
rakhmerovso, I will definitely look at it but slightly later07:02
rakhmerovif it's ok with you07:02
rakhmerovno need to remove yourself from it now07:02
d0ugalrakhmerov: okay, thanks :)07:07
d0ugalI'll have a look for something else small I can pickup now07:07
rakhmerovyes07:10
hparekhrakhmerov, Hi07:24
hparekhrakhmerov, It is regarding your change here in https://review.openstack.org/#/c/345295/307:25
hparekhrakhmerov, So after this change, we cannot use sorting without marker or limit right ?07:25
rakhmerovhparekh: hi07:31
rakhmerovwhy?07:31
hparekhrakhmerov, because we don't use paginate query if marker or limit is not set07:31
hparekhrakhmerov, So sort will not work if limit or marker is not specified07:32
hparekhrakhmerov, That is the reason why python-mistralclient gate is getting fail07:32
rakhmerovooh..07:32
rakhmerovlet me think....07:32
hparekhhttp://logs.openstack.org/52/344052/1/gate/gate-python-mistralclient-devstack-dsvm/ae9aa33/console.html.gz#_2016-07-22_04_47_50_22874407:33
*** jpich has joined #openstack-mistral07:33
rakhmerovhparekh: I think you're right..07:33
rakhmerovyes, my fault07:34
rakhmerovoverlooked it07:34
hparekhrakhmerov, Ok no issue I am fixing it07:34
rakhmerovhparekh: thanks, but please don't put query.all() back to _paginate_query()07:34
rakhmerov:)07:34
hparekh:)07:35
rakhmerovbecause I was having hard time to understand why _paginat_query() was called this way07:35
rakhmerovby its name, it should just really paginate query object but not return a dataset07:36
rakhmerovthat was also a reason why I excluded it from try-except07:36
rakhmerovso I just suggest we remove this "if marker or limit" condition07:36
rakhmerovit's redundant07:36
rakhmerovhparekh: agree?07:36
rakhmerovor maybe I'm missing something else07:37
hparekhrakhmerov, yeah IMO paginate query should return only query object. I agree with you07:37
rakhmerovok07:37
*** shardy has joined #openstack-mistral07:38
rakhmerovhparekh: btw, thanks a lot for https://review.openstack.org/#/c/346612/07:38
rakhmerovthis is a kind of work I'd like to do more07:38
rakhmerovto make the code cleaner07:38
hparekhrakhmerov, yeah. Also I believe we should also improve our documentation. I am bad at documentation  but I will try :)07:40
* rakhmerov hopefully d0ugal can help with this :))07:41
* d0ugal reads up07:41
hparekhheh07:41
d0ugalI can try :)07:42
d0ugalI did see some docs fixes by mgould (not here). Maybe I can work on it with him to do more07:43
*** szaher has quit IRC07:53
*** tonytan4ever has quit IRC07:58
*** tonytan4ever has joined #openstack-mistral07:59
*** tonytan4ever has quit IRC08:11
rakhmerovd0ugal: would be cool but I realize it may not be that kind of work you dream of08:12
rakhmerovhparekh: let me know when you send a fix for sorting08:13
rakhmerovwe'll merge it asap since it blocks dev08:13
*** toddjohn has joined #openstack-mistral08:17
*** toddjohn has quit IRC08:21
hparekhrakhmerov, yeah sure I am on it, was out for lunch08:54
rakhmerovok08:54
rakhmerovno you should do it quickly )08:54
rakhmerovafter having food08:54
rakhmerovnow..08:55
*** tonytan4ever has joined #openstack-mistral09:01
*** tonytan4ever has quit IRC09:05
openstackgerrithardik proposed openstack/mistral: Use Paginate query even if 'limit'or 'marker' is not set  https://review.openstack.org/34771009:19
hparekhrakhmerov, done https://review.openstack.org/#/c/347710/09:19
rakhmerovthanks!09:19
rakhmerovhparekh: why did you remove sort_dirs = sort_dirs if sort_dirs else [] ?09:20
hparekhrakhmerov, Actually there will be problem in length of sort_dirs and sort_keys when only sort_keys provided.09:21
rakhmerovthe point was to have sort_keys and sort_dirs initialized in any case09:21
rakhmerovhm..09:22
hparekhlike in _get_collection_sort_by_name09:23
rakhmerovwhen I was making changes I assumed that sort_keys are always of the same as sort_dirs, no?09:23
rakhmerovso you mean, it is allowed to specify only sort_keys?09:23
rakhmerovhparekh: ^09:23
hparekhrakhmerov, yeah if we don'e specify sort_dirs then sort_keys and sort_dirs will be same09:24
rakhmerovif so, then your change is correct09:24
rakhmerovok09:24
hparekhrakhmerov, https://github.com/openstack/oslo.db/blob/master/oslo_db/sqlalchemy/utils.py#L11609:24
rakhmerovI see the point09:24
rakhmerovok, got it09:25
openstackgerritDawid Deja proposed openstack/mistral: Use 'rpc_response_timeout' in kombu driver  https://review.openstack.org/34600509:51
*** chlong_POffice has quit IRC09:57
*** chlong_POffice has joined #openstack-mistral10:10
openstackgerritRenat Akhmerov proposed openstack/mistral: Removing unnecessary workflow specification parsing  https://review.openstack.org/34775810:53
*** pkatiyar has joined #openstack-mistral11:01
rakhmerovguys, do you know some good caching library for Python?11:06
rakhmerovk-v storage (w/o distribution)11:07
rakhmerovddeja, hparekh, d0ugal: ^11:07
d0ugalw/o distribution?11:07
rakhmerovso basically, I need to cache items under some keys and be sure that it won't pollute heap (so some expiration for entries must be in place)11:08
d0ugalright11:08
d0ugalhmm11:08
rakhmerovd0ugal: yeah, I mean it should not be a distributed cache11:08
rakhmerovand this cache must work with green threads11:09
d0ugalhmm, I can't think of anything11:09
rakhmerovok11:09
ddejarakhmerov: calling _gryf, he's python guru ;) ^^11:10
rakhmerovok :))11:10
_gryfWAT11:10
rakhmerov_gryf: may be you could help with my question?11:11
_gryfrakhmerov, I sww the question, that 'WAT' was for ddeja for calling me a python guru :)11:12
rakhmerov:)11:12
rakhmerovanyway, maybe you know11:12
_gryffirst what comes to my mind is redis11:12
rakhmerovredis??11:12
rakhmerovit's a heavy stuff11:12
_gryfright11:12
rakhmerovI just need a simple Python lib11:12
rakhmerovnot a heavy-weight caching soluiton11:13
_gryfok, so on the other side of the solution would be a simple implementation of such chaching mechanism11:13
*** pkatiyar has quit IRC11:14
_gryfso simple class with storing/getting the key11:14
rakhmerovyeah, I can implement it relatively quickly but I just thought maybe people in OpenStack already use something11:14
rakhmerovso that I don't have to reinvent the wheel11:14
ddejarakhmerov, _gryf how about this https://pythonhosted.org/pickleDB/11:14
d0ugalcachetools?11:14
rakhmerov_gryf: yes, this is simple. But I want to make sure such a cache won't devour my memory11:14
_gryfI'm not aware of such thing. Maybe Doug Hellman would have some good proposals?11:14
d0ugalor there is oslo.cache, but I don't know what it in it11:15
*** pkatiyar has joined #openstack-mistral11:15
rakhmerovd0ugal: what's that?11:15
d0ugalhttps://pypi.python.org/pypi/cachetools11:15
d0ugalhttps://github.com/openstack/oslo.cache11:15
rakhmerovooh, great!11:15
rakhmerovlet me look at them..11:15
d0ugalI found them in global requirements11:15
rakhmerovthanks11:15
rakhmerovyeah11:15
d0ugalso I don't know much about them, but they are used in openstack...11:15
rakhmerovok11:16
d0ugaloslo.cache looks like just a wrapper for memcache etc.11:16
rakhmerovyep11:16
d0ugalbut I think it supports an in memory option11:16
d0ugalNot sure if that is intended for production tho'11:16
d0ugalback in a bit - lunch time!11:17
rakhmerovok11:17
_gryfrakhmerov, memchache? Ok, the still remaning question would be if it will be acceptable solution in case of memory usage :)11:17
_gryfrakhmerov, what I can think of is the simple class with ability tu remove old cache records11:18
rakhmerovyeah )11:18
_gryfthis also is fairly easy to implement11:18
rakhmerovit should be, yes11:18
rakhmerovand it needs to be greenthread safe )11:19
_gryfit shouldn't be a real big deal :)11:19
hparekhrakhmerov, I have not use any such cache but I heard about http://beaker.readthedocs.io/en/latest/ from one of my colleague.11:20
rakhmerovhparekh: ok :))11:20
rakhmerovthanks guys!!11:20
rakhmerovseems like I have a lot of options to examine :)11:21
rakhmerovgreat11:21
rakhmerovbased on the description, https://pypi.python.org/pypi/cachetools should work for me11:22
hparekhkong, rakhmerov , akuznetsova Please review https://review.openstack.org/#/c/347710/ It is require to make out mistralclients's gate green11:22
hparekh*our11:22
rakhmerovhparekh: I was just waiting for the gates11:23
rakhmerovI'll approve it with +2 for its importance..11:23
hparekhok Thanks :)11:23
openstackgerritMerged openstack/mistral: Use Paginate query even if 'limit'or 'marker' is not set  https://review.openstack.org/34771011:33
*** shardy is now known as shardy_lunch11:43
rakhmerovhparekh: do you know why this happens? http://logs.openstack.org/58/347758/1/check/gate-mistral-python27-ubuntu-xenial/4be9d97/console.html11:54
rakhmerovddeja: did you test https://review.openstack.org/#/c/346005 somehow?11:56
openstackgerritRenat Akhmerov proposed openstack/mistral: Removing unnecessary workflow specification parsing  https://review.openstack.org/34775811:58
*** tonytan4ever has joined #openstack-mistral12:17
*** chlong_POffice has quit IRC12:21
*** tonytan4ever has quit IRC12:22
*** chlong has joined #openstack-mistral12:29
*** bobh has joined #openstack-mistral12:36
*** vishwanathj has joined #openstack-mistral12:42
*** shardy_lunch is now known as shardy13:01
*** bobh has quit IRC13:05
openstackgerritMoshe Elisha proposed openstack/mistral: Fix DSLv2 example according to Mistral Neuton  https://review.openstack.org/34785013:53
ddejarakhmerov: yup. Using server and client from mistral/engine/rpc_backend/kombu/examples14:11
*** toddjohn has joined #openstack-mistral14:12
*** tonytan4ever has joined #openstack-mistral14:17
*** pkatiyar has quit IRC14:26
jpeelerrbrady: when you have a chance, see if this updated review satisfies https://review.openstack.org/#/c/345069/14:34
rbradyjpeeler: ack.  will look today.  still debugging mistral/heat undercloud issue14:44
d0ugalAnyone seen an error like this when running mistral-db-manage populate? http://paste.openstack.org/show/542605/14:44
jpeeleri haven't run that command in a few weeks, but never have seen it14:51
openstackgerritDawid Deja proposed openstack/mistral: Fix the use of both adhoc actions and "with-items" in workflows  https://review.openstack.org/33769614:52
*** Ravikiran_K has quit IRC14:53
ddejad0ugal: I've found a fix for your patch, made a commit ^14:58
*** jistr is now known as jistr|call15:00
d0ugalddeja: oh, awesome. I'll take a look.15:01
d0ugalddeja: so simple - how did you find that?15:01
ddejaI'm familiar with how mistral engine works15:02
ddejaso I was looking for differences beetwen RegularTask and WithItemsTasks15:02
ddejaoh, and also I've checked that validate_input adds timeout from definition to input dict15:03
d0ugalddeja: neat, thanks again. I'll take a closer look later to make sure I grok it.15:04
ddejad0ugal: OK, sure. Glad I could help15:04
*** bobh has joined #openstack-mistral15:04
openstackgerritMerged openstack/python-mistralclient: Fixed ssl options for httpclient  https://review.openstack.org/34405215:10
*** rrecio has joined #openstack-mistral15:11
ddejad0ugal: 'I grok it' <- needed to google that, thanks for extanding my vocabulary ;)15:32
*** jistr|call is now known as jistr15:35
*** ninag has joined #openstack-mistral15:47
*** ninag has quit IRC16:01
*** toddjohn has quit IRC16:23
openstackgerritDawid Deja proposed openstack/mistral: Enable user to use transport_url in kombu driver  https://review.openstack.org/34793516:25
*** toddjohn has joined #openstack-mistral16:25
*** toddjohn has quit IRC16:30
*** toddjohn has joined #openstack-mistral16:31
openstackgerritDawid Deja proposed openstack/mistral: Enable user to use transport_url in kombu driver  https://review.openstack.org/34793516:33
*** toddjohn has quit IRC16:36
*** bobh has quit IRC16:40
*** toddjohn has joined #openstack-mistral16:40
*** jpich has quit IRC16:41
*** bobh has joined #openstack-mistral16:42
*** gyee has joined #openstack-mistral17:03
*** rbrady is now known as rbrady-food17:12
*** shardy has quit IRC17:32
*** tonytan_brb has joined #openstack-mistral17:36
*** tonytan4ever has quit IRC17:38
*** rbrady-food is now known as rbrady18:01
*** bobh has quit IRC18:34
*** toddjohn has quit IRC18:44
*** tonytan_brb has quit IRC18:44
*** toddjohn has joined #openstack-mistral18:45
*** toddjoh__ has joined #openstack-mistral18:49
*** toddjohn has quit IRC18:49
*** toddjoh__ has quit IRC18:51
*** toddjohn has joined #openstack-mistral18:52
*** tonytan4ever has joined #openstack-mistral19:17
*** toddjohn has quit IRC19:31
*** toddjohn has joined #openstack-mistral19:41
*** slagle has joined #openstack-mistral20:08
slaglehi, are there cores around who could take a look at https://review.openstack.org/#/c/347354/ ?20:09
slagleit's blocking tripleo from consuming latest openstackclient with mistralclient20:10
kongslagle: no problem, I will take a look, thanks for the fixing21:30
*** tonytan4ever has quit IRC21:51
*** toddjohn has quit IRC22:45
*** toddjohn has joined #openstack-mistral22:46
*** toddjohn has quit IRC22:50
*** vishwanathj has quit IRC23:02
*** chlong has quit IRC23:38
*** rrecio has quit IRC23:51

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