*** zhangshuai has joined #openstack-smaug | 00:23 | |
*** zhurong has joined #openstack-smaug | 01:10 | |
*** zhangshuai has quit IRC | 01:10 | |
*** zhangshuai has joined #openstack-smaug | 01:11 | |
*** xiangxinyong has quit IRC | 01:14 | |
*** xiangxinyong has joined #openstack-smaug | 01:14 | |
*** zhongjun_ has joined #openstack-smaug | 01:25 | |
*** zengyingzhe_ has quit IRC | 01:29 | |
*** openstackgerrit has quit IRC | 01:33 | |
*** openstackgerrit has joined #openstack-smaug | 01:33 | |
openstackgerrit | zhangshuai proposed openstack/smaug: add list and get fullstack for checkpoint https://review.openstack.org/340234 | 01:42 |
---|---|---|
*** mingyu has joined #openstack-smaug | 01:43 | |
*** mingyu has quit IRC | 01:54 | |
*** zhangshuai_ has joined #openstack-smaug | 02:05 | |
*** zhangshuai has quit IRC | 02:08 | |
*** iceyao has joined #openstack-smaug | 02:15 | |
*** mingyu has joined #openstack-smaug | 02:39 | |
*** iceyao has quit IRC | 02:58 | |
*** iceyao has joined #openstack-smaug | 03:01 | |
*** yamamoto_ has joined #openstack-smaug | 03:05 | |
*** mingyu has quit IRC | 03:10 | |
*** mingyu has joined #openstack-smaug | 03:11 | |
*** mingyu has quit IRC | 03:15 | |
*** mingyu has joined #openstack-smaug | 03:19 | |
*** smile-luobin has joined #openstack-smaug | 03:39 | |
*** zhongjun_ has quit IRC | 03:49 | |
*** zhonghua has quit IRC | 03:52 | |
*** zhonghua-lee has joined #openstack-smaug | 03:53 | |
*** yamamoto_ has quit IRC | 04:31 | |
*** mingyu has quit IRC | 04:47 | |
*** mingyu has joined #openstack-smaug | 05:04 | |
*** yamamot__ has joined #openstack-smaug | 05:22 | |
*** mingyu has quit IRC | 05:45 | |
*** mingyu has joined #openstack-smaug | 06:06 | |
*** zhongjun_ has joined #openstack-smaug | 06:07 | |
*** gampel has joined #openstack-smaug | 06:32 | |
*** gampel has left #openstack-smaug | 06:33 | |
*** yuval has joined #openstack-smaug | 07:05 | |
*** mingyu has quit IRC | 07:22 | |
*** c00281451 is now known as zengchen | 07:24 | |
zengchen | ping saggi | 07:31 |
saggi | pong zengchen | 07:31 |
zengchen | saggi: good morning! how are you? | 07:32 |
zengchen | saggi: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' seperately | 07:32 |
*** gampel has joined #openstack-smaug | 07:33 | |
saggi | zengchen: Just have it be a side effect of changing the statuts | 07:34 |
saggi | to disabled | 07:35 |
saggi | or paused | 07:35 |
saggi | whatever you feel is more appropriate | 07:35 |
*** gampel has quit IRC | 07:38 | |
zengchen | saggi: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 |
zengchen | and 'pause/resume' are involved to scheduled_operation_states. | 07:39 |
zengchen | that is why we have two db tables. they have different responsibilities. | 07:40 |
saggi | being 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 |
saggi | It simple check if status is set to "paused" do A | 07:41 |
saggi | if it's set to "running" do B | 07:41 |
zengchen | i 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 |
zengchen | user will do special work by invoking the specified api. so i suggest to add two more apis. | 07:45 |
saggi | I don't understand the objection | 07:50 |
zengchen | saggi:ok, i explain more carefully. | 07:51 |
zengchen | saggi: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 |
saggi | That 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 |
saggi | zengchen: ^^ | 08:09 |
zengchen | saggi: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-smaug | 08:18 | |
saggi | I think patch is the proper verb for update | 08:21 |
*** iceyao has quit IRC | 08:45 | |
*** iceyao has joined #openstack-smaug | 08:46 | |
*** yinwei_computer has joined #openstack-smaug | 08:57 | |
zengchen | saggi:i think nova give us a good example. http://developer.openstack.org/api-ref/compute/?expanded=pause-server-pause-action-detail | 09:01 |
zengchen | saggi: could we implement our interface like nova's way? | 09:03 |
yinwei_computer | zengchen, what interface? | 09:09 |
yuval | Hey everybody, Barcelona Summit presentation are up for vote! https://www.openstack.org/summit/barcelona-2016/vote-for-speakers/ | 09:11 |
*** yinwei_computer has quit IRC | 09:14 | |
*** yinwei_computer has joined #openstack-smaug | 09:20 | |
zengchen | yinwei:https://bugs.launchpad.net/smaug/+bug/1606467 | 09:23 |
openstack | Launchpad bug 1606467 in Smaug "Add pause and resume interface for scheduled operations" [Undecided,New] - Assigned to zengchen (chenzeng2) | 09:23 |
xiangxinyong | yuval: yeah | 09:24 |
xiangxinyong | I have voted them. | 09:25 |
*** iceyao has quit IRC | 09:27 | |
*** iceyao has joined #openstack-smaug | 09:28 | |
*** iceyao has quit IRC | 09:37 | |
*** yinwei_computer has quit IRC | 09:40 | |
*** iceyao has joined #openstack-smaug | 09:42 | |
*** zhurong has quit IRC | 10:01 | |
*** yinwei_computer has joined #openstack-smaug | 10:11 | |
*** yinwei_computer has quit IRC | 10:12 | |
*** yinwei_computer has joined #openstack-smaug | 10:14 | |
*** yinwei_computer has quit IRC | 10:15 | |
*** yinwei_computer has joined #openstack-smaug | 10:18 | |
*** yinwei_computer has quit IRC | 10:30 | |
*** yamamot__ has quit IRC | 10:31 | |
*** mingyu has quit IRC | 11:03 | |
*** mingyu has joined #openstack-smaug | 11:05 | |
*** mingyu has quit IRC | 11:10 | |
*** yamamoto has joined #openstack-smaug | 11:13 | |
*** yamamoto_ has joined #openstack-smaug | 11:14 | |
*** yamamoto has quit IRC | 11:18 | |
*** yamamoto_ has quit IRC | 11:46 | |
*** yamamoto has joined #openstack-smaug | 12:07 | |
*** yamamoto has quit IRC | 12:23 | |
*** yamamoto has joined #openstack-smaug | 12:30 | |
*** yamamoto has quit IRC | 12:33 | |
*** iceyao has quit IRC | 12:41 | |
*** yamamoto has joined #openstack-smaug | 12:52 | |
*** yamamoto has quit IRC | 13:17 | |
saggi | yuval: https://etherpad.openstack.org/p/hidden-consistency-groups-draft | 13:35 |
*** yamamoto has joined #openstack-smaug | 13:37 | |
*** xiangxinyong has quit IRC | 14:02 | |
*** xiangxinyong has joined #openstack-smaug | 14:03 | |
*** yamamoto has quit IRC | 14:03 | |
*** yamamoto has joined #openstack-smaug | 14:04 | |
*** yamamoto has quit IRC | 14:04 | |
*** zhurong has joined #openstack-smaug | 14:07 | |
*** mingyu has joined #openstack-smaug | 14:13 | |
zhonghua-lee | ping saggi | 14:21 |
saggi | pong zhonghua-lee | 14:21 |
zhonghua-lee | saggi: hi, how are you? | 14:22 |
saggi | Good, how are you? | 14:22 |
zhonghua-lee | saggi: good | 14:22 |
zhonghua-lee | I am looking at your draft for hidden consistency groups | 14:22 |
zhonghua-lee | does that mean it's a feature for Cinder? | 14:23 |
saggi | Yes | 14:23 |
zhonghua-lee | why I ask this question is now we are thinking add CG into Smaug as a kind of resource | 14:24 |
saggi | That is the other way around. | 14:24 |
saggi | It's for cases where Smaug creates a consistency group as part of protection | 14:25 |
saggi | to set up replication | 14:25 |
saggi | for example | 14:25 |
zhonghua-lee | not for backup ? | 14:25 |
zhonghua-lee | is there any impact? | 14:25 |
saggi | If Smaug creates a consistency group. It's owned by the user and the user might delete it. This will break the protection. | 14:26 |
saggi | So we want to somehow flag this as a "system" group and not a "user" group | 14:26 |
zhonghua-lee | does that mean Smaug will call Cinder to create CG? | 14:27 |
zhonghua-lee | this kind of CG is not a user group | 14:27 |
saggi | yes | 14:27 |
zhonghua-lee | understood | 14:27 |
zhonghua-lee | regarding the backup for cinder CG, what's your opinion? | 14:29 |
zhonghua-lee | is it a real use case? | 14:30 |
saggi | I don't think so. Since it will only work if the same types are defined on the other side with the exact same volume id | 14:30 |
zhonghua-lee | what's the "other side" meaning? another Cinder instance? | 14:33 |
saggi | Yes, on a remote openstack | 14:51 |
saggi | on another site | 14:52 |
saggi | I also don't really know what a restore of a consistency group means | 14:52 |
saggi | in a backup\restore context | 14:52 |
zhonghua-lee | yeah, 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 IRC | 14:58 | |
*** zhurong has joined #openstack-smaug | 14:59 | |
*** yuval has quit IRC | 15:02 | |
*** zhurong has quit IRC | 15:03 | |
*** yamamoto has joined #openstack-smaug | 15:05 | |
*** zhurong has joined #openstack-smaug | 15:06 | |
*** yamamoto has quit IRC | 15:11 | |
*** iceyao has joined #openstack-smaug | 15:22 | |
*** iceyao has quit IRC | 15:32 | |
*** zhurong has quit IRC | 15:42 | |
*** gampel has joined #openstack-smaug | 15:45 | |
*** gampel has left #openstack-smaug | 15:45 | |
*** zhangshuai_ has quit IRC | 16:14 | |
*** saggi has quit IRC | 16:35 | |
*** mingyu has quit IRC | 17:52 | |
*** mingyu has joined #openstack-smaug | 17:54 | |
*** mingyu has quit IRC | 18:16 | |
*** smile-luobin has quit IRC | 18:48 | |
*** smile-luobin has joined #openstack-smaug | 18:49 | |
*** gampel has joined #openstack-smaug | 19:30 | |
*** gampel has left #openstack-smaug | 19:30 | |
*** gampel has joined #openstack-smaug | 19:53 | |
*** yamamoto has joined #openstack-smaug | 20:06 | |
*** smile-luobin_ has joined #openstack-smaug | 20:14 | |
*** smile-luobin has quit IRC | 20:14 | |
*** xiangxinyong_ has joined #openstack-smaug | 20:15 | |
*** gampel has quit IRC | 20:15 | |
*** xiangxinyong has quit IRC | 20:19 | |
*** yamamoto has quit IRC | 20:39 | |
*** mingyu has joined #openstack-smaug | 21:17 | |
*** mingyu has quit IRC | 21:21 | |
*** yamamoto has joined #openstack-smaug | 21:39 | |
*** yamamoto has quit IRC | 21:45 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!