Wednesday, 2016-05-11

*** toddjohn has quit IRC00:01
*** toddjohn has joined #openstack-mistral00:01
*** toddjohn has quit IRC00:12
*** toddjohn has joined #openstack-mistral00:13
*** chlong_ has joined #openstack-mistral00:22
*** chlong_ has quit IRC00:22
*** chlong_ has joined #openstack-mistral00:27
*** chlong_ has quit IRC00:28
*** cheneydc has joined #openstack-mistral00:56
*** bobh has quit IRC00:57
*** bobh has joined #openstack-mistral01:16
*** bobh has quit IRC01:17
*** gyee has quit IRC02:20
rakhmerovKiall: ok, thanks04:51
rakhmerovddeja_: hi Dawid, can you please look at https://bugs.launchpad.net/designate/+bug/1580139 and see if it breaks us?04:52
openstackLaunchpad bug 1580139 in Mistral "oslo.messaging 5.0.0 breaks designate" [Undecided,New]04:52
rakhmerovhparekh: hi Hardik04:54
hparekhrakhmerov, hi04:55
rakhmerovhparekh: can you please tell me your most relevant email address?04:56
rakhmerovlet's go private04:57
rakhmerovhparekh: congrats! You're a core reviewer :)04:58
rakhmerovuse your +2 wisely :)04:59
hparekhrakhmerov, Thank you :)04:59
rakhmerovhparekh: I left a small comment on https://review.openstack.org/#/c/269971/605:01
rakhmerovwill fully review your patch later today05:01
hparekhrakhmerov, Ok got that. No problem.05:04
rakhmerovany ideas why this happens? http://paste.openstack.org/show/496646/06:30
rakhmerovit's our py34 gate06:30
rakhmerovpy33 works fine06:30
rakhmerovpy27, sorry06:30
rakhmerovit tries to find oslo.messaging >= 4.5 and it actually exists (5.0.0) but it can't find it06:31
rakhmerovthe patch itself is https://review.openstack.org/#/c/313257/06:31
rakhmerovKiall: looks familiar to you?06:32
*** mflobo has joined #openstack-mistral06:48
mflobogood morning06:49
rakhmerovmflobo: hi06:52
rakhmerovjust a small announcement: gates are not working properly now because of upgrading pip to 8.1.207:04
rakhmerovinfra folks are working to fix this07:04
*** AK has joined #openstack-mistral07:16
AKHi guys07:16
AKI am trying to install mistral mitaka branch07:16
AKAnd I am having issue while running the following command07:16
AKpython mistral/cmd/launch.py --server api --config-file ../mistral.conf07:17
AKTraceback (most recent call last):   File "mistral/cmd/launch.py", line 51, in <module>     from mistral.api import app   File "/home/rushi/mistral/mistral/api/app.py", line 26, in <module>     from mistral.services import periodic   File "/home/rushi/mistral/mistral/services/periodic.py", line 26, in <module>     from mistral.engine import rpc   File "/home/rushi/mistral/mistral/engine/rpc.py", line 44, in <module>     dispat07:17
AKCan anyone help ?07:17
hparekhAk can you paste it on  http://paste.openstack.org and share the URL07:18
rakhmerovyes please07:19
AKis this related to https://bugs.launchpad.net/mistral/+bug/1567493 ?07:19
openstackLaunchpad bug 1567493 in tripleo "inspect.getargspec fails on recent versions of oslo.messaging" [Critical,Fix committed]07:19
AKI having the same issue07:19
rakhmerovAK: please copy the whole trace into paste bin07:20
rakhmerovas hparekh said07:20
rakhmerovI can't tell the reason until I see the whole trace07:20
AKok07:20
AKhttp://paste.openstack.org/show/496655/07:21
rakhmerovAK: what version of oslo.messaging are you using?07:23
rakhmerovcan you look at your site-packages?07:23
AKlet me take look is there any ubunutu command to check this ?07:24
AKwhen I ran this pip install -e .07:26
rakhmerovno, you just need to look at your Python installation directory and see what version of oslo.messaging you have07:26
AKi got a message saying succesfully installed oslo.messaging-5.0.007:26
rakhmerovyou use pip to list all packages07:26
rakhmerovooh, ok07:27
rakhmerovthen it's now broken, yes07:27
rakhmerovactually, if you're trying to install Mitaka then using oslo.messaging 5.0.0 is wrong07:28
rakhmerovbecause it just came out07:28
rakhmerovand there's an issue with it: https://bugs.launchpad.net/designate/+bug/158013907:28
openstackLaunchpad bug 1580139 in Mistral "oslo.messaging 5.0.0 breaks designate" [Undecided,New]07:28
AKohk07:28
rakhmerovit breaks us too07:28
AKoh then i will use 4.0.0 then07:29
rakhmerovit's better 4.4.007:29
rakhmerovif it's available07:29
AKhow to check what version of oslo07:29
AK?07:29
AKcan u help me out , I have one version of mistral which is running fine I will use same oslo.messaging version i used there but I dont know the comman07:30
rakhmerovuse pip07:30
rakhmerovpip list07:31
rakhmerovfor example07:31
rakhmerovpip list | grep oslo07:31
rakhmerovor07:31
rakhmerovpip list | grep oslo.messaging07:31
AKpip show oslo.messaging | grep Version is giving the result07:31
rakhmerovyes07:31
AKyeah even that is giving07:31
AKI was suing 4.6.107:32
rakhmerovyeah, it should work fine07:32
AKusing* will use the same version here too07:32
rakhmerovok07:32
rakhmerovas far as versions for stable branches07:32
rakhmerovjust a note07:32
rakhmerovthere's file upper-constraints.txt07:33
rakhmerovhttps://github.com/openstack/requirements/blob/stable/mitaka/upper-constraints.txt#L21707:33
rakhmerovnote that it is exactly for stable/mitaka07:33
rakhmerovso when you use a stable branch you need to make sure to be in sync with this file07:34
rakhmerovwhen infra team runs all gates for stable branches they use it07:35
rakhmerovthat way we guarantee that even if oslo.messaging version is already greater than 4.6.1 we won't break because we put a constraint on a maximum version07:35
AKok07:37
rakhmerovAK: as far as using Mistral with oslo.messaging 5.0.0 we'll fix it as soon as infra team fixes gating system (there's a problem with pip now)07:37
AKok ok thax a lot for the help07:37
AKsure will keep this in mind07:37
rakhmerovnp07:37
AKbasically should we replace requirement.txt with upper-constraints.txt ?07:38
rakhmerovnot exactly07:44
rakhmerovupper-constraints.txt contains all possible dependencies07:45
rakhmerovideally it should be like that: we take deps in our requirements.txt and leave only them in upper-constraints.txt07:46
rakhmerovthe result will be our dependencies with correct versions for the branch07:46
rakhmerovmakes sense?07:46
*** chlong has quit IRC07:49
AK@rakhmerov07:59
AKthaks I did understand this07:59
rakhmerovok08:00
AKwill take a other libraries too08:00
rakhmerovddeja_, nmakhotkin: this how RPCDispatcher looks like in oslo.messaging 5.0.0 https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/dispatcher.py08:05
rakhmerov:)08:05
rakhmerovit doesn't have _dispatch_and_reply method at all08:06
rakhmerovso we're broken again08:07
*** dmk0202 has joined #openstack-mistral08:08
AKBTW I am trying to deploy mistral in different computers08:10
AKFor HA purposes08:10
rakhmerovAK: ok08:14
rakhmerov:)08:15
AKI am actually struging to do so08:21
AKI suspect rabbit mq is not allowing any other host other that itself to connect to08:21
rakhmerovwhat do you mean?08:21
rakhmerovnot sure08:21
AKlike mysql config file has bind address parameter which we need to change08:22
AKI suspect i need to change such parameter for rabbit mq too08:22
rakhmerovmaybe, yes08:22
AKmy guess is correct08:26
AKnow need to figure out how to change the config parameter in rabbit mq and restart it :(08:26
*** shardy has joined #openstack-mistral08:43
*** boss has joined #openstack-mistral08:49
*** venkat has joined #openstack-mistral08:49
*** Penchal has joined #openstack-mistral08:50
*** cheneydc has quit IRC09:02
*** cheneydc has joined #openstack-mistral09:02
mfloboHi guys, how is up for answer some questions for me? :)09:15
rakhmerovрш09:15
rakhmerovhi, I'm here09:16
rakhmerovmflobo: go ahead09:16
mfloborakhmerov, great09:16
mflobofirst09:16
mfloboIs possible to execute a workflow for all the VMs inside of a specific project only?09:17
mflobofor example, execute workflow A in VMs from project X09:18
rakhmerovwhat do you mean by "execute a workflow on a VM"?09:18
mfloboI mean, for example, remove log files09:18
mfloboA workflow that removes log files in a VM09:19
rakhmerovok09:19
rakhmerovwell, now if you want to use Mistral with OpenStack you have to provide credentials for Keystone09:19
rakhmerovwhich automatically makes you work within a certain project09:19
mfloboyes09:20
rakhmerovso that if you access Nova from within a workflow using nova.XXX actions you work with corresponding VMs09:20
rakhmerovlike nova.servers_get will return all VMs within your tenant09:20
mfloborakhmerov, I see09:21
mflobothat answer my question09:21
rakhmerovok09:21
rakhmerovwe're now thinking towards having more flexibility09:22
mfloboIs it possible to share workflows between projects?. For example, I'm member of several projects and I made a cool workflow in project A. Could I share/execute that workflow in project B, project C and project D?09:23
rakhmerovby flexibility I mean being to authenticate against different projects, regions and even openstacks dynamically, if needed09:23
rakhmerovon sharing: Yes09:24
rakhmerovit is possible09:24
mfloborakhmerov, ok, nice09:24
rakhmerovthere's a sharing API09:24
rakhmerovso the model is as follows:09:24
rakhmerova workflow can be private or public09:24
rakhmerovbut, if it's private you have an option to share it with other tenants if you want to09:25
mfloboI see09:25
mflobothat's a pretty cool feature BTW09:25
Kiallrakhmerov / AK - yea, that sounds like olso.messaging 5.0.0 breakage to me.. i.e. https://bugs.launchpad.net/designate/+bug/158013909:26
openstackLaunchpad bug 1580139 in Mistral "oslo.messaging 5.0.0 breaks designate" [Undecided,New]09:26
rakhmerovKiall: not exactly, it's now being fixed by infra team09:26
rakhmerovyou can glance at their channel09:26
mfloborakhmerov, so could I have some workflows in "admin" project and share them with all the projects in my OpenStack deployment?09:26
rakhmerovbut 5.0.0 will also break us, true, I'm now thinking how to fix it09:27
KiallI was taking about rhe o.m API changes, which will break designate+you+barbican09:27
rakhmerovyes09:27
KiallFor designate, we did this: https://git.openstack.org/cgit/openstack/designate/commit/?id=ca7ffbab5b0df9cffa783a1864196c17cfd40b4909:27
rakhmerovit breaks us badly actually09:27
rakhmerovI saw, yes09:27
KiallAlso relavant, an o.m change to explicitly support custom dispatchers: https://review.openstack.org/#/c/314732/ - more a forward looking thing, but.. might be worth weighing in09:28
rakhmerovbut it doesn't perfectly work for us because we override RPCDispatcheer behavior around acknowledgements09:28
rakhmerovnow it's implemented differently09:28
rakhmerovok09:28
rakhmerovmflobo: if you need to share with all you can just mark it as "public"09:29
rakhmerovthere's property "scope" for this09:29
mfloborakhmerov, oh, right! :)09:29
rakhmerovor you can share with each one of them individually but that's a little verbose )09:30
mfloboI see09:30
mfloboquestion solved :) I have more questions if you have time...09:30
rakhmerovI do, go ahead!09:30
rakhmerov:)09:31
mfloboCould I execute a workflow depending of the VM metadata?. I mean, let's say I have in my tenant 5 VMs, 2 of them have a special key in their metadata named "speciakey=True". but the other 3 don't have it. Could I execute a workflow only for VMs with speciakey=True?09:33
*** AK has quit IRC09:33
rakhmerovmflobo: yes, you can09:34
rakhmeroveasily09:34
rakhmerovall you need to do is filtering based on VMs data using YAQL expressions09:35
rakhmerovlike:09:35
rakhmerovtask1:09:35
mfloborakhmerov, great!09:35
rakhmerov  action: nova.servers_get ...09:35
rakhmerov    publish:09:35
rakhmerov      vms: <% task(task1).result.where($.vm.prop = ....) %>09:36
rakhmerovit's not a precise expression, just to give you an idea09:36
rakhmerovthis "vms" will contain only those VMs that you need09:37
rakhmerovyou can then iterate through them etc.09:37
rakhmerovfor example, using "with-items" construction09:37
*** hparekh has quit IRC09:44
mfloborakhmerov, that's perfect, thanks for the example09:52
rakhmerovnp09:52
*** boss has quit IRC09:56
mfloboI saw in the last summit the presentation from IBM. They explain a use case about "Delete project and related resources". In this presentation, the presenter click on "Delete project" button and automatically Mistral launched a Workflow to delete related sources (like images, volumes, etc). The question is: How do Mistral know that has to launch a specific workflow for an action like "Delete project"? Is Mistral listening RabbitMQ messages?09:56
*** hparekh has joined #openstack-mistral09:56
rakhmerovmflobo: yeah, I actually was on that presentation09:56
rakhmerovthey created a special event trigger that listens to RabbitMQ and starts workflows09:57
rakhmerovthey're now pushing it to upstream09:57
rakhmerovhere's the spec: https://review.openstack.org/#/c/308664/09:57
mfloborakhmerov, great!, thanks for the link!09:58
rakhmerovonce it's done, everyone will be able to do this09:58
mfloborakhmerov, this is a very cool feature09:58
rakhmerovindeed09:59
*** venkat has quit IRC09:59
*** Penchal has quit IRC09:59
mfloboSo, my last question is about policies in Mistral09:59
rakhmerovsure09:59
rakhmerovI like them :)09:59
*** cheneydc has quit IRC10:00
mfloboIs it possible to restrict the workflow execution per user? Example: In my project I'm the owner there are 2 persons that are members. Could I restrict to execute a specific workflow, in this project, only to the owner of the project?10:01
*** Penchal has joined #openstack-mistral10:03
rakhmerovooh, it's not about policies that thought about10:03
rakhmerovok10:03
rakhmerovno, currently it's impossible10:03
rakhmerovit's basically RBAC (role based access control)10:03
rakhmerovwe have a BP for it but it's not implemented yet10:03
mfloborakhmerov, yeah, sorry, I saw in the docs about "other" policy concept10:04
mfloborakhmerov, I understand10:04
rakhmerovyeah, we have task policies10:04
rakhmerovit's a different concept10:04
mfloborakhmerov, I thinks that's all for me (for the moment :) )10:06
mfloborakhmerov, Thank you very much for your answers and your time10:06
*** boss has joined #openstack-mistral10:06
rakhmerovno problem10:07
rakhmerovany time10:07
openstackgerritMerged openstack/mistral: Fixing engine facade hierarchy  https://review.openstack.org/31325710:08
*** boss has quit IRC10:09
openstackgerritRenat Akhmerov proposed openstack/mistral: Refactoring exception hierarchy  https://review.openstack.org/31350910:13
*** boss has joined #openstack-mistral10:21
*** boss has quit IRC10:24
openstackgerritMerged openstack/mistral: Refactoring exception hierarchy  https://review.openstack.org/31350910:39
*** dprince has joined #openstack-mistral11:06
openstackgerritAnastasia Kuznetsova proposed openstack/mistral: Fix mistral installation in devstack  https://review.openstack.org/31497111:14
openstackgerritMerged openstack/mistral: Fix mistral installation in devstack  https://review.openstack.org/31497111:59
*** bobh has joined #openstack-mistral12:02
*** rbrady has joined #openstack-mistral12:11
*** ddeja_ is now known as ddeja12:20
*** bobh has quit IRC12:24
*** openstackgerrit has quit IRC12:33
*** openstackgerrit has joined #openstack-mistral12:33
*** bobh has joined #openstack-mistral13:18
*** chlong has joined #openstack-mistral13:38
*** tonytan4ever has joined #openstack-mistral13:38
*** Penchal has quit IRC14:21
*** Penchal has joined #openstack-mistral14:30
*** AK has joined #openstack-mistral14:38
AKhi Guys14:54
AKNeed some help me setting up rabbit mq14:54
AKI am unable to connect to rabbit mq unless until the ip is 127.0.0.114:57
*** ak__ has joined #openstack-mistral15:08
*** AK has quit IRC15:08
*** ak__ has quit IRC15:10
*** rena9067 has joined #openstack-mistral15:20
*** tonytan_brb has joined #openstack-mistral15:28
*** tonytan4ever has quit IRC15:31
*** rbrady has quit IRC15:52
*** rbrady has joined #openstack-mistral15:52
*** ninag has joined #openstack-mistral16:05
*** dmk0202 has quit IRC16:07
*** ninag has quit IRC16:08
*** ninag has joined #openstack-mistral16:11
*** gyee has joined #openstack-mistral16:13
*** ninag has quit IRC16:25
*** ninag has joined #openstack-mistral16:26
*** ninag has quit IRC16:30
*** Penchal has quit IRC16:32
*** ninag has joined #openstack-mistral16:35
*** ninag has quit IRC16:38
*** ninag has joined #openstack-mistral16:38
*** ninag has quit IRC17:11
*** ninag has joined #openstack-mistral17:12
*** ninag has quit IRC17:16
*** ninag has joined #openstack-mistral17:19
*** ninag has quit IRC17:21
*** ninag has joined #openstack-mistral17:23
*** ninag has quit IRC17:24
*** ninag_ has joined #openstack-mistral17:25
*** ninag__ has joined #openstack-mistral17:27
*** rena9067 has quit IRC17:28
*** ninag_ has quit IRC17:30
*** openstackgerrit has quit IRC17:33
*** openstackgerrit has joined #openstack-mistral17:33
*** Ravikiran_K has joined #openstack-mistral17:52
*** rena9067 has joined #openstack-mistral18:15
*** krotscheck_ has joined #openstack-mistral18:30
*** krotscheck has quit IRC18:31
*** krotscheck_ is now known as krotscheck18:33
*** tonytan_brb has quit IRC18:36
*** tonytan4ever has joined #openstack-mistral18:59
*** shardy has quit IRC19:36
*** dmk0202 has joined #openstack-mistral19:38
*** Ravikiran_K has left #openstack-mistral20:11
*** tonytan4ever has quit IRC21:10
*** bobh has quit IRC21:27
*** bobh has joined #openstack-mistral21:29
*** bobh has quit IRC22:02
*** dprince has quit IRC22:29
*** ninag__ has quit IRC22:46
*** dmk0202 has quit IRC22:47
*** ninag has joined #openstack-mistral23:06
*** ninag has quit IRC23:11
*** bobh has joined #openstack-mistral23:15
*** ninag has joined #openstack-mistral23:26
*** ninag has quit IRC23:49

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