Tuesday, 2016-06-28

*** bobh has joined #openstack-mistral00:07
*** bobh has quit IRC00:12
*** gyee has quit IRC00:29
*** enykeev has quit IRC00:50
*** enykeev has joined #openstack-mistral00:50
*** cheneydc has joined #openstack-mistral00:55
*** toddjohn has joined #openstack-mistral01:14
*** toddjohn has quit IRC01:19
openstackgerritLingxian Kong proposed openstack/mistral: Add db models for event trigger  https://review.openstack.org/32049701:25
openstackgerritLingxian Kong proposed openstack/mistral: Add event engine service  https://review.openstack.org/32050001:25
openstackgerritLingxian Kong proposed openstack/mistral: Add event trigger REST API  https://review.openstack.org/32050901:25
*** toddjohn has joined #openstack-mistral01:42
*** toddjohn has quit IRC01:52
*** saphi has joined #openstack-mistral02:31
*** chlong has quit IRC02:37
*** chlong has joined #openstack-mistral02:50
*** toddjohn has joined #openstack-mistral02:53
*** toddjohn has quit IRC02:58
*** toddjohn has joined #openstack-mistral04:54
*** toddjohn has quit IRC05:00
*** Ravikiran_K has quit IRC05:31
openstackgerrithardik proposed openstack/mistral: Updated mapping.json file  https://review.openstack.org/33478105:40
*** jtomasek has quit IRC05:55
*** saphi has quit IRC05:56
openstackgerritMerged openstack/mistral: Support recursive ad-hoc action definitions  https://review.openstack.org/33431205:58
*** Ravikiran_K has joined #openstack-mistral06:22
rakhmerovhparekh: hey, thanks for updating mappings06:26
rakhmerovhparekh: I wonder how we can do the same for neutron06:26
hparekhrakhmerov, :)06:26
rakhmerovour script doesn't support neutron :(06:26
hparekhactuallu I have updated script and it works for neutron. Its on my local environement. I trying to make it work for other actions for zaqar etc06:27
rakhmerovok06:30
rakhmerovcool06:30
rakhmerovhparekh: can I forward your email about automated testing for actions to ML?06:34
rakhmerovor you can resend it06:34
rakhmerovI'd like the discussion to start rolling around it06:34
rakhmerovso that other people could participate06:34
*** cheneydc has quit IRC06:53
*** toddjohn has joined #openstack-mistral06:56
*** toddjohn has quit IRC07:01
hparekhrakhmerov, yeah, We can get some suggestions from community on how we can manage openstack actions07:03
hparekhrakhmerov, I will send email07:03
openstackgerritXavier Hardy proposed openstack/mistral: Add support for custom YAQL functions  https://review.openstack.org/33480407:15
*** jpich has joined #openstack-mistral07:20
rakhmerovhparekh: ok, thanks07:24
*** saphi has joined #openstack-mistral07:34
saphihi rakhmerov07:34
saphiI write a workflow about security group. I get all rule from nova.security_groups_list action. and get ID rule by <% let(root => $ ) -> task(list_rules).result.where($.name = $root.security_group_name and $.rules.from_port = $root.from_port and $.rules.to_port = $root.to_port).id %> . But when I execute with data from_port and to_port and security_group_name . I get null data although I have setted a rule with a that port.07:37
rakhmerovsaphi: nova actions are now being updated with https://review.openstack.org/#/c/334781/07:42
rakhmerovthis might affect your case07:42
saphihey rakhmerov. When I try `mistral run-action nova.security_groups_list` result is: http://pastebin.com/aX3f5CUP .07:47
rakhmerovok, so it works?07:48
saphiBut I can't compare from_port , to_port in list rules.07:48
*** mgershen has joined #openstack-mistral07:48
saphialthough I try publish from_port, to_port and they are right, I can't compare with my data input07:49
rakhmerovdid you see yaqluator?07:50
rakhmerovtry to test your expression with it07:50
rakhmerovhttp://yaqluator.com07:50
saphimy workflow: http://pastebin.com/QbqTvUJS07:50
rakhmerovsaphi: ok, I'll be able to look at it later07:55
rakhmerovtry yaqluator in the meantime07:55
*** shardy_afk is now known as shardy07:55
*** toddjohn has joined #openstack-mistral07:58
saphithank rakhmerov. That tool is very cool.08:00
rakhmerovyep08:00
rakhmerovsaphi: you can also just install yaql and try it locally08:00
rakhmerovpip install yaql08:00
rakhmerovand then $ yaql08:00
saphithank again :))08:02
*** toddjohn has quit IRC08:02
nmakhotkinhi saphi08:06
*** dmk0202 has joined #openstack-mistral08:06
nmakhotkinprobably you could try http://yaqluator.com08:06
saphihi nmkhotkin08:06
nmakhotkinthere is a visual tool for evaluating yaql08:07
saphitks. I have solved my problem08:07
nmakhotkinoh, rakhmerov already mentioned it :)08:07
saphiyes :D08:07
rakhmerovsaphi: what was that problem?08:07
nmakhotkinI've missed this :D08:07
rakhmerovjust curious08:07
saphirakhmerov. I saw nested list in rules. So I use first() after rules.08:09
saphiand this is my query: <% let(root => $ ) -> task(list_rules).result.where($.name = $root.security_group_name).rules.first().where($.from_port = $root.from_port and $.to_port = $root.to_port ).id %>08:10
openstackgerritMerged openstack/mistral: Updated mapping.json file  https://review.openstack.org/33478108:11
rakhmerovok, glad you solved it08:12
*** ddeja has joined #openstack-mistral08:15
*** xavierhardy has joined #openstack-mistral08:27
xavierhardyhi rakhmeroc08:28
xavierhardy*rakhmerov08:28
rakhmerovxavierhardy: hi :)08:29
rakhmerovxavierhardy: first of all, thanks for amazing patches you're sending08:30
xavierhardyyou're welcome, thank you for reacting so quickly08:30
rakhmerovxavierhardy: it's worth it08:30
rakhmerovxavierhardy: if it's not a secret, what is your interest in Mistral?08:31
rakhmerovI ask everyone who comes to contribute :)08:31
xavierhardyProvide automation to non-developers inside the company08:31
rakhmerovkind of collecting info about use cases, users etc.08:31
rakhmerovxavierhardy: so it's kind of devops automation?08:32
xavierhardylet's say kind of (not allowed to say more, sorry)08:32
rakhmerovthat's no problem, I understand08:32
rakhmerovare you contributing to something else in OpenStack or you're new to OpenStack?08:32
xavierhardyI'm new, that's why I did some mistakes while first committing on Gerrit08:33
xavierhardyhowever, I'm not new to OpenStack, I used it before08:33
rakhmerovI see08:33
rakhmerovok08:33
xavierhardyThe main components Nova/Neutron/Glance08:33
rakhmerovok, I hope you'll enjoy working with us, we're working on planning a lot of good stuff08:34
rakhmerovbtw, we left some comments in https://review.openstack.org/#/c/334804/08:34
rakhmerovplease take a look, but generally looks very good and I gave my +208:34
xavierhardyactually, I think the yaql API already addresses this08:36
xavierhardybut it does lack documentation08:36
xavierhardyhttps://github.com/openstack/yaql/blob/master/yaql/standard_library/math.py08:36
rakhmerovno-no, it's a little different08:37
rakhmerovwhat I'm trying to say here is that: yes, we can create simple YAQL functions as that YAQL doc says, but what can we use from Mistral side to do something more complicated08:37
rakhmerovI mean not just some mathematical functions or similar, but something related to Mistral functionality and its model itself08:38
xavierhardyOK08:38
xavierhardyLike querying the database08:38
rakhmerovexample: I want to write a function that queries a Mistral DB08:38
rakhmerovyes, exactly08:38
rakhmerovapparently, using db_api directly is not a good idea08:39
rakhmerovwell, may be it's ok, need to think08:39
rakhmerovbut anyway, a user should understand what they can use and what they can't08:39
rakhmerovprivate API vs public API08:39
xavierhardyYes08:40
rakhmerovif, for example, they use mistra.db.api directly then it may be dangerous because it is internal API and hence not stable08:40
rakhmerovso my suggestion is to have some module which we expose as a public API for writing YAQL functions08:40
xavierhardyok08:41
rakhmerovand everything that's in there can be legally used08:41
xavierhardybut I do think this should come in a separate commit08:41
rakhmerovxavierhardy: absolutely08:41
xavierhardyhowever, i'll try to address the documentation issue08:41
rakhmerovyes08:41
rakhmerovI like multiple patches actually08:41
rakhmerovno need to put everything possible into one patch08:42
rakhmerovjust one requirement: patches need to be atomic (not breaking anything)08:42
rakhmerovxavierhardy: btw, you can also look at https://review.openstack.org/#/c/325769/08:43
rakhmerovwe're having a similar discussion there but for developing new actions08:43
xavierhardyok08:45
*** jistr is now known as jistr|mtg09:04
*** jayachand has joined #openstack-mistral09:31
*** jistr|mtg is now known as jistr09:31
*** jayachand has left #openstack-mistral09:34
*** venkat has joined #openstack-mistral09:38
*** toddjohn has joined #openstack-mistral09:59
*** toddjohn has quit IRC10:04
*** mgershen has quit IRC10:07
*** mgershen has joined #openstack-mistral10:07
*** mgershen has quit IRC10:11
*** mgershen has joined #openstack-mistral10:37
*** saphi has quit IRC11:28
openstackgerritLingxian Kong proposed openstack/mistral: [TEST] Fix SSHActionsTestsV2 failure  https://review.openstack.org/33494511:29
openstackgerritDawid Deja proposed openstack/mistral: New RPC layer implementation  https://review.openstack.org/19411711:42
openstackgerritDawid Deja proposed openstack/mistral: Integrating new RPC layer with Mistral  https://review.openstack.org/19756311:42
openstackgerritDawid Deja proposed openstack/mistral: Make RPC implementation configurable  https://review.openstack.org/19756211:42
openstackgerritDawid Deja proposed openstack/mistral: Adding OsloRPC server and client  https://review.openstack.org/19756111:42
openstackgerritDawid Deja proposed openstack/mistral: Add tests for Kombu driver  https://review.openstack.org/33048311:42
*** jpich has quit IRC11:46
*** toddjohn has joined #openstack-mistral12:01
*** toddjohn has quit IRC12:05
*** jpich has joined #openstack-mistral12:09
*** toddjohn has joined #openstack-mistral12:41
*** toddjohn has quit IRC12:51
*** venkat has quit IRC13:01
*** bobh has joined #openstack-mistral13:09
openstackgerritShaik Apsar proposed openstack/mistral: [WIP] Add tacker actions in mistral  https://review.openstack.org/33182713:23
*** toddjohn has joined #openstack-mistral13:39
*** toddjohn has quit IRC14:00
*** toddjohn has joined #openstack-mistral14:00
*** tonytan4ever has joined #openstack-mistral14:30
*** mandre has left #openstack-mistral14:38
*** krotscheck_dcm is now known as krotscheck14:48
*** jistr is now known as jistr|mtg15:13
*** jistr|mtg is now known as jistr15:32
*** dmk0202 has quit IRC15:42
*** toddjohn has quit IRC16:00
*** vishwanathj has joined #openstack-mistral16:02
*** toddjohn has joined #openstack-mistral16:05
*** toddjohn has quit IRC16:10
*** gyee has joined #openstack-mistral16:17
*** mgershen has quit IRC16:17
*** jpich has quit IRC16:31
*** tonytan4ever has quit IRC16:39
*** toddjohn has joined #openstack-mistral16:41
*** tonytan4ever has joined #openstack-mistral16:56
*** vishwanathj has quit IRC17:02
*** gyee has quit IRC17:03
*** d0ugal has quit IRC17:37
*** d0ugal has joined #openstack-mistral17:37
*** d0ugal has joined #openstack-mistral17:37
*** d0ugal has quit IRC17:41
*** d0ugal has joined #openstack-mistral17:42
*** d0ugal has joined #openstack-mistral17:42
*** gyee has joined #openstack-mistral18:08
*** Ravikiran_K has quit IRC18:23
*** tonytan4ever has quit IRC19:15
*** toddjohn has quit IRC19:21
*** tonytan4ever has joined #openstack-mistral19:24
*** gyee has quit IRC19:25
*** toddjohn has joined #openstack-mistral20:01
*** toddjohn has quit IRC20:06
*** gyee has joined #openstack-mistral20:39
*** dmk0202 has joined #openstack-mistral21:11
*** harlowja has quit IRC21:19
*** dmk0202 has quit IRC21:42
*** harlowja has joined #openstack-mistral22:16
*** harlowja has quit IRC22:23
*** tonytan4ever has quit IRC22:45
*** bobh has quit IRC22:54
*** harlowja has joined #openstack-mistral23:12
*** tonytan4ever has joined #openstack-mistral23:22
*** tonytan4ever has quit IRC23:27
openstackgerritMerged openstack/mistral: Refactored tempest tests  https://review.openstack.org/33043823:44

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