Friday, 2018-02-09

*** liyi has joined #senlin00:39
*** chenyb4 has joined #senlin00:50
*** pzchen has joined #senlin01:22
*** liyi_ has joined #senlin01:26
*** liyi has quit IRC01:29
*** Jeffrey4l has joined #senlin01:34
openstackgerritzhangzhaoshan proposed openstack/senlin master: Fix a https url issue  https://review.openstack.org/54252701:37
*** Jeffrey4l_ has joined #senlin01:46
*** Jeffrey4l has quit IRC01:47
*** liyi has joined #senlin01:59
*** liyi_ has quit IRC02:03
openstackgerritMerged openstack/senlin master: Fix user document bindings.rst policy attach specify status  https://review.openstack.org/54074602:26
openstackgerritchenyb4 proposed openstack/senlin master: Add NOTIFIER message topic can be specified by configuration file.  https://review.openstack.org/54254602:31
openstackgerritxulei proposed openstack/senlin master: Replace Chiness punctuation with English punctuation  https://review.openstack.org/54255002:56
openstackgerritMerged openstack/senlin master: Replace Chiness punctuation with English punctuation  https://review.openstack.org/54255003:07
*** jmlowe has quit IRC03:38
*** jmlowe has joined #senlin04:26
*** AlexeyAbashkin has joined #senlin07:20
chenyb4hi, Qiming scaling policy miss support version message https://github.com/openstack/senlin/blob/master/senlin/policies/scaling_policy.py#L3607:32
chenyb4Qiming, I'm fixing it. Can you tell me when it was supported?07:32
QimingOkay07:33
QimingHave you tried if both deletion policy 1.0 and 1.1 can be created today?07:33
chenyb4Qiming, deletion policy 1.0 and 1.1  If you register, there will be no problems.07:35
chenyb4I'm trying to add some code to avoid repeating the type list.07:35
chenyb4But now I find the scaling policy miss support version message.07:36
chenyb4Qiming, Can you give me a scaling strategy from when to support the time?07:37
*** AlexeyAbashkin has quit IRC07:44
openstackgerritchenyb4 proposed openstack/senlin master: Add scaling policy version support message  https://review.openstack.org/54269207:44
QimingIf I remembered clearly, scaling policy was added with deletion policy 1.007:49
chenyb4Yes, I got the policy support time with the scaling_policy.yaml creation time.07:51
chenyb4 examples/scaling_policy.yaml creation time.07:52
*** AlexeyAbashkin has joined #senlin07:54
openstackgerritchenyb4 proposed openstack/senlin master: Fix lb and delete policy not support 1.0 version  https://review.openstack.org/54207609:03
chenyb4Qiming, 我重新提交了,修改了一点代码,关于1.0版本支持09:04
chenyb4sorry09:04
*** liyi has quit IRC09:15
*** Jeffrey4l_ has quit IRC09:17
*** Jeffrey4l has joined #senlin09:18
*** AlexeyAbashkin has quit IRC09:56
*** AlexeyAbashkin has joined #senlin09:57
*** liyi has joined #senlin10:01
*** liyi has quit IRC10:05
*** pzchen has quit IRC10:30
*** pzchen has joined #senlin10:32
*** pzchen has quit IRC10:37
openstackgerritchenyb4 proposed openstack/senlin master: Fix lb and delete policy not support 1.0 version  https://review.openstack.org/54207610:43
*** chenyb4 has quit IRC10:52
*** Guest37081 has joined #senlin11:12
*** AlexeyAbashkin has quit IRC11:27
*** AlexeyAbashkin has joined #senlin11:30
*** Guest37081 has quit IRC11:33
*** liyi has joined #senlin11:48
*** liyi has quit IRC11:53
*** blkart has quit IRC12:00
*** blkart has joined #senlin12:00
*** chenyb4 has joined #senlin12:39
*** liyi has joined #senlin12:55
*** liyi has quit IRC12:59
chenyb4hi, Qiming https://review.openstack.org/#/c/542076/ I don't see what you mean.13:12
QimingThat patch is not needed13:13
QimingPlease do as I suggested13:13
QimingTry create a deletion policy with version 1.013:13
QimingAnd create a deletion policy with version 1.113:13
QimingAnd see if they both work13:13
QimingIf they both work, we don't need to register the policy twich13:13
QimingIt means the current code is good13:14
chenyb4ok13:14
QimingA more interesting and challenging work is to rework all policies / profiles using Oslo.versionedobject13:18
QimingThat will hopefully open the door for seamless upgrade13:18
chenyb4Ok, I'll see.13:20
*** jmlowe has quit IRC13:26
chenyb4In the case of unregistered, it doesn't look like it's possible to create a policy 1.0 version that is not successful and can't find the 1.0 version.13:29
chenyb4The policy_type 'senlin.policy.deletion-1.0' could not be found.13:30
QimingOkay, that is the real bug we need to fix13:30
chenyb4Any good ideas? My previous patch was to support 1.0 through registration, and by modifying the get_type code to avoid, the policy type list was repeated.13:33
Qiminglooking13:35
QimingI now understand the problems13:36
QimingBut I don't want to introduce code that breaks our current API13:36
QimingYour change will return one record per policy version13:37
QimingThat is not acceptable13:37
QimingIf we do allow setup.cfg to register a plugin multiple times, we should still combine the version support status on a per policy type basis13:38
QimingLook at doc/source/user/policy_types.rst13:40
QimingThat is the format we want to present to users on command line13:40
QimingAlso in api-ref/source/parameters.yaml line 1205, it clearly states what users should be expecting13:43
QimingSo ... when extracting policy types from registry, we should deduplicate entries for the same policy type13:44
chenyb4We should register the policy type, not the version, so any version of the policy can be used if allowed.13:48
chenyb4Is that right?13:49
*** jmlowe has joined #senlin14:00
*** jmlowe has quit IRC14:05
*** jmlowe has joined #senlin14:13
*** chenyb4 has quit IRC14:36
*** chenyb4 has joined #senlin14:44
*** liyi has joined #senlin14:53
*** liyi has quit IRC14:58
*** AlexeyAbashkin has quit IRC15:40
*** AlexeyAbashkin has joined #senlin15:42
*** AlexeyAbashkin has quit IRC15:46
*** jmlowe has quit IRC16:06
*** chenyb4 has quit IRC16:18
*** liyi has joined #senlin17:03
*** liyi has quit IRC17:07
*** AlexeyAbashkin has joined #senlin17:12
*** AlexeyAbashkin has quit IRC17:48
*** eandersson has joined #senlin17:57
*** AlexeyAbashkin has joined #senlin18:00
*** jmlowe has joined #senlin18:01
*** AlexeyAbashkin has quit IRC18:04
*** AlexeyAbashkin has joined #senlin18:08
*** AlexeyAbashkin has quit IRC19:21
*** liyi has joined #senlin19:42
*** liyi has quit IRC19:46
*** AlexeyAbashkin has joined #senlin19:49
*** AlexeyAbashkin has quit IRC19:53
*** liyi has joined #senlin21:16
*** liyi has quit IRC21:20
openstackgerritDuc Truong proposed openstack/senlin master: [DNM] Example of how to support multiple policy versions  https://review.openstack.org/54304922:56

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