Thursday, 2017-05-25

*** elynn__ has joined #senlin01:21
*** elynn__ has quit IRC01:26
*** elynn__ has joined #senlin01:29
*** zhurong has joined #senlin02:05
*** yuanying has joined #senlin03:24
*** openstackgerrit has joined #senlin03:37
*** ChanServ sets mode: +v openstackgerrit03:37
openstackgerritRUIJIE YUAN proposed openstack/senlin master: model ClusterRecoverRequest object  https://review.openstack.org/46786303:37
*** ruijie__ is now known as ruijie03:38
*** XueFeng has quit IRC03:42
*** XueFeng has joined #senlin03:43
*** zhurong has quit IRC04:08
*** zhurong has joined #senlin04:16
*** XueFeng has quit IRC04:32
*** XueFeng has joined #senlin04:33
openstackgerritchenyb4 proposed openstack/senlin master: delete profile base invalid variable  https://review.openstack.org/46789505:40
openstackgerritRUIJIE YUAN proposed openstack/senlin master: service support modeled ClusterRecoverRequest obj  https://review.openstack.org/46789605:55
openstackgerritRUIJIE YUAN proposed openstack/senlin master: api support modeled ClusterRecoverRequest object  https://review.openstack.org/46790006:09
openstackgerritRUIJIE YUAN proposed openstack/senlin master: remove useless request obj  https://review.openstack.org/46790206:17
openstackgerritRUIJIE YUAN proposed openstack/senlin master: remove useless cluster_recover() in service  https://review.openstack.org/46790706:32
Qimingruijie, hi06:40
openstackgerritRUIJIE YUAN proposed openstack/senlin master: service support modeled ClusterRecoverRequest obj  https://review.openstack.org/46789606:43
ruijieyes Qiming06:43
Qiminghi, noticed that you are building a train of changes to cluster recover06:44
ruijieyes Qiming, I am trying to model it and then add 'check_capacity' parameter into it06:44
Qiminghowever, I'm concerning that the very first patch needs some reconsideration06:44
Qimingwe are not supposed to break backward compatibility06:44
Qimingwe can impose more constraints when needed06:45
Qiminghttps://review.openstack.org/#/c/467863/06:46
Qimingin the initial version, we have identity and params as request parameters06:46
ruijieem, I revised it in api layer to support it06:47
Qimingin the revised version, 'params' is gone, it is replaced by some flattened fields06:47
Qimingthere are two layers of compatiblity06:47
Qimingone is about client <-> senlin-api06:47
Qimingthe other is about senlin-api <-> senlin-engine06:48
Qimingyour change in patch 467863 has broken the second layer06:48
ruijiebut the request body is always {'recover': {'operation': '', 'check': False}}06:48
ruijiethe 'params' field is added in api layer06:49
Qimingan new version of senlin-api won't be able to talk to an old version of senlin-engine06:49
Qimingwhen people are upgrading his openstack from Ocata to Pike, they will upgrade each component one by one06:50
Qimingbreaking the 2nd layer will make smooth upgrade impossible06:50
Qiminghope you can consider a workaround of that06:51
ruijiehttps://git.openstack.org/cgit/openstack/senlin/tree/senlin/api/openstack/v1/clusters.py#n22606:51
Qimingfor example, we wrap operation, check, check_capacity into 'params'06:51
Qimingthen we are not breaking the existing logic06:51
Qimingor another option is to keep 'params' but we don't expect other parametes to be extracted from it?06:52
ruijieI see, I treat api and engine as one component06:53
ruijiethat is the problem?06:53
Qimingyes06:54
QimingI'd suggest we try keep that compability as well06:55
ruijieem, but we will not be able to model the request obj, I mean change JsonField to XYZField06:56
*** dixiaoli has joined #senlin07:13
Qimingthen we may have to keep the 'params' field07:16
Qimingfor 1.0 version of the object, we use it07:17
Qimingfor higher version, we do a conversion07:17
ruijiegot it, Qiming. keep the compatible capability before we release pike07:30
*** zhurong has quit IRC07:30
Qimingone key requirement for keeping compatibility is that we don't remove fields07:30
ruijieokay, Qiming07:33
*** zhurong has joined #senlin07:45
*** elynn__ has quit IRC08:09
*** elynn__ has joined #senlin08:19
*** XueFeng has quit IRC08:44
*** XueFeng has joined #senlin08:44
*** elynn__ has quit IRC08:45
openstackgerritVu Cong Tuan proposed openstack/senlin master: Trivial fix typos  https://review.openstack.org/46793108:50
*** elynn__ has joined #senlin08:52
*** zhurong has quit IRC08:54
*** elynn__ has quit IRC08:56
*** elynn__ has joined #senlin08:57
*** zhurong has joined #senlin09:04
*** elynn has joined #senlin09:10
*** elynn__ has quit IRC09:10
*** XueFeng has quit IRC09:14
*** XueFeng has joined #senlin09:14
*** elynn_ has joined #senlin09:14
*** elynn has quit IRC09:15
*** zhurong has quit IRC09:35
*** dixiaoli has quit IRC10:39
*** XueFeng has quit IRC10:54
*** XueFeng has joined #senlin10:55
*** elynn_ has quit IRC11:09
*** sharatss has joined #senlin11:22
*** XueFeng has quit IRC11:45
*** XueFeng has joined #senlin11:45
*** chenyb4_ has joined #senlin12:01
*** chenyb4_ has quit IRC13:19
*** dixiaoli has joined #senlin13:26
*** dixiaoli has quit IRC13:28
*** sharatss has quit IRC13:40
*** chenyb4_ has joined #senlin13:41
*** chenyb4_ has quit IRC13:42
*** chenyb4_ has joined #senlin13:42
*** chenyb4_ has quit IRC14:12
*** chenyb4_ has joined #senlin14:13
*** chenyb4_ has quit IRC14:17
*** XueFeng has quit IRC14:26
*** XueFeng has joined #senlin14:26
*** XueFeng has quit IRC14:37
*** chohoor has quit IRC15:58
*** chohoor has joined #senlin15:58
*** chohoor has quit IRC16:08
*** chohoor has joined #senlin16:10
*** chohoor has quit IRC16:33

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