Wednesday, 2016-04-13

*** zhangshuai has joined #openstack-smaug01:32
*** zhangshuai has quit IRC01:40
openstackgerritzengchen proposed openstack/smaug: Implement restart of Operation Engine service  https://review.openstack.org/30404802:36
openstackgerritzengchen proposed openstack/smaug: Implement RestAPIs of trigger.  https://review.openstack.org/28640602:36
openstackgerritzengchen proposed openstack/smaug: Implement RestAPIs of Scheduled Operation.  https://review.openstack.org/28703602:36
openstackgerritMerged openstack/smaug-dashboard: Submit Protection Plan API for dashboard  https://review.openstack.org/30272903:11
openstackgerritYuval Brik proposed openstack/smaug: Implement Graph pack and unpack  https://review.openstack.org/30416005:16
*** yuval has joined #openstack-smaug05:48
*** WANGFeng has joined #openstack-smaug05:59
*** WANGFeng has quit IRC06:38
yuvalping yinwei_computer07:12
openstackgerritwangliuan proposed openstack/smaug: Implement the protection flow  https://review.openstack.org/28101107:25
chenzengyuval:ping07:49
chenzengyuval:1. I want to know whether you agree with me about the restart flow of Operation Engine. if you agree, i will continue to develop the 'resume_operation' interface of executor.07:53
chenzengyuval:2. did you see the updates at smaug/operationengine/manager.py/create_scheduled_operation submitted in  https://review.openstack.org/304048. I think we need adding that logic.07:57
yuvalchenzeng: hey07:58
yuvalchenzeng: let me look into it, 1 minute07:58
chenzengyuval:ok, thanks.07:58
yuvalchenzeng: the restart flow looks good to me07:59
chenzengyuval:ok.07:59
chenzengyuval:how about 2.07:59
yuvalchenzeng: I'll read it again if there is nothing special, I'll +1 it07:59
yuvalregarding 207:59
yuvalwhat is the cast interface of RPC?08:01
chenzengthere are two kinds of interfaces, one is call and another is cast.08:02
chenzengcast is used to broadcast the requests.08:03
chenzengbut call is used to send request and wait the response.08:03
yuvaldo you mean that when we create the trigger, we can use 'cast' to broadcase the request to all instances?08:04
openstackgerritzengchen proposed openstack/smaug: Implement restart of Operation Engine service  https://review.openstack.org/30404808:05
chenzengyes.08:05
chenzengif we use cast, we don't know whether it is success.08:06
yuvalSo, you suggest that in rpcapi.py, create/update/delete trigger will use cast?08:16
yuvalchenzeng: ?08:17
chenzengyuval:i am here08:17
chenzengyuval:create use call, and delete use cast.08:18
yuvalchenzeng: why won't create and update use cast also?08:19
chenzengyuval:maybe it is better to use cast for create/update/delete.08:19
chenzengif so, we need to check the trigger property at the API service. then send the right tirgger property to Operation Engine.08:21
yuvalin order to avoid sending invalid trigger property?08:22
chenzengyes08:22
chenzengyuval:can you discuss this problem with saggi and gampel. i think it can not be solved by only changing the way of sending requst. it become a problem of distributed system.08:27
chenzengif we have two instances of Operation Engine as A/B. we hope both of them have same triggers. but if operation 'o1' is registered to A, but when request of unregistering 'o1' is sended to B, how to do.08:30
yuvalsorry, I thought we are speaking about create/update/delete of triggers08:37
yuvalnot operations08:37
chenzengok.08:38
chenzeng1. use cast for /create/update/delete trigger.08:38
chenzengwhat do you think.08:38
yuvalsounds good08:38
chenzengregarding the operation. .how about using call for creating scheduled operation and using cast for deleting scheduled operation.08:39
yuvalsounds very good08:39
chenzengok, i will update. thank you.08:39
yuvaljust one thing08:40
yuvalin rpcapi.py08:40
chenzengyes08:40
yuvalthe target doesn't have the fanout parameter08:40
yuvalnow, I'm not sure, but I think using cast for broadcast requires the fanout parameter08:40
yuvalI'm trying to figure that out from the documentation08:41
chenzengok, thanks.08:41
chenzengi have another question.08:41
yuvalsure08:41
chenzengyou can see the problem first.08:41
chenzenghttps://bugs.launchpad.net/smaug/+bug/156679308:42
openstackLaunchpad bug 1566793 in Smaug "authenticate in protection service client" [Undecided,New]08:42
yuvalYes, I've seen this one08:43
chenzengdo you know how to use keystone to solve the expiry of token. i know the trust id of token may be work. but i don't know how to use.08:45
chenzengif you know, please give me some example. thanks.08:49
yuvalI'm not sure what you mean by "solve the expiry"08:51
yuvaldo you mean, extend the session?08:51
yuvalor retrieve the expiry time?08:52
chenzengi mean the token is invalid because of exceeding the valid time.08:56
yuvalI need to read more about keystone api for that08:56
chenzengno, you no need to.  i will do that work. thanks.08:58
yinweiishereping yuval09:37
openstackgerritMerged openstack/smaug-dashboard: Submit Schedule Operation API for dashboard  https://review.openstack.org/30294709:37
openstackgerritMerged openstack/smaug-dashboard: Submit Restore API for dashboard  https://review.openstack.org/30295509:37
yuvalping yinweiishere10:21
*** openstack has joined #openstack-smaug11:15
*** openstack has quit IRC11:16
*** openstack has joined #openstack-smaug11:31
*** openstackgerrit has quit IRC11:35
*** gampel has quit IRC11:35
*** yinwei_computer has quit IRC11:35
*** gampel has joined #openstack-smaug11:36
*** openstackgerrit has joined #openstack-smaug11:50
openstackgerritMerged openstack/smaug: Add checkpoint id to the response of the checkpoint POST action  https://review.openstack.org/30397113:04
openstackgerritMerged openstack/smaug-dashboard: Submit Protectable API for dashboard  https://review.openstack.org/30297813:04
openstackgerritYuval Brik proposed openstack/smaug: Implement Graph pack and unpack  https://review.openstack.org/30416013:11
openstackgerritYuval Brik proposed openstack/smaug: Fix init_host of protection service  https://review.openstack.org/30526713:18
openstackgerritMerged openstack/smaug-dashboard: Submit Provider API for dashboard  https://review.openstack.org/30300313:24
*** chenying_ has joined #openstack-smaug13:34
openstackgerritMerged openstack/smaug: Implement RestAPIs of trigger.  https://review.openstack.org/28640613:36
openstackgerritMerged openstack/smaug: Implement RestAPIs of Scheduled Operation.  https://review.openstack.org/28703613:37
*** CrayZee1 has joined #openstack-smaug13:37
openstackgerritMerged openstack/smaug: graph: add test to verify diamond dependence  https://review.openstack.org/30382013:37
openstackgerritMerged openstack/smaug-dashboard: Submit Checkpoint API for dashboard  https://review.openstack.org/30301113:38
openstackgerritMerged openstack/smaug-dashboard: Submit Trigger API for dashboard  https://review.openstack.org/30301513:38
openstackgerritMerged openstack/smaug-dashboard: [Triggers] Submit index view function  https://review.openstack.org/30379313:39
openstackgerritYuval Brik proposed openstack/smaug: Add providers.d directory to setup.cfg  https://review.openstack.org/30512713:41
*** chenying has quit IRC13:43
*** CrayZee has quit IRC13:43
openstackgerritYuval Brik proposed openstack/smaug: Implement Graph pack and unpack  https://review.openstack.org/30416013:45
openstackgerritMerged openstack/smaug: Protection manager register protectable plugins  https://review.openstack.org/30381313:47
openstackgerritMerged openstack/smaug: Fix init_host of protection service  https://review.openstack.org/30526713:51
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Triggers] Submit create view function  https://review.openstack.org/30379514:14
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Triggers] Submit create view function  https://review.openstack.org/30379514:20
openstackgerritYuval Brik proposed openstack/smaug: Add providers.d directory to setup.cfg  https://review.openstack.org/30512714:23
openstackgerritYuval Brik proposed openstack/smaug: Implement Graph pack and unpack  https://review.openstack.org/30416014:45
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Triggers] Submit detail view function  https://review.openstack.org/30379914:57
*** yuval has quit IRC14:58
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Triggers] Submit detail view function  https://review.openstack.org/30379915:03
*** yuval has joined #openstack-smaug15:04
*** yuval has quit IRC15:04
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Triggers] Submit detail view function  https://review.openstack.org/30379915:08
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Protection Providers] Submit index view function  https://review.openstack.org/30397315:17
openstackgerritxiangxinyong proposed openstack/smaug-dashboard: [Protection Providers] Submit detail view function  https://review.openstack.org/30398315:22
*** openstack has joined #openstack-smaug15:50
*** openstack has joined #openstack-smaug15:54
*** openstack has joined #openstack-smaug16:08
*** zhongjun__ has quit IRC16:36
*** zhongjun_ has joined #openstack-smaug16:37
openstackgerritMerged openstack/smaug: Add providers.d directory to setup.cfg  https://review.openstack.org/30512717:40
*** chenying_ has quit IRC17:52
*** chenying_ has joined #openstack-smaug17:53
*** CrayZee1 has quit IRC18:38
*** yinweiishere has quit IRC18:39
*** CrayZee has joined #openstack-smaug18:39
*** openstackgerrit has quit IRC18:39
*** yinweiishere has joined #openstack-smaug18:39
*** openstackgerrit has joined #openstack-smaug18:55
*** zhongjun__ has joined #openstack-smaug19:37
*** CrayZee has quit IRC19:48
*** zhongjun_ has quit IRC19:48
*** CrayZee has joined #openstack-smaug19:48
*** CrayZee has quit IRC20:04
*** CrayZee has joined #openstack-smaug20:09
*** CrayZee1 has joined #openstack-smaug20:10
*** CrayZee has quit IRC20:11
*** CrayZee has joined #openstack-smaug20:41
*** CrayZee1 has quit IRC20:47
*** c00281451 has joined #openstack-smaug20:52
*** chenzeng has quit IRC20:52
*** saggi1 has joined #openstack-smaug21:14
*** saggi1 has quit IRC21:14
*** saggi1 has joined #openstack-smaug21:15
*** saggi1 has quit IRC21:19
*** c00281451_ has joined #openstack-smaug21:38
*** c00281451 has quit IRC21:41
openstackgerritchenhuayi proposed openstack/smaug: The network protectable plugin include port, network, subnet, securitygroup, route.  https://review.openstack.org/30552223:22
openstackgerritchenhuayi proposed openstack/smaug: Implement neutron network protectable plugin  https://review.openstack.org/30552223:26

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