Wednesday, 2016-07-27

*** zhangshuai has joined #openstack-smaug00:23
*** zhurong has joined #openstack-smaug01:10
*** zhangshuai has quit IRC01:10
*** zhangshuai has joined #openstack-smaug01:11
*** xiangxinyong has quit IRC01:14
*** xiangxinyong has joined #openstack-smaug01:14
*** zhongjun_ has joined #openstack-smaug01:25
*** zengyingzhe_ has quit IRC01:29
*** openstackgerrit has quit IRC01:33
*** openstackgerrit has joined #openstack-smaug01:33
openstackgerritzhangshuai proposed openstack/smaug: add list and get fullstack for checkpoint  https://review.openstack.org/34023401:42
*** mingyu has joined #openstack-smaug01:43
*** mingyu has quit IRC01:54
*** zhangshuai_ has joined #openstack-smaug02:05
*** zhangshuai has quit IRC02:08
*** iceyao has joined #openstack-smaug02:15
*** mingyu has joined #openstack-smaug02:39
*** iceyao has quit IRC02:58
*** iceyao has joined #openstack-smaug03:01
*** yamamoto_ has joined #openstack-smaug03:05
*** mingyu has quit IRC03:10
*** mingyu has joined #openstack-smaug03:11
*** mingyu has quit IRC03:15
*** mingyu has joined #openstack-smaug03:19
*** smile-luobin has joined #openstack-smaug03:39
*** zhongjun_ has quit IRC03:49
*** zhonghua has quit IRC03:52
*** zhonghua-lee has joined #openstack-smaug03:53
*** yamamoto_ has quit IRC04:31
*** mingyu has quit IRC04:47
*** mingyu has joined #openstack-smaug05:04
*** yamamot__ has joined #openstack-smaug05:22
*** mingyu has quit IRC05:45
*** mingyu has joined #openstack-smaug06:06
*** zhongjun_ has joined #openstack-smaug06:07
*** gampel has joined #openstack-smaug06:32
*** gampel has left #openstack-smaug06:33
*** yuval has joined #openstack-smaug07:05
*** mingyu has quit IRC07:22
*** c00281451 is now known as zengchen07:24
zengchenping saggi07:31
saggipong zengchen07:31
zengchensaggi: good morning! how are you?07:32
zengchensaggi:sorry to confirm the topic again about 'Add pause and resume interface for scheduled operations'. which is your opinion, unregister the operation in the 'update' api of scheduled operation or add two more api for the 'pause/resume' seperately07:32
*** gampel has joined #openstack-smaug07:33
saggizengchen: Just have it be a side effect of changing the statuts07:34
saggito disabled07:35
saggior paused07:35
saggiwhatever you feel is more appropriate07:35
*** gampel has quit IRC07:38
zengchensaggi:ok, my choice is to add two more apis, because we have two db tables about scheduled operation, one is scheduled_opstatinos and another one is scheduled_operation_states. i think the 'update' api is involved to scheduled_operations which make it more appropriate.07:38
zengchenand 'pause/resume' are involved to scheduled_operation_states.07:39
zengchenthat is why we have two db tables. they have different responsibilities.07:40
saggibeing paused or not is a property of the instance. You can change whatever you want at the backend once the status is changed.07:40
saggiIt simple check if status is set to "paused" do A07:41
saggiif it's set to "running" do B07:41
zengcheni mean user will not change the state of scheduled operation. the 'update' api may just change the definition of operation or some else.07:42
zengchenuser will do special work by invoking the specified api. so i suggest to add two more apis.07:45
saggiI don't understand the objection07:50
zengchensaggi:ok, i explain more carefully.07:51
zengchensaggi:on the user's perspective, when he invoke 'update', he just update the operation itself, such as definition, parameter etc, not the state which is the internal attribute. and when he invoke the 'pause/resume', he want to pause/resume the operation. i think the function of each api is single.07:57
saggiThat is true for any modification. That is how REST works. You always push the entire state. Partial updates are frowned upon in REST.08:08
saggizengchen: ^^08:09
zengchensaggi:probably understand your meaning. so we just use the 'PUT' method of REST to do the update/pause/resume operation, right?08:16
*** mingyu has joined #openstack-smaug08:18
saggiI think patch is the proper verb for update08:21
*** iceyao has quit IRC08:45
*** iceyao has joined #openstack-smaug08:46
*** yinwei_computer has joined #openstack-smaug08:57
zengchensaggi:i think nova give us a good example. http://developer.openstack.org/api-ref/compute/?expanded=pause-server-pause-action-detail09:01
zengchensaggi: could we implement our interface like nova's way?09:03
yinwei_computerzengchen, what interface?09:09
yuvalHey everybody, Barcelona Summit presentation are up for vote! https://www.openstack.org/summit/barcelona-2016/vote-for-speakers/09:11
*** yinwei_computer has quit IRC09:14
*** yinwei_computer has joined #openstack-smaug09:20
zengchenyinwei:https://bugs.launchpad.net/smaug/+bug/160646709:23
openstackLaunchpad bug 1606467 in Smaug "Add pause and resume interface for scheduled operations" [Undecided,New] - Assigned to zengchen (chenzeng2)09:23
xiangxinyongyuval: yeah09:24
xiangxinyongI have voted them.09:25
*** iceyao has quit IRC09:27
*** iceyao has joined #openstack-smaug09:28
*** iceyao has quit IRC09:37
*** yinwei_computer has quit IRC09:40
*** iceyao has joined #openstack-smaug09:42
*** zhurong has quit IRC10:01
*** yinwei_computer has joined #openstack-smaug10:11
*** yinwei_computer has quit IRC10:12
*** yinwei_computer has joined #openstack-smaug10:14
*** yinwei_computer has quit IRC10:15
*** yinwei_computer has joined #openstack-smaug10:18
*** yinwei_computer has quit IRC10:30
*** yamamot__ has quit IRC10:31
*** mingyu has quit IRC11:03
*** mingyu has joined #openstack-smaug11:05
*** mingyu has quit IRC11:10
*** yamamoto has joined #openstack-smaug11:13
*** yamamoto_ has joined #openstack-smaug11:14
*** yamamoto has quit IRC11:18
*** yamamoto_ has quit IRC11:46
*** yamamoto has joined #openstack-smaug12:07
*** yamamoto has quit IRC12:23
*** yamamoto has joined #openstack-smaug12:30
*** yamamoto has quit IRC12:33
*** iceyao has quit IRC12:41
*** yamamoto has joined #openstack-smaug12:52
*** yamamoto has quit IRC13:17
saggiyuval: https://etherpad.openstack.org/p/hidden-consistency-groups-draft13:35
*** yamamoto has joined #openstack-smaug13:37
*** xiangxinyong has quit IRC14:02
*** xiangxinyong has joined #openstack-smaug14:03
*** yamamoto has quit IRC14:03
*** yamamoto has joined #openstack-smaug14:04
*** yamamoto has quit IRC14:04
*** zhurong has joined #openstack-smaug14:07
*** mingyu has joined #openstack-smaug14:13
zhonghua-leeping saggi14:21
saggipong zhonghua-lee14:21
zhonghua-leesaggi: hi, how are you?14:22
saggiGood, how are you?14:22
zhonghua-leesaggi: good14:22
zhonghua-leeI am looking at your draft for hidden consistency groups14:22
zhonghua-leedoes that mean it's a feature for Cinder?14:23
saggiYes14:23
zhonghua-leewhy I ask this question is now we are thinking add CG into Smaug as a kind of resource14:24
saggiThat is the other way around.14:24
saggiIt's for cases where Smaug creates a consistency group as part of protection14:25
saggito set up replication14:25
saggifor example14:25
zhonghua-leenot for backup ?14:25
zhonghua-leeis there any impact?14:25
saggiIf Smaug creates a consistency group. It's owned by the user and the user might delete it. This will break the protection.14:26
saggiSo we want to somehow flag this as a "system" group and not a "user" group14:26
zhonghua-leedoes that mean Smaug will call Cinder to create CG?14:27
zhonghua-leethis kind of CG is not a user group14:27
saggiyes14:27
zhonghua-leeunderstood14:27
zhonghua-leeregarding the backup for cinder CG, what's your opinion?14:29
zhonghua-leeis it a real use case?14:30
saggiI don't think so. Since it will only work if the same types are defined on the other side with the exact same volume id14:30
zhonghua-leewhat's the "other side" meaning? another Cinder instance?14:33
saggiYes, on a remote openstack14:51
saggion another site14:52
saggiI also don't really know what a restore of a consistency group means14:52
saggiin a backup\restore context14:52
zhonghua-leeyeah, I confuse this question much, but should we think about how to keep the data consistency when backup multi-resources?14:56
*** zhurong has quit IRC14:58
*** zhurong has joined #openstack-smaug14:59
*** yuval has quit IRC15:02
*** zhurong has quit IRC15:03
*** yamamoto has joined #openstack-smaug15:05
*** zhurong has joined #openstack-smaug15:06
*** yamamoto has quit IRC15:11
*** iceyao has joined #openstack-smaug15:22
*** iceyao has quit IRC15:32
*** zhurong has quit IRC15:42
*** gampel has joined #openstack-smaug15:45
*** gampel has left #openstack-smaug15:45
*** zhangshuai_ has quit IRC16:14
*** saggi has quit IRC16:35
*** mingyu has quit IRC17:52
*** mingyu has joined #openstack-smaug17:54
*** mingyu has quit IRC18:16
*** smile-luobin has quit IRC18:48
*** smile-luobin has joined #openstack-smaug18:49
*** gampel has joined #openstack-smaug19:30
*** gampel has left #openstack-smaug19:30
*** gampel has joined #openstack-smaug19:53
*** yamamoto has joined #openstack-smaug20:06
*** smile-luobin_ has joined #openstack-smaug20:14
*** smile-luobin has quit IRC20:14
*** xiangxinyong_ has joined #openstack-smaug20:15
*** gampel has quit IRC20:15
*** xiangxinyong has quit IRC20:19
*** yamamoto has quit IRC20:39
*** mingyu has joined #openstack-smaug21:17
*** mingyu has quit IRC21:21
*** yamamoto has joined #openstack-smaug21:39
*** yamamoto has quit IRC21:45

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