Tuesday, 2016-03-15

*** luobin has quit IRC00:07
*** luobin has joined #openstack-smaug00:07
openstackgerritzengchen proposed openstack/smaug: implement time trigger  https://review.openstack.org/27119601:30
openstackgerritzengchen proposed openstack/smaug: Implement operation manager  https://review.openstack.org/27433901:35
openstackgerritzengchen proposed openstack/smaug: Implement executor of OperationEngine  https://review.openstack.org/28226302:14
openstackgerritzengchen proposed openstack/smaug: Implement rpc interfaces of OperationEngine  https://review.openstack.org/27608102:14
openstackgerritzengchen proposed openstack/smaug: Implement RestAPIs of trigger.  https://review.openstack.org/28640603:05
openstackgerritzengchen proposed openstack/smaug: RPC client recreates exception object failed  https://review.openstack.org/28968503:12
openstackgerritzengchen proposed openstack/smaug: Implement RestAPIs of Scheduled Operation.  https://review.openstack.org/28703603:25
openstackgerritzengchen proposed openstack/smaug: Implement RestAPIs of trigger.  https://review.openstack.org/28640603:34
*** CrayZee has quit IRC06:54
*** CrayZee has joined #openstack-smaug06:55
*** gampel has joined #openstack-smaug07:05
*** yuval has joined #openstack-smaug07:11
yuvalping zengyingzhe07:11
yinwei_computerping saggi07:26
yuvalping chenzeng07:54
chenzengyuval:hello07:54
yuvalHow are you?07:54
chenzengyuval:fine, and you?07:54
yuvalI'm well07:54
yuvalRegarding 282263 (07:55
yuvalImplement executor of OperationEngine07:55
yuvalI was thinking, because RecordOperationLogExecutor depends on the 'real_operation_executor' having register_event_function_when_execute_operation07:56
chenzengyuval:yes07:56
yuvalmaybe we can instead of using the register event function, supply an optional callback argument to Executor's execute_operation()07:57
yuvaltherefor RecordOperationLogExecute can set the start time before calling the real_operation_executor's execute_operation(), and pass the _after_execute_operation as a callback07:59
yuvalWhat do you think?07:59
chenzengyuval:1. the fuction 'before_execute_operation' will be invoked at the real execution time not at invoking the 'execute_operation'. 2. can you describe the advantages of your design?08:04
yuvalI would like to avoid coupling the LogExecutor to the ThreadPoolExecutor. If, for example, tomorrow we would like to add a new executor, it will must have the register_event_function_when_execute_operation() function in order to be compatible with the LogExecutor, which is not required by the BaseExecutor abstract base class08:08
*** luobin has quit IRC08:11
*** luobin has joined #openstack-smaug08:11
*** yuval has quit IRC08:22
*** yuval has joined #openstack-smaug08:22
*** yinweiphone has joined #openstack-smaug08:32
yinweiphonehi saggie08:33
yinweiphonePing saggi08:34
yuvalchenzeng: what do you think?08:37
gampelhi yinwei08:38
*** saggi1 has joined #openstack-smaug08:39
*** yinweiphone has quit IRC08:39
gampelhi saggi08:40
*** gampel has quit IRC08:40
*** gampel has joined #openstack-smaug08:41
gampelhi yinwei did you ping me or saggi we are here now08:41
saggi1hi08:42
gampelsmile-luobin: are you here08:42
gampelhi @luobin08:43
gampelchenzeng: are you here08:44
gampelping zengyingzhe08:44
gampelIs there anybody out there?08:46
gampelam I swimming through this empty sea alone?08:47
luobinyes08:48
saggi1gampel: I'm with you08:48
saggi1!!08:48
openstacksaggi1: Error: "!" is not a valid command.08:48
gampelcool08:48
luobinhi08:48
gampelhi luobin08:48
gampeldid you see my comment on the swift bank patch08:48
luobinyes08:49
gampelwhat do you think ?08:49
gampeleach provider should have different bank account configuration08:51
luobinOK, I agree08:52
gampelvery good job by the way, we can merge it this way but we must agree that this setting should be per provider08:52
gampelwe need to register a bug to create provider configuration  file that will be passed to the bank and all the protection plugin08:53
luobinOK, jusk do it08:53
gampelwill you be able to register this BUG ?08:53
luobinjust08:53
saggi1luobin: The configuration for the provider must be in a seperate file so that we can synchronize it between sites. So any solution must involve a configuration per provider.08:53
gampelluobin: ?08:56
gampelsaggi1: who do you think can work on the provider configuration ?08:56
saggi1luobin: What do you have planned after the swift patch?08:56
luobinI have something to do right now, please wait08:58
luobinOK, i will.09:01
luobinI will implement the nova protection plugin09:02
gampelluobin: will you be able to register this bug09:03
luobingampel: OK, i will register this bug.09:03
gampelluobin: if you are busy i will ask yuval or someone else to work on the provider configuration09:04
zhonghua-leehi, gampel09:23
zhonghua-leehow are you09:23
chenzengyuval:sorry, are you there.09:26
yuvalyes09:26
chenzengyuval:i aggree you with the callback desgin.09:27
chenzengyuval:but how about the 'before_execute_operation'09:27
chenzengyuval:maybe i should think more about this design. it is not very good.09:29
yuvalchenzeng: maybe, instead of LogExecutor can wrap the original operation with a new log operation09:31
chenzengyuval:ok, i will update my realization. if you have good ideas, please tell me. thanks.09:37
*** luobin has quit IRC09:37
gampel zengchen:09:38
gampelhi09:38
gampeldid you talk  with saggi about https://review.openstack.org/#/c/271210/09:38
chenzenggampel:no. it is too long to update it.09:40
chenzenggampel:last time, i talked with saggi about my design of time trigger, and he agreed with me. I think he forgot to update the comments.10:04
gampelplease ask him to fix that10:04
gampelchenzeng: hi10:05
chenzengsaggi:if you have time , can you review again about the " https://review.openstack.org/#/c/271210/"10:05
chenzenggampel:ok10:05
gampelplease look at https://review.openstack.org/#/c/286437/110:05
gampelwe need to make sure we do not merge with windows line ending10:05
gampelwill you be able to check why it failed  locally when running tox and pass the CI gate10:06
chenzengthis path is own by chenying. he go to holiday.10:09
gampelOk10:09
gampelwhen will he be back ?10:09
chenzengtommorrow, i will update it.10:10
gampelthx10:10
chenzengabout 15 days.10:10
*** x00350071 has quit IRC10:42
*** x00350071 has joined #openstack-smaug10:43
*** x00350071 has quit IRC11:08
openstackgerritMerged openstack/smaug-dashboard: Initial Cookiecutter for smaug-dashboard  https://review.openstack.org/28645611:24
*** luobin has joined #openstack-smaug11:38
*** xiangxinyong456 has joined #openstack-smaug12:54
xiangxinyong456eran and saggi: ping12:54
yuvalxiangxinyong456: Eran is in a meeting, can I help?12:57
xiangxinyong456yuval: thanks.12:57
xiangxinyong456yuval: we are devepping smaug dashboard12:58
saggi1xiangxinyong456: pong12:59
xiangxinyong456saggi and yuval: which kind of plugin do you prefer?12:59
saggi1xiangxinyong456: Could you give us a bit more context13:00
xiangxinyong456django plugin or angularjs plugin?13:00
saggi1xiangxinyong456: oh, do they both work with horizon? What is the preferred methods?13:00
xiangxinyong456yeah, they both work13:01
xiangxinyong456horizon guys use angluarjs in the lastest version13:02
saggi1xiangxinyong456: So django is deprecated?13:02
xiangxinyong456not yet.13:02
xiangxinyong456both work.13:02
saggi1xiangxinyong456: Are there any plans to deprecate it is angular considered the future?13:03
xiangxinyong456yeah, horizon guys consider to use angular in the future13:04
xiangxinyong456in the mitaka, there are lots of bp about angular in horizon.13:05
xiangxinyong456i am a little worried about the present angular in horizon is not mature13:07
xiangxinyong456because there are lots of django plugin in present horizon13:08
saggi1xiangxinyong456: I see. Looking at the docs they are both viable.13:10
xiangxinyong456yes13:10
xiangxinyong456so i want to receive our team`s ideas.13:12
saggi1xiangxinyong456: It seems like both requires some django in horizon at least for the REST.13:12
xiangxinyong456saggi: yes.13:13
saggi1xiangxinyong456: From what I understand there is a clear migration path from django to angular if we want in the future. An I right?13:13
xiangxinyong456i think so. but we need to do much more change.13:14
xiangxinyong456if we use django plugin, we use more python codes,13:15
xiangxinyong456if we use angular plugin,we use more js codes13:16
saggi1I've used angular in the past. It's a good framework. But the real question is what would be easier and faster for you to develop.13:16
*** luobin has quit IRC13:16
saggi1Since I don't care much about the featureset ATM13:16
*** luobin has joined #openstack-smaug13:17
xiangxinyong456saggi: sorry, ATM means what?13:19
saggi1At the moment13:20
xiangxinyong456saggi: :)13:21
saggi1xiangxinyong456: Have you worked with any of those before?13:21
xiangxinyong456saggi: i used jquery before13:22
xiangxinyong456saggi: django looks simple in some pages13:23
saggi1xiangxinyong456: django is classic MVC. angular is a bit less conventional.13:24
xiangxinyong456yeah, you are so professional in both django and angular.13:26
xiangxinyong456saggi: i feel it is harder to finish a table tree by using django13:28
xiangxinyong456e.g. the resource table tree.13:28
xiangxinyong456we could call it tree table13:29
xiangxinyong456i think we could only finish tree table widget by using js.13:31
xiangxinyong456saggi: do you have some suggetions?13:32
saggi1xiangxinyong456: We will have to use some JS in the table.13:32
saggi1xiangxinyong456: But I think ajax support is pretty good with django isn't it?13:33
xiangxinyong456yeah, i agree with you. i like ajax.13:34
xiangxinyong456it seems that we can mix to use.django plugin and angular plugin.13:36
xiangxinyong456like the present horizon13:36
saggi1xiangxinyong456: I think we should start using django and if we see there are things we need angular for we will use angular.13:37
saggi1Do you agree?13:37
xiangxinyong456yeah. +213:38
saggi1xiangxinyong456: Great13:39
xiangxinyong456we could start like that.13:39
xiangxinyong456saggi: thanks your suggestion.13:40
xiangxinyong456i really appreciate it.13:42
*** xiangxi12 has joined #openstack-smaug13:46
*** xiangxinyong456 has quit IRC13:50
*** xiangxi12 has quit IRC13:55
*** xiangxinyong456 has joined #openstack-smaug14:02
*** Guest41345 has quit IRC14:03
openstackgerritYuval Brik proposed openstack/smaug: docs: fix operation_engine_design rst syntax  https://review.openstack.org/29289814:12
openstackgerritEran Gampel proposed openstack/smaug: Implement swift bank plugin  https://review.openstack.org/27992914:21
*** xiangxinyong456 has quit IRC14:48
*** smile-luobin has joined #openstack-smaug15:00
*** luobin has quit IRC15:04
openstackgerritYuval Brik proposed openstack/smaug: docs: fix operation_engine_design rst syntax  https://review.openstack.org/29289815:06
*** smile-luobin has quit IRC15:17
*** yuval has quit IRC16:00
*** openstackgerrit has quit IRC17:14
*** openstackgerrit_ is now known as openstackgerrit17:14
*** openstackgerrit has quit IRC17:15
*** openstackgerrit_ has joined #openstack-smaug17:15
*** openstackgerrit_ is now known as openstackgerrit17:16
*** openstackgerrit_ has joined #openstack-smaug17:16

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