Thursday, 2016-07-21

*** ninag has joined #openstack-mistral00:00
*** ninag has quit IRC00:01
*** toddjohn has quit IRC00:02
*** apsarshaik has quit IRC00:07
*** gyee has quit IRC00:09
*** toddjohn has joined #openstack-mistral00:55
*** toddjohn has quit IRC01:11
*** harlowja has joined #openstack-mistral01:35
*** harlowja has quit IRC01:35
*** harlowja has joined #openstack-mistral01:36
*** cheneydc has joined #openstack-mistral01:40
*** bobh has joined #openstack-mistral01:57
*** toddjohn has joined #openstack-mistral02:11
*** cheneydc has quit IRC02:15
*** toddjohn has quit IRC02:16
*** bobh has quit IRC02:23
*** bobh has joined #openstack-mistral02:35
*** harlowja has quit IRC02:46
*** bobh has quit IRC02:47
openstackgerrithardik proposed openstack/mistral: Allow to use both name and id to access action definitions  https://review.openstack.org/32589402:51
openstackgerrithardik proposed openstack/mistral: Allow to use both name and id to access action definitions  https://review.openstack.org/32589403:09
*** toddjohn has joined #openstack-mistral03:12
*** toddjohn has quit IRC03:17
*** clenimar has quit IRC03:28
*** clenimar has joined #openstack-mistral03:32
*** clenimar has quit IRC04:04
*** Ravikiran_K has joined #openstack-mistral04:05
*** clenimar has joined #openstack-mistral04:10
openstackgerritOpenStack Proposal Bot proposed openstack/python-mistralclient: Updated from global requirements  https://review.openstack.org/34515204:10
*** toddjohn has joined #openstack-mistral04:13
*** toddjohn has quit IRC04:18
*** vishwanathj is now known as vishwanathj_zzz04:39
*** Ravikiran_K has left #openstack-mistral04:49
*** Ravikiran_K has joined #openstack-mistral04:52
*** d0ugal has quit IRC04:56
*** d0ugal has joined #openstack-mistral04:58
*** toddjohn has joined #openstack-mistral05:15
*** gyee has joined #openstack-mistral05:20
*** toddjohn has quit IRC05:20
*** Ravikiran_K has quit IRC05:32
*** Ravikiran_K has joined #openstack-mistral05:37
*** harlowja has joined #openstack-mistral05:39
*** gyee has quit IRC05:49
*** Ravikiran_K has quit IRC05:56
*** gyee has joined #openstack-mistral05:58
*** harlowja has quit IRC06:04
*** gyee has quit IRC06:05
*** Ravikiran_K has joined #openstack-mistral06:16
openstackgerritMerged openstack/python-mistralclient: Updated from global requirements  https://review.openstack.org/34515206:20
rakhmerovhparekh: hi, here?06:23
rakhmerovhparekh: ping me when you have a minute06:25
hparekhrakhmerov, hi06:28
rakhmerovI left some comments in https://review.openstack.org/#/c/325894/06:29
rakhmerovI want to merge this patch sooner than later06:29
rakhmerovso I'm just thinking06:29
rakhmerovto me it's OK to merge it now and address later, or you can include additional stuff into it06:30
rakhmerovwhat do you say?06:30
hparekhrakhmerov, yeah I have added some TODO in commit message06:31
hparekhrakhmerov, I agree with use identifier in load_xxx methods06:31
rakhmerovand we need unit tests for DB API06:31
rakhmerovDB API changes06:31
hparekhrakhmerov, yeah06:31
rakhmerovso? your opinion?06:31
hparekhrakhmerov, I will add tests and todo items in another patches06:32
rakhmerovok, then I will merge it now06:32
rakhmerovit's been on review for too long06:32
hparekhrakhmerov, Ok thanks06:32
hparekhyes patches are blocked06:32
rakhmerovok, done06:33
openstackgerritMerged openstack/mistral: Allow to use both name and id to access action definitions  https://review.openstack.org/32589406:41
*** toddjohn has joined #openstack-mistral07:16
*** toddjohn has quit IRC07:22
*** Ravikiran_K has quit IRC07:31
rakhmerovddeja: hi07:34
*** d0ugal has quit IRC07:37
*** jpich has joined #openstack-mistral07:47
rakhmerovhparekh: can you also review Dawid's patches pls? They are pretty simple07:47
openstackgerritRenat Akhmerov proposed openstack/mistral: Add the new endpoint /v2/tasks/<id>/workflow_executions  https://review.openstack.org/34416707:52
openstackgerritRenat Akhmerov proposed openstack/mistral: Move the remainder of REST resources to resources.py  https://review.openstack.org/34456907:52
openstackgerritRenat Akhmerov proposed openstack/mistral: Move REST resources action, action execution and task to resources.py  https://review.openstack.org/34422807:52
*** shardy has joined #openstack-mistral07:59
rakhmerovddeja: I have some questions about the new RPC08:01
rakhmerov1) how does our kombu-based messaging behaves regarding timeouts? What numbers etc.08:01
rakhmerov2) Did you have a chance to do some comparisons with o.m.?08:02
*** brunograz has joined #openstack-mistral08:06
hparekhrakhmerov, Yeah I will to it today.08:10
rakhmerovthanks08:10
*** Ravikiran_K has joined #openstack-mistral08:38
rakhmerovguys, does anyone know about "WARNING oslo_db.sqlalchemy.utils [-] Id not in sort_keys; is sort_keys unique?" ?08:46
*** apsarshaik has joined #openstack-mistral08:46
rakhmerovddeja, hparekh: ^08:46
rakhmerovI don't understand why Id should be in sort keys08:48
rakhmerovwhat's the point?08:48
rakhmerovit happens pretty much on any request, for example: mistral task-list <exec_id>08:48
therverakhmerov, You should always have the id in sort keys, so that you don't loop through results08:52
therveThat makes order stable08:52
rakhmerovtherve: can you give more details? What loop are you talking about?08:52
rakhmerovwe're just selecting rows from DB08:53
rakhmerovmaybe I'm missing something08:53
*** apsarshaik has quit IRC08:53
therverakhmerov, If your order is not stable and you use the marker, you can get into a sorting loop because order is different08:53
therveLet's say you have obj 1 2 3 408:53
therveLimit 208:53
rakhmerovok08:53
therveYour return 1 3 -> marker 308:53
therveThen you return 2 1 -> oops, you'll get an object you already got08:54
therveHaving id in the sort keys make sure the order is always the same08:54
rakhmerovooh, you're talking about paginated queries08:54
rakhmerovI see now08:54
therveYes08:54
rakhmerovyeah, fair enough08:54
therveThat warning is displayed by the paginated_query helper08:54
rakhmerovtherve: thanks a lot, this is helpful08:54
rakhmerovyep, got it08:55
therveYou're welcome08:55
*** apsarshaik has joined #openstack-mistral08:55
rakhmerovtherve: just for my info, you're a member of oslo.db?08:55
therverakhmerov, Nope08:55
rakhmerovwhat do you work on?08:55
rakhmerovif it's not a secret )08:55
therveHeat mostly :)08:55
rakhmerovalright08:55
rakhmerovthanks again08:55
openstackgerritMerged openstack/python-mistralclient: Change action-get help to get action info by ID  https://review.openstack.org/32592109:05
openstackgerritMerged openstack/python-mistralclient: Changed argument names as per other python clients  https://review.openstack.org/33095809:05
rakhmerovtherve: so if both marker and limit are not specified (None) then it's ok to not include id in sort keys, right?09:08
rakhmerovit makes sense to include it only if we limit a query set09:08
*** d0ugal has joined #openstack-mistral09:10
therverakhmerov, I guess. But then there is no point in using paginated_query?09:16
therveYou probably always want a limit09:16
rakhmerovhm..09:16
rakhmerovagree09:16
*** toddjohn has joined #openstack-mistral09:19
*** d0ugal has quit IRC09:22
*** toddjohn has quit IRC09:23
*** d0ugal has joined #openstack-mistral09:29
*** Ravikiran_K has quit IRC09:32
ddejarakhmerov: Hi. Sorry for being late today. Anwsering your questions: 1) There is fixed timeout for 180s (it should be changed to conf option). It's the time the sender would wait for response from receiver.09:39
ddeja2) What kind of comparison do you mean?09:39
ddejaI'm testing stability, but I don't have any performance tests09:40
rakhmerovddeja: on 1) Please do it as soon as your schedule allows09:41
rakhmerovit's important09:41
rakhmerovon 2) What works faster now?09:41
ddejawell, I'm only testing it on devstack. And it make no difference in such environment09:42
ddejaI can do some testing on more 'producton-like' setup in August/September09:43
ddejaand maybe there would be some differnce09:44
rakhmerovok09:44
rakhmerovmost likely I will test it myself soon09:44
rakhmerovok, thanks09:44
*** apsarshaik has quit IRC09:46
*** apsarshaik has joined #openstack-mistral09:47
*** d0ugal has quit IRC09:56
*** aspiers has quit IRC09:58
*** d0ugal has joined #openstack-mistral10:02
*** d0ugal has quit IRC10:03
*** d0ugal has joined #openstack-mistral10:04
*** akuznetsova has quit IRC10:07
*** igormarnat has quit IRC10:08
*** rakhmerov has quit IRC10:09
*** aspiers has joined #openstack-mistral10:11
*** akuznetsova has joined #openstack-mistral10:16
hparekhddeja, I have gone through your patches but think we need more tests.10:20
*** akuznetsova has quit IRC10:20
hparekhI am talking about three pacthes regarding https://review.openstack.org/#/c/343789/110:21
hparekhddeja, Are you planning to add more tests ?10:21
ddejahparekh: well yes. But to test it properly it requiers to run two executors, I don't see if it can be tested using unit-tests10:23
ddejaof course, if you see some part that can be tested using only UT I'll write them10:25
*** akuznetsova has joined #openstack-mistral10:26
ddejaOK, I thought about it for a while and yes, there is a way to test it using mock10:26
hparekhddeja, well yeah. I have no issue to merge it but we have to figure out if we can write tempest test for this or not10:27
hparekhddeja, Also please update the doc and add release note for the same10:27
*** rakhmerov has joined #openstack-mistral10:27
ddejahparekh: I would say: we must add tempest test10:27
ddejabut for now I'll add some UT, thanks for making me think about that10:28
ddejaI've just got an idea how to write some10:28
ddejahparekh: about the docs: will do10:28
*** rakhmero_ has joined #openstack-mistral10:28
hparekhddeja, Thanks :)10:29
*** d0ugal has quit IRC10:31
rakhmero_ddeja: why is https://review.openstack.org/#/c/343791/ WIP now?10:31
*** igormarnat has joined #openstack-mistral10:33
*** rakhmero_ is now known as rakhmerov_10:33
*** rakhmerov_ has quit IRC10:33
*** rakhmero_ has joined #openstack-mistral10:34
*** rakhmero_ has quit IRC10:34
*** rakhmero_ has joined #openstack-mistral10:35
*** jpich has quit IRC10:36
openstackgerritMerged openstack/mistral: Add param 'safe-rerun' to task  https://review.openstack.org/34378910:37
openstackgerritMerged openstack/mistral: Pass 'safe-rerun' param to RPC layer  https://review.openstack.org/34379010:37
*** rakhmero_ has quit IRC10:39
*** jpich has joined #openstack-mistral10:45
ddejarakhmerov: due to discussion with hparekh - I'm adding tests to it10:49
*** aspiers has quit IRC10:52
openstackgerrithardik proposed openstack/mistral: Added support for SSL connection in mistra-api server  https://review.openstack.org/34459811:05
*** aspiers has joined #openstack-mistral11:08
openstackgerrithardik proposed openstack/mistral: Removed instruction 'python setup.py install' from guide  https://review.openstack.org/34534711:16
*** toddjohn has joined #openstack-mistral11:20
openstackgerrithardik proposed openstack/python-mistralclient: Removed instruction 'python setup.py install' from README  https://review.openstack.org/34535111:24
*** toddjohn has quit IRC11:25
*** Ravikiran_K has joined #openstack-mistral11:32
*** dprince has joined #openstack-mistral11:45
Ravikiran_KHi..11:48
Ravikiran_Khow do we integrate Mistral with Murano?11:48
*** apsarshaik has quit IRC11:51
*** apsarshaik has joined #openstack-mistral11:52
*** d0ugal has joined #openstack-mistral12:12
*** Ravikiran_K has quit IRC12:13
*** apsarshaik has quit IRC12:19
*** apsarshaik has joined #openstack-mistral12:21
*** toddjohn has joined #openstack-mistral12:38
*** bobh has joined #openstack-mistral12:43
*** bobh has quit IRC13:00
*** jpich has quit IRC13:12
*** jpich has joined #openstack-mistral13:22
openstackgerritDawid Deja proposed openstack/mistral: Executor fails actions if they are redelivered  https://review.openstack.org/34379113:30
ddejarakhmerov, hparekh: new patches with extra unit tests, rest of the file is the same ^13:33
*** rakhmero_ has joined #openstack-mistral13:39
*** rakhmero_ is now known as rakhmerov_13:40
*** rakhmerov_ has quit IRC13:41
rakhmerovddeja: ok13:42
rakhmerovsorry, I had issues with my IRC so I may have missed some messages13:42
*** krotscheck_dcm is now known as krotscheck13:50
*** Ravikiran_K has joined #openstack-mistral14:01
*** bhaskar has joined #openstack-mistral14:04
Ravikiran_KHi...i have a question, what is differences between Mistral and Murano?14:05
*** apsarshaik has quit IRC14:06
Ravikiran_Kwhy Mistral is integrated with Murano?14:06
Ravikiran_Ki mean how do we use mistral with murano?14:07
rakhmerovRavikiran_K: completely different technologies14:07
rakhmerovlet me ask you first, what is your understanding of both?14:08
rakhmerovfrom it I'll be able to explain14:08
rakhmerovddeja: here?14:08
rakhmerovddeja: oslo.messaging now switched to just one "transport_url" config option that includes all needed properties instead of individual properties14:09
rakhmerovlike connection string for DB14:09
rakhmerovcan we do the same with our Kombu impl?14:09
rakhmerovit would be very convenient to switch between oslo and kombu just by changing rpc_backend14:10
Ravikiran_Kas for as my understanding Murano is a application deployment tool and mistral is a tool which manages workflows14:10
rakhmerovRavikiran_K: absolutely correct14:10
rakhmerovif more detailed, Mistral has nothing to do with deployment directly14:11
rakhmerovbut it can be used for deployment, if needed14:11
rakhmerovMistral is a more generic tool that manages distributed workflows14:11
rakhmerovMurano is a specific tool that helps manage complex environment deployments14:12
rakhmerovwhere you can describe packages, dependencies between them etc. and build environments out of these packages14:12
rakhmerovthe confusion is usually about the term "workflow"14:13
rakhmerovMurano also has this term but IMO it's a misleading thing in Murano14:13
rakhmerovin Murano they mean a completely different thing by "workflow"14:13
rakhmerovin Murano it's basically a script that allows to customize application deployment14:14
rakhmerovwhereas Mistral manages distributed stateful workflows14:15
rakhmerovgraph of tasks14:15
rakhmerovRavikiran_K: does that make sense? :)14:15
rakhmerovfeel free to ask14:15
Ravikiran_Krakhmerov: It is more clear to me now, but there are few more questions14:17
rakhmerovsure14:17
Ravikiran_Kmistral is integrated in murano..how do we do deployments with mistral using Murano?14:18
*** vishwanathj_zzz is now known as vishwanathj14:19
rakhmerovwell, basically this integration just allows to run Mistral workflows from Murano PL (programming language)14:20
rakhmerovthat's it14:20
rakhmerovso, for example14:20
rakhmerovyou can create a Murano application and it's Murano PL module that deploys the app you can say "run this Mistral workflow after the app is deployed"14:21
rakhmerove.g. for monitoring14:21
rakhmerovor health checking, or auto-scaling14:21
rakhmerovetc.14:21
rakhmerovessentially for any life-cycle management or post-installation stuff14:22
ddejarakhmerov: I guess that this should be possible, but first need to check how the oslo url looks like.14:25
rakhmerovddeja: transport_url = rabbit://guest:guest@localhost:5672/14:26
Ravikiran_Krakhmerov: you are amazing. It's clear to me now. I really like the way you explain14:26
rakhmerovwhere "/" at the end means an empty virtual host14:26
Ravikiran_Ki will keep bugging you if i have any questions :)14:27
rakhmerovRavikiran_K: no problem man ) Come visit us more often14:27
rakhmerovsure14:27
Ravikiran_Krakhmerov: Thank you14:27
rakhmerovddeja: this works for me, I checked14:28
openstackgerritJeff Peeler proposed openstack/mistral: Allow external access to cached clients  https://review.openstack.org/34506914:28
rakhmerovI guess we can even use some o.m utils to parse options from this kind of string14:28
ddejaIt seems that this URL have all of required information, I'll submit patch14:30
rakhmerovddeja: yeah, it would be cool14:31
rakhmerovthanks14:31
*** bhaskar has quit IRC14:51
*** rrecio has joined #openstack-mistral14:52
*** Ravikiran_K has quit IRC14:54
*** rrecio_ has joined #openstack-mistral14:54
*** rrecio has quit IRC14:57
*** d0ugal has quit IRC15:02
*** d0ugal has joined #openstack-mistral15:05
*** apsarshaik has joined #openstack-mistral15:13
*** apsarshaik has quit IRC15:17
*** rrecio_ has quit IRC15:17
*** apsarshaik has joined #openstack-mistral15:17
*** rrecio has joined #openstack-mistral15:30
*** FL1SK has quit IRC15:37
*** apsarshaik has quit IRC15:46
*** apsarshaik has joined #openstack-mistral15:46
*** d0ugal has quit IRC16:04
*** jpich has quit IRC16:32
*** bobh has joined #openstack-mistral16:39
*** d0ugal has joined #openstack-mistral16:45
*** vishwanathj has quit IRC16:47
*** harlowja has joined #openstack-mistral17:44
*** clenimar has quit IRC17:45
*** FL1SK has joined #openstack-mistral17:46
*** clenimar has joined #openstack-mistral18:12
*** catintheroof has quit IRC18:25
*** harlowja has quit IRC18:35
*** harlowja has joined #openstack-mistral18:38
*** harlowja has quit IRC18:59
*** bobh has quit IRC19:00
*** ramishra has quit IRC19:36
*** ramishra has joined #openstack-mistral19:37
*** vishwanathj has joined #openstack-mistral19:37
*** shardy has quit IRC19:45
*** apsarshaik has quit IRC20:03
*** apsarshaik has joined #openstack-mistral20:06
*** shardy has joined #openstack-mistral20:12
*** harlowja has joined #openstack-mistral20:39
*** dprince has quit IRC20:44
*** bobh has joined #openstack-mistral21:05
*** tonytan4ever has quit IRC21:06
*** tonytan4ever has joined #openstack-mistral21:08
*** shardy has quit IRC21:39
openstackgerritJeff Peeler proposed openstack/mistral: Allow external access to cached clients  https://review.openstack.org/34506921:41
*** harlowja has quit IRC21:41
*** clenimar has quit IRC21:47
*** harlowja has joined #openstack-mistral21:48
*** harlowja has quit IRC21:48
*** clenimar has joined #openstack-mistral22:02
*** bobh has quit IRC22:06
*** rrecio has quit IRC22:43
*** Kiall has quit IRC22:43
*** bobh has joined #openstack-mistral23:22
*** bobh has quit IRC23:29

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