Tuesday, 2016-05-03

openstackgerritMerged openstack/smaug: Make Plan parameterss a DictOfDict  https://review.openstack.org/30974801:44
openstackgerritMerged openstack/smaug: Fix resource name can not be inserted into db  https://review.openstack.org/31012801:44
openstackgerritMerged openstack/smaug-dashboard: [Checkpoints] Submit index view function  https://review.openstack.org/30757202:06
openstackgerritMerged openstack/smaug-dashboard: [Operation Logs] Submit index view function  https://review.openstack.org/30772902:06
openstackgerritchenying proposed openstack/python-smaugclient: Fix creating scheduled_operations error  https://review.openstack.org/31192102:50
*** zhangshuai has joined #openstack-smaug03:04
*** zhangshuai has quit IRC03:21
*** yuval has joined #openstack-smaug06:34
openstackgerritchenying proposed openstack/python-smaugclient: Fix creating scheduled_operations error  https://review.openstack.org/31192106:56
*** wangfeng has joined #openstack-smaug07:46
*** c00281451 has joined #openstack-smaug07:47
*** c00281451 is now known as chenzeng07:50
chenzengyuval:good morning! how are you?07:50
*** wangfeng has quit IRC08:27
yuvalchenzeng: hey, how are you?08:30
chenzengyuval:good. long time to talk to you.08:41
chenzengyuval:i have two issues to talk to you. 1. do you have to time to review the 3 patches, https://review.openstack.org/#/c/282263/,https://review.openstack.org/#/c/309898,https://review.openstack.org/#/c/310394.08:44
chenzengi hope they can be merged ASAP.08:44
yuvalok, what is the second issue?08:47
chenzeng2. I think the solution that send the creating scheduled operation request by call and others by cast is too weak. do we need to add a scheduler to chose the target node like the scheduler in nova?08:48
yuvalwhat do you mean by "too weak"?08:49
chenzengwe use cast to broadcast the requests, so we can not make sure the requests are executed successfully. we just notify the operation engine service to do, but we can not treat the exceptions.08:55
openstackgerritzengchen proposed openstack/smaug: Implement protect operation  https://review.openstack.org/30989808:56
openstackgerritchenpengzi proposed openstack/smaug: Fix fullstack test_plan_list  https://review.openstack.org/31200810:15
yuvalping chenzeng10:38
chenzengyuval:sorry, i went to have dinner. don't you have a rest?10:47
yuvalchenzeng: we do, I just had lunch10:48
yuvalchenzeng: (burger)10:48
chenzengyuval:oh, your lunch is so simple.10:50
chenzengyuval:how about that question?10:50
chenzengyuval:what's your opinion?10:51
yuvalchenzeng: I agree that there might be an issue here10:52
chenzengyuval:so, we have to get a better solution.10:53
yuvalchenzeng: have you looked in oslo.messaging? maybe there is a solution for that? maybe there is a planned solution?10:53
chenzengyuval:no, i will look at it tomorrow.10:55
yuvalchenzeng: how do new host register at nova's scheduler?10:55
yuvalif we want a scheduler-like solution, doesn't it imply a central scheduler?10:56
chenzengyuval:i think when the compute service start, it will register to scheduler. nova have a central scheduler service.10:58
chenzengyuval:do we need to send a email of openstack to get the other guys's idea?11:01
chenzengyuval:i think for the trigger, we use cast interface of RPC, but for the operation, it is better to add a scheduler to find a node to create/delete operations.11:04
yuvalchenzeng: why not use scheduler for operation also?11:05
yuval*for trigger11:06
chenzengbecause for all nodes, they have same all triggers.11:07
yuvalbut what if registering a trigger use 'cast()' fails due to an exception?11:11
yuvalchenzeng: ?11:16
chenzengyuval:yes11:16
yuvalchenzeng: but what if registering a trigger use 'cast()' fails due to an exception?11:18
chenzengthe trigger are stored in the memory, there is not bad influence when the create/delete/update trigger failed.11:18
yuvalchenzeng: what if the update trigger fails, and then we register an operation to that trigger?11:19
yuvalchenzeng: it will use the configuration before the update11:19
chenzengyuval:yes, you are right. it is a problem for the consistency.11:21
chenzengyuval:but for trigger, we don't need the scheduler to get a node. the target of trigger's operation is all nodesl11:24
yuvalchenzeng: yes. and if we use scheduler which does 'call()' on every service, it will need to iterate each one of them11:26
yuvalchenzeng: all nodes = all services?11:26
chenzengyuval:  all nodes = all services? yes11:26
chenzengyuval:is it too slow for  'call()' on every service if we have multiple services.11:28
yuvalchenzeng: might very well be11:29
yuvalchenzeng: I'm trying to find how other openstack projects deal with that11:30
yuvalchenzeng: can you take a look at nova/scheduler/rpcapi.py ?11:33
chenzengyuval:yes.11:34
yuvalchenzeng: it uses fanout cast() without verifying and exceptions11:35
chenzengyuval:so, you mean we can still use cast?11:36
chenzengingore the exceptions.11:36
yuvalI think for now we can still use cast11:54
yuvalbut we should consider the case of what happens when we register an operation to a service, and the service goes down11:54
chenzengyuval:ok. so we don't add a scheduler service, right.12:03
yuvalchenzeng: what do you think about the above issue? (operation engine service goes down when it has operations registered to it)12:04
chenzengyuval:we can restart the service which will register the operation again.12:06
yuvalchenzeng: what if the service goes down and stays down?12:06
chenzengyuval:we can start the service on another node and migrate the operations to this service.12:07
yuvalchenzeng: but we need to detect that the service is down and the operation didn't start12:07
chenzengsorry not quite understand.12:08
chenzengwhat do you mean for ' the operation didn't start'12:09
yuvalok12:09
yuvalsay we have a trigger: 12:00 every day12:09
chenzengyes12:09
yuvalwe register operation "protect project A" to this trigger12:09
yuvalthis register the operation in the database, and also sends a 'call()' to register the operation to the trigger on one service12:11
yuvalnow everything works fine for a week12:11
chenzengok12:11
chenzengok12:12
chenzengi understand12:12
yuvalafter that, we take this specific operation engine service down, and let it stay down12:12
yuvaloperation never happens12:12
chenzengyou worry the operations can not be triggered on time for the service down12:12
yuvalyep12:13
yuvalthis is an important issue12:14
chenzengyes, i agree.12:14
chenzengthat is the next step we must do.12:15
chenzengwe can discuss in the meeting later.12:15
chenzengyuval:sorry, i have to go. see you later.12:16
yuvalchenzeng: bye12:16
*** wangfeng has joined #openstack-smaug12:36
*** saggi has joined #openstack-smaug13:50
openstackgerritWeAreFormalGroup proposed openstack/smaug: Implement list checkpoints  https://review.openstack.org/31071013:52
*** x00350071 is now known as xiangxinyong13:56
*** chenying_ has joined #openstack-smaug14:00
*** yinweimac has joined #openstack-smaug14:00
*** pzchen has joined #openstack-smaug14:03
*** pzchen has quit IRC14:15
*** pzchen has joined #openstack-smaug14:15
*** zhangshuai has joined #openstack-smaug14:24
*** pzchen has quit IRC14:27
*** gampel has joined #openstack-smaug14:29
*** Guest93630 has joined #openstack-smaug14:34
Guest93630guys,is there a meeting holding tonight?14:35
xiangxinyongyeah14:36
xiangxinyongon the #openstack-meeting14:36
*** gampel has quit IRC14:39
*** gampel has joined #openstack-smaug14:41
*** zhangshuai2 has joined #openstack-smaug14:42
Guest93630xiangxinyong, xiexie!14:44
*** Guest93630 is now known as NeoL14:49
*** zhangshuai2 has quit IRC14:50
*** NeoL is now known as Bourne_L14:50
*** yinweimac has quit IRC15:01
*** chenying_ has quit IRC15:01
*** Bourne_L has quit IRC15:02
*** zhangshuai has quit IRC15:02
*** zhangshuai_ has joined #openstack-smaug15:03
*** yuval has quit IRC15:06
*** zhangshuai_ has quit IRC15:09
*** saggi has quit IRC15:59
*** wangfeng has quit IRC16:17
*** gampel has quit IRC17:39
*** gampel has joined #openstack-smaug17:41
*** gampel has quit IRC17:49
*** saggi has joined #openstack-smaug19:02
*** zhonghua-lee has quit IRC19:42
*** zhonghua-lee has joined #openstack-smaug19:51

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