Friday, 2016-08-26

*** zhurong has quit IRC00:04
*** yizhihui has joined #openstack-smaug00:28
*** wanghao_ has joined #openstack-smaug01:08
*** zhurong has joined #openstack-smaug01:17
*** zhonghua-lee has quit IRC01:22
*** zhonghua-lee has joined #openstack-smaug01:23
*** yamamoto has quit IRC01:34
xiangxinyongyizhihui: hello01:53
yizhihuihello01:53
xiangxinyongI see you ask a question about the resources show01:54
yizhihuiyes01:55
xiangxinyongwhen we design the protection and restore, we separete resource plugin with protection plugin01:57
xiangxinyongresource plugin is here: smaug/services/protection/protectable_plugins01:58
xiangxinyongprotection plugin is here: smaug/services/protection/protection_plugins01:58
xiangxinyongresouce plugin is in charge of showing resource, listing resources and defining the dependent relationship01:59
xiangxinyongprotection plugin is in charge of protecting and restoring.02:00
xiangxinyongat the begining, we think one resource plugin may have more than one protection plugin02:01
yizhihuiand ?02:02
xiangxinyongfor example, a resource "volume" may have "emc volume backup protection plugin", "emc volume snapshot protection plugin","eisoo volume backup protection plugin","eisoo volume snapshot protection plugin"02:03
xiangxinyongso the resource plugin adn protection plugin are seperated. They have the independent function02:04
yizhihuiI mean why the resource plugin base class didn't provide the show_resource method02:06
yizhihuithis show_resource method has nothing to do with the protection plugin02:06
xiangxinyong*_*02:09
xiangxinyongso you mean this file has no show_resource method. "smaug\services\protection\protectable_plugin.py"02:09
xiangxinyong?02:09
yizhihuiyes02:09
*** yamamoto has joined #openstack-smaug02:13
xiangxinyongand do you want to invoke the "show_resource" method of "resource plugin base class" in your protection plugin?02:14
yizhihuino, I don't02:15
xiangxinyong:) so I am a little confused with this sentence. "this show_resource method has nothing to do with the protection plugin"02:18
yizhihuiI just think show_resource should be an abstract method like other methods in the base class, so when we implement a resource plugin, we know that we should overwrite this show_resource method02:18
xiangxinyong:) I know your meaning now. Thanks.02:19
yizhihui:) you are welcome!02:20
xiangxinyongI agree with you. I will make clear this question with designer, and then reply to you.02:21
xiangxinyongI guess this is a good optimization.02:22
yizhihuiThank you!02:27
xiangxinyongyizhihui: I discuss with smile-luobin. He also think you are right.02:29
xiangxinyongcould you file a bug to specify this problem?02:29
xiangxinyonghttps://bugs.launchpad.net/karbor/+filebug02:29
yizhihuiok02:31
xiangxinyongthanks02:31
xiangxinyongif you finish that, could you paste the bug link here?02:34
xiangxinyonglike this one :https://bugs.launchpad.net/karbor/+bug/156082602:34
openstackLaunchpad bug 1560826 in Karbor "restore design spec" [High,In progress] - Assigned to yinwei (yinweiishere-n)02:34
yizhihuiok02:36
yizhihuihttps://bugs.launchpad.net/karbor/+bug/161712702:45
openstackLaunchpad bug 1617127 in Karbor "ProtectablePlugin class design" [Undecided,New]02:45
xiangxinyongyizhihui: thanks02:52
xiangxinyongif you have time, I could submit this patch together02:53
xiangxinyongwitg you02:53
xiangxinyongwith you02:53
xiangxinyongwhat about that?02:53
yizhihuiok02:54
xiangxinyongdo you have team viewer02:54
xiangxinyongwe could do it together02:54
yizhihuiyes02:55
*** garryfan has joined #openstack-smaug02:55
openstackgerrityizhihui proposed openstack/smaug: Add abstract method in ProtectablePlugin base class  https://review.openstack.org/36087503:54
*** garryfan has quit IRC04:52
xiangxinyongyizhihui: I guess we need to modify the codes to solve these problems about your patch. https://etherpad.openstack.org/p/got05:03
xiangxinyongyizhihui: could you do that?05:03
yizhihuiyes05:07
*** garryfan has joined #openstack-smaug05:11
*** wu_qingyong has joined #openstack-smaug05:14
*** LiChunyu has joined #openstack-smaug05:35
xiangxinyongyizhihui: Great. I add some commands into here. https://etherpad.openstack.org/p/got05:58
yizhihuiok05:59
yizhihuii will do the work a moment later06:00
xiangxinyong:)06:01
*** wu_qingyong_ has joined #openstack-smaug06:18
*** wu_qingyong has quit IRC06:21
*** garryfan has quit IRC06:58
openstackgerrityizhihui proposed openstack/smaug: Add abstract method in ProtectablePlugin base class  https://review.openstack.org/36087507:11
*** wu_qingyong has joined #openstack-smaug07:41
*** wu_qingyong_ has quit IRC07:41
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #openstack-smaug08:18
*** wu_qingyong_ has joined #openstack-smaug08:31
*** wu_qingyong has quit IRC08:31
openstackgerritzhangshuai proposed openstack/python-smaugclient: fix .coveragerc and rename smaug to karbor in setup.cfg  https://review.openstack.org/36098208:44
xiangxinyongyizhihui: hello09:10
xiangxinyongyizhihui: I see you have already rebased your patch. good job.09:13
xiangxinyongyizhihui: the jenkins is +1 now09:13
yizhihuiyes, thanks for your help09:14
xiangxinyongyizhihui: you are welcome.09:14
openstackgerritzhangshuai proposed openstack/python-smaugclient: fix .coveragerc  https://review.openstack.org/36098209:44
openstackgerritzhangshuai proposed openstack/python-smaugclient: fix .coveragerc  https://review.openstack.org/36104709:51
*** yamamoto has quit IRC09:52
*** zhurong has quit IRC10:01
*** wu_qingyong_ has quit IRC10:02
*** LiChunyu has quit IRC10:11
*** yizhihui has quit IRC10:11
*** yamamot__ has joined #openstack-smaug11:35
*** wanghao_ has quit IRC11:49
*** zhurong has joined #openstack-smaug13:04
*** yamamot__ has quit IRC14:08
*** yamamoto has joined #openstack-smaug14:30
*** zhurong has quit IRC15:03
*** yamamoto has quit IRC15:55
*** yamamoto has joined #openstack-smaug15:58
*** yamamoto has quit IRC17:10
*** yamamoto has joined #openstack-smaug18:10
*** yamamoto has quit IRC18:15
*** yamamoto has joined #openstack-smaug18:43
*** yamamoto has quit IRC18:49
*** gouthamr has joined #openstack-smaug20:46
*** gouthamr_ has joined #openstack-smaug21:33
*** gouthamr has quit IRC21:36
*** gouthamr_ is now known as gouthamr21:57

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