Wednesday, 2016-09-21

*** Ravikiran_K has joined #openstack-mistral00:10
*** Alexey_Abashkin_ has quit IRC00:13
*** Alexey_Abashkin_ has joined #openstack-mistral00:14
*** Alexey_Abashkin_ has quit IRC00:18
*** vishwanathj has quit IRC00:22
*** Alexey_Abashkin_ has joined #openstack-mistral00:32
*** bobh has quit IRC00:44
*** tonytan4ever has joined #openstack-mistral00:48
*** tonytan4ever has quit IRC00:52
*** cheneydc has joined #openstack-mistral00:59
*** bobh has joined #openstack-mistral01:02
*** cheneydc has quit IRC01:04
*** tonytan4ever has joined #openstack-mistral01:49
*** tonytan4ever has quit IRC01:54
*** bobh has quit IRC02:10
*** tonytan4ever has joined #openstack-mistral02:23
*** bobh has joined #openstack-mistral02:43
*** hparekh has joined #openstack-mistral02:44
openstackgerritLingxian Kong proposed openstack/mistral: Add std.command  https://review.openstack.org/37360602:59
*** bobh has quit IRC03:02
openstackgerritLingxian Kong proposed openstack/mistral: Add std.command  https://review.openstack.org/37360604:00
openstackgerritLucky samadhiya proposed openstack/mistral: Deleting executions shouldn't be allowed unless they have finished (SUCCESS/ERROR Closes-bug: 1598135  https://review.openstack.org/37363004:06
openstackbug 1598135 in Mistral "Deleting executions shouldn't be allowed unless they have finished (SUCCESS/ERROR)" [Undecided,In progress] https://launchpad.net/bugs/1598135 - Assigned to Lucky samadhiya (lucky-samadhiya)04:06
*** Ravikiran_K has quit IRC04:35
*** jaosorior has joined #openstack-mistral04:50
*** jaosorior has quit IRC05:10
*** jaosorior has joined #openstack-mistral05:11
*** sharatss has quit IRC05:44
*** janki has joined #openstack-mistral05:47
*** sharatss has joined #openstack-mistral05:49
*** tonytan4ever has quit IRC06:14
*** shardy has joined #openstack-mistral06:14
openstackgerritSharat Sharma proposed openstack/mistral: Replace MagicMock with Mock class  https://review.openstack.org/37371206:41
openstackgerritOpenStack Proposal Bot proposed openstack/mistral: Updated from global requirements  https://review.openstack.org/37370606:43
openstackgerritLucky samadhiya proposed openstack/mistral: Add unit test case for deletion of execution in case of (error and cancelled)  https://review.openstack.org/37379506:56
*** Alexey_Abashkin_ has quit IRC07:20
*** AlexeyAbashkin has joined #openstack-mistral07:23
*** jpich has joined #openstack-mistral07:36
*** tonytan4ever has joined #openstack-mistral07:44
*** tonytan4ever has quit IRC07:50
*** hparekh has quit IRC07:56
*** hparekh has joined #openstack-mistral07:56
*** hparekh_ has joined #openstack-mistral08:01
*** hparekh has quit IRC08:01
*** nmakhotkin has joined #openstack-mistral08:04
openstackgerritLucky samadhiya proposed openstack/mistral: Add unit test case for deletion of execution in case of (error and cancelled)  https://review.openstack.org/37379508:06
*** jaosorior is now known as jaosorior_brb08:28
openstackgerritgecong proposed openstack/mistral: Replace assertEqual(None, *) with assertIsNone in tests  https://review.openstack.org/37388408:29
*** shardy has quit IRC08:42
*** shardy has joined #openstack-mistral08:52
*** hparekh_ has quit IRC09:04
*** hparekh has joined #openstack-mistral09:20
*** hparekh_ has joined #openstack-mistral09:26
*** hparekh has quit IRC09:27
rakhmerovhparekh_: hi Hardik, you here?09:43
rakhmerovddeja: hi, how is it going?09:44
ddejarakhmerov: Hi09:44
rakhmerovddeja: did you have a chance to look at that RPC issue?09:44
ddejaunfortunately, I got info from my technical university that I have to finish my master thesis ASAP09:44
rakhmerovooh09:45
rakhmerovok09:45
rakhmerovyou're running for master degree?09:45
ddejayup. Right know I have engineering degree09:46
rakhmerovok, cool :)09:46
rakhmerovwhen do you think you'll be able to look at the issue?09:46
rakhmerov(not 'to look' apparently but rather 'to fix') :)09:46
ddejawell, I hope to finish my thesis today/tommorow, so Friday09:46
rakhmerovok, that's fine09:47
ddejaBut I can send patch today that would make executor run in 'eventlet' mode09:47
ddejait is totaly safe and easy09:47
rakhmerovyes, if you can it would be very good09:47
ddejaand I'll look more onto chanign sync to async on Friday09:47
rakhmerovd0ugal and others could test it with this change in the meantime09:47
rakhmerovyes09:48
ddejayup09:48
rakhmerovsounds good to me09:48
ddejaI'll submit patch in next 2-3 hours09:48
rakhmerovok09:48
rakhmerovhparekh_: ^09:49
rakhmerovpls ping me once you're here09:49
d0ugalThanks :)09:50
rakhmerovddeja, hparekh_: also, once you have a change pls look at https://review.openstack.org/#/c/370762/, it makes cool changes, reduces space consumed by tasks and speeds mistral up09:51
ddejarakhmerov: sure09:53
*** hparekh__ has joined #openstack-mistral09:59
*** hparekh_ has quit IRC09:59
hparekh__rakhmerov, Hi10:00
rakhmerovhparekh__: hey, just a question about your patch again10:00
hparekh__rakhmerov, yeah10:01
rakhmerovhttps://review.openstack.org/#/c/369834/10:01
rakhmerovI still don't understand a little bit10:01
rakhmerovcould you please provide some workflow definition (at least sudo) so that I understand it structure?10:01
rakhmerovI want to merge it but want to make sure on 100% that I understand the change and its consequences10:02
rakhmerovjust please a WF definition, I'll be back in ~30 mins10:02
hparekh__rakhmerov, You can reproduce this with out std.create_instance workflow10:04
hparekh__If you see wait_vm_active it will fail stated that vm_id is not published in second iteration10:05
hparekh__wait_vm_active is using vm_id to check wheteher vm is up or not. so it is retrying until it is up, but in second iteration it cannot find vm_id.10:07
rakhmerovok, wait a second..10:08
rakhmerovlooking again..10:08
*** hparekh_ has joined #openstack-mistral10:10
openstackgerritMerged openstack/mistral: Updated from global requirements  https://review.openstack.org/37370610:12
*** avnish__ has joined #openstack-mistral10:12
*** prince_katiyar has joined #openstack-mistral10:13
*** hparekh__ has quit IRC10:14
*** prince_katiyar has quit IRC10:16
rakhmerovhparekh_: ok, and why doesn't it see vm_id?10:16
rakhmerovand why only for the second iteration?10:17
*** hparekh has joined #openstack-mistral10:23
*** hparekh_ has quit IRC10:23
rakhmerovhparekh: ^10:24
hparekhrakhmerov, Actually context is recertaed10:24
rakhmerovso you mean for the second iteration it gets recreated and vm_id gets lost?10:26
*** brian_price has quit IRC10:28
hparekhrakhmerov, yes exactily10:29
rakhmerovwhy does it get lost for the second iteration but it doesn't for the 1st?10:31
openstackgerritRenat Akhmerov proposed openstack/mistral: Avoid storing workflow input in task inbound context  https://review.openstack.org/37076210:32
*** janki has quit IRC10:33
*** mflobo has joined #openstack-mistral10:36
hparekhrakhmerov, When it goes to recalculate context it use wf_ctrl.get_task_inbound_context10:36
hparekhwhich will not give published variable of 'create_vm' task10:36
*** tonytan4ever has joined #openstack-mistral10:46
*** tonytan4ever has quit IRC10:52
*** janki has joined #openstack-mistral11:00
*** shardy is now known as shardy_lunch11:05
openstackgerritMerged openstack/python-mistralclient: Add 'created_at' and 'updated_at' to action-execution-get and action-execution-list command Closes-bug: 1618767 Change-Id: I422fdcdfa66d6b7a781542c7acc458f8c46edb18  https://review.openstack.org/37236411:07
openstackbug 1618767 in Mistral "Some execution related Mistral CLI commands not returning start and end date" [Medium,In progress] https://launchpad.net/bugs/1618767 - Assigned to Lucky samadhiya (lucky-samadhiya)11:07
rakhmerovhparekh: ooh, ok, I got it now11:10
rakhmerovhparekh: you know, but honestly I think that outbound context should have published variables of previous tasks11:15
rakhmerovmaybe we have a more serious bug somewhere11:15
rakhmerovok, let's merge it now, I'm going to write some more tests for context related functionality and I'll include some tests for that11:16
hparekhrakhmerov, Ok, I think it need more investigation11:17
rakhmerovhparekh: btw, I made some changes in https://review.openstack.org/#/c/370762/ related to context calculations11:20
rakhmerovso the way how we calculate context has changed anyway11:20
*** mflobo has quit IRC11:23
openstackgerritMerged openstack/mistral: Fixed task in_bound context when retrying  https://review.openstack.org/36983411:27
*** jaosorior_brb is now known as jaosorior11:28
d0ugalSo, we have quite a few commands registered as plugins for openstackclient11:29
d0ugalHowever, many of them are impossible to use.11:29
d0ugaland I guess they have been for a while!11:29
*** shardy_lunch is now known as shardy11:29
d0ugalso, this means that nobody is using it I guess?11:29
d0ugalFor example - "openstack workflow execution show output" - that wont work11:30
d0ugalas it takes the "output" part and thinks it is the execution id lik "openstack workflow execution show $ID"11:30
openstackgerritLingxian Kong proposed openstack/mistral: Add std.command  https://review.openstack.org/37360611:31
openstackgerritMerged openstack/mistral: Add __ne__ built-in function  https://review.openstack.org/37285011:33
*** hparekh has quit IRC11:46
openstackgerritLucky samadhiya proposed openstack/mistral: Add unit test case for deletion of execution in case of (error and cancelled)  https://review.openstack.org/37379511:47
rakhmerovd0ugal: right11:59
rakhmerovI don't believe someone is using them11:59
d0ugalrakhmerov: I opened a bug :) https://bugs.launchpad.net/mistral/+bug/162605411:59
openstackLaunchpad bug 1626054 in Mistral "Multiple broken openstackclient commands" [Undecided,Confirmed]11:59
*** bobh has joined #openstack-mistral11:59
d0ugalrakhmerov: Yeah, I just tried using them in our documentation11:59
rakhmerov:)12:00
rakhmerovok12:00
d0ugalfair low priority I think12:01
d0ugalsince I think it has been like this since Liberty.12:01
*** dprince has joined #openstack-mistral12:13
*** bobh has quit IRC12:28
*** mflobo has joined #openstack-mistral12:34
therveddeja, Hi! Is there a consensus for that timeout bug?12:53
therveIt seems there was after the meeting but I wasn't sure12:53
ddejatherve: hi. I'll send the most basic fix in a minute13:02
ddejaand I'll focus on general solution later this week13:02
*** vishwanathj has joined #openstack-mistral13:06
*** jaosorior has quit IRC13:10
*** jaosorior has joined #openstack-mistral13:11
*** bobh has joined #openstack-mistral13:11
*** _achatterjee_ has joined #openstack-mistral13:16
openstackgerritMerged openstack/python-mistralclient: Pass httpclient to managers  https://review.openstack.org/36541613:17
openstackgerritDawid Deja proposed openstack/mistral: Fix for timeouting  actions on run-action  https://review.openstack.org/37414513:24
ddejatherve, d0ugal, rakhmerov here you are ^13:24
rakhmerovI'm here13:24
d0ugalddeja: Thanks! I'll test it now.13:25
rakhmerovwhat's up?13:25
rakhmerovooh, the patch13:25
rakhmerovok13:25
ddejarakhmerov: :)13:25
rakhmerov:)13:25
rakhmerovddeja: looks good to me. Just one thing I'd like to ask you about is can you please add a short comment where we init the server for engine saying that for engine we must use a default executor value which is 'blocking' due to a known issue with green threads using external blocking calls?13:28
rakhmerovso that people see some info13:29
openstackgerritNikolay Mahotkin proposed openstack/mistral: Adding a script for fast mistralclient help generation  https://review.openstack.org/37085813:36
*** janki has quit IRC13:41
ddejarakhmerov: OK13:44
therveddeja, So I guess that solves your issue, but not the top one in the bug13:47
ddejatherve: but the top one is not an issue13:48
therveddeja, How's that not an issue? :)13:49
ddejabecause if you want to several mistral action in sequence, you need to use workflow, not run action inside run action13:49
therveSomething worked, and now it doesn't. Plus it' probably a DOS vector13:49
ddejatherve: yes, it was working, but it is not something that run-action is designed for13:50
therveddeja, OK, then it should raise an error, not block the entire deployment13:51
openstackgerritDawid Deja proposed openstack/mistral: Fix for timeouting  actions on run-action  https://review.openstack.org/37414513:51
ddejatherve: I agree, but due to the fact that actions may be written by users, I'm not sure if it is possible to achievie this13:52
*** tonytan4ever has joined #openstack-mistral13:52
ddejaI mean, rise error when 'run-action' is used to run-acion/execution-create13:53
ddejaI will add info about it to docs (if it isn't already there)13:53
therveI'm sorry, but I still feel the previous behavior was preferable than the current situation13:54
therveIf it's not preventable, you can't simply deploy mistral anywhere13:54
ddejabut why would you like to use run action for running another action? Workflow is designed for such use?13:54
therveddeja, Not even thinking about custom actions, I'm thinking about malicious users13:55
ddejatherve: but you can't reproduce it without writing custom actions13:57
therveddeja, Sure you can? Simply run what's in the bug13:57
therveIt will hang the service for 1 minute13:57
ddejaoh, OK, by deafult we are crating actions based on mistralclient...13:59
ddejabut still I don't see why someone would like to write "mistral run-action mistral.action_executions_create '{"name": "std.noop"}'" instead of "mistral run-action std.noop"14:00
ddejaIMO it would be enought to state it in docs that run-action cannot be used for running actions14:01
ddejafor running another mistral actions*14:01
therveddeja, You're not answering my concern about malicious users though14:02
therveFrankly I don't understand why I have to convince you it's an issue14:03
therveThat seems to be obviously broken14:04
ddejaoh, sorry14:04
ddejaI didn't sleep much last week ;)14:04
ddejano I got it14:04
ddejanow I got it*14:04
ddejayes, I'll look on it on Friday14:05
ddejawe have to solve it14:05
ddejatherve: sorry once again for confusion14:07
therveNo worries14:07
*** nmakhotkin has quit IRC14:10
* rakhmerov reading the conversation (with big eyes)..14:37
ddejarakhmerov: yeah, sorry, I confused two things, therve is totaly right14:38
rakhmerovyeah, I think he is14:40
rakhmerovbut that second thing that we planned should probably help, right?14:40
ddejarakhmerov: it helps for most of the problems14:41
rakhmerovyeah, ok14:41
ddejabut not for the "mistral run-action mistral.action_executions_create '{"name": "std.noop"}'"14:41
rakhmerovthis is complicated, it's easy to get confused :)14:41
rakhmerovnp14:41
ddejathis one couse deadlock in different place and I't wouldn't be easy to solve14:42
rakhmerovok14:42
rakhmerovddeja: let's discuss that again early next week, I may be able to help too14:48
rakhmerovas well as d0ugal ;)14:48
rakhmerovMonday14:48
*** brian_price has joined #openstack-mistral14:48
ddejaOK14:57
*** openstack has joined #openstack-mistral15:01
openstackgerritAndras Kovi proposed openstack/mistral: Accept service catalog from client side  https://review.openstack.org/35536815:03
*** bobh has quit IRC15:06
*** rrecio has joined #openstack-mistral15:08
*** jaosorior has quit IRC15:39
*** d0ugal has quit IRC15:48
*** d0ugal has joined #openstack-mistral15:50
*** mflobo has left #openstack-mistral16:35
*** jpich has quit IRC16:48
*** bobh has joined #openstack-mistral17:07
*** dprince has quit IRC17:07
*** bobh has quit IRC17:13
*** bobh has joined #openstack-mistral18:10
*** jpich has joined #openstack-mistral18:14
*** tonytan4ever has quit IRC18:14
*** bobh has quit IRC18:14
*** tonytan4ever has joined #openstack-mistral18:15
*** shardy has quit IRC18:18
*** sharatss has quit IRC18:18
*** jpich has quit IRC18:35
*** ig0r_ has joined #openstack-mistral18:51
*** bobh has joined #openstack-mistral19:11
*** catintheroof has joined #openstack-mistral19:12
*** bobh has quit IRC19:16
*** tonytan_brb has joined #openstack-mistral19:41
*** tonytan4ever has quit IRC19:44
*** mflobo has joined #openstack-mistral19:59
*** mflobo has quit IRC19:59
*** catintheroof has quit IRC20:08
*** bobh has joined #openstack-mistral21:13
*** bobh has quit IRC21:18
*** ig0r_ has quit IRC21:45
*** bobh has joined #openstack-mistral22:10
*** bobh has quit IRC22:37
*** rrecio has quit IRC22:59
openstackgerritWinson Chan proposed openstack/python-mistralclient: Abstract authentication function  https://review.openstack.org/37123423:19

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