Wednesday, 2017-05-03

*** catintheroof has joined #senlin00:00
*** catintheroof has quit IRC00:01
*** catintheroof has joined #senlin00:04
*** catintheroof has quit IRC00:33
*** catintheroof has joined #senlin00:39
*** catintheroof has quit IRC01:09
*** elynn has joined #senlin01:22
*** yanyanhu has joined #senlin01:25
*** openstackgerrit has joined #senlin01:29
*** ChanServ sets mode: +v openstackgerrit01:29
openstackgerritRUIJIE YUAN proposed openstack/senlin master: add 'health_check' to api-ref  https://review.openstack.org/46194801:29
openstackgerritRUIJIE YUAN proposed openstack/senlin master: add 'health_check' to api-ref  https://review.openstack.org/46194801:41
*** ruijie_ has joined #senlin01:43
*** zhurong has joined #senlin01:50
*** zhurong has quit IRC02:07
openstackgerritMerged openstack/senlin master: Engine service support to node adopt  https://review.openstack.org/45461702:08
openstackgerritRUIJIE YUAN proposed openstack/senlin master: bump scaling policy version to 1.1  https://review.openstack.org/46197102:52
openstackgerritMerged openstack/senlin master: add 'health_check' to api-ref  https://review.openstack.org/46194802:56
openstackgerrityangyide proposed openstack/senlin master: API documentation for services  https://review.openstack.org/45919103:04
*** zhurong has joined #senlin03:38
*** zhurong has quit IRC03:40
*** XueFeng has joined #senlin03:49
openstackgerrityangyide proposed openstack/senlin master: API documentation for services  https://review.openstack.org/46198203:58
yuanbinHi, I have a question, I cherry-pick code to local, the code about database, the version/011-xxxx but my local the last version is version/006-xxx ,so i use 'senlin-manage db_sync' appear error, change 011-xxx to 007-xxx db_sync succeed, i want to recreate 007-xxxx,but i don't known how to do04:28
openstackgerritMerged openstack/senlin master: Add 'rm -f .testrepository/times.dbm' command in testenv  https://review.openstack.org/45950004:30
*** zhurong has joined #senlin04:37
*** XueFeng has quit IRC04:47
*** XueFeng has joined #senlin04:48
*** XueFeng has quit IRC05:16
ruijie_what is the error, yuanbin?05:44
yuanbinruijie_, ERROR: <VerNum(8)>05:46
yuanbinruijie_, i change directory to "senlin/db/sqlalchemy/migrate_repo/versions", i see 006_node_cluster_dependents_column.py 011_xxxx ,but not exist 007_xxx, 008_xxx05:48
yuanbinruijie_, so, i change 011_xxx to 007_xxx ,use 'senlin-manage db_sync' succeed05:48
yuanbinruijie_, but i use 'python setup.py install' , the code allways install 011_xxx to senlin install directory, I want to known the 011_xx change to 007_xxx with i use 'python setup.py install', how can i to do?05:51
Qimingdon't change 011 to 00705:52
Qiming007, 008, 009 are placeholders for managing fixes to older versions05:53
yuanbinQiming, but my local code use newton, don't exist 007,008,00905:54
Qimingthen you stick to newton05:54
Qimingdon't try move 011 back to newton05:54
yuanbinQiming, I want use senlin health registry enable , so i must cherry-pick 01105:56
Qimingit is very tricky to do that afaict05:58
*** XueFeng has joined #senlin06:07
openstackgerritQiming Teng proposed openstack/senlin master: DB support to cluster config  https://review.openstack.org/46199906:15
openstackgerritMerged openstack/senlin master: API layer add services list  https://review.openstack.org/45795806:28
openstackgerritQiming Teng proposed openstack/senlin master: Add missing version conversion logic in request objects  https://review.openstack.org/46200406:32
openstackgerritQiming Teng proposed openstack/senlin master: DB support to cluster config  https://review.openstack.org/46199906:34
ruijie_hi Qiming, around06:39
Qimingyes06:46
openstackgerritQiming Teng proposed openstack/senlin master: Request object support to cluster config  https://review.openstack.org/46200706:46
ruijie_I guess I messed the policies logic now..06:47
ruijie_the priority: scaling:100, region:200, zone:300, deletion:400, lb:50006:47
ruijie_the deletion policy will generate "candidates" filed which represents the nodes can be removed06:48
ruijie_and it will be used in lb policy and action layer, to remove nodes from lb pool and to destroy the nodes06:49
ruijie_And as you see, I moved the choosing logic to action layer which breaks the lb policy06:49
Qimingyep06:49
Qimingfortunately, those patches are not merged, :)06:49
ruijie_em, for current revisiting, I am trying to let the policy only dumps data to action.data, and do all choosing or other operations in action layer06:51
Qimingthat sounds fine06:53
Qimingthe logic of choosing of victim nodes belong to those actions06:53
ruijie_it looks okay now, but have to move the removing nodes from lb pool logic to post_op(..)06:55
Qiming...07:00
Qimingthat would be ugly07:00
ruijie_but the lb policy do not know which node will be removed as we will choose it in action layer ..07:01
ruijie_an lb manager like health manager? register cluster in attach(), unregister cluster in detach(..), dump info to action.data in pre_op(..) .. i don't know ..07:06
Qimingright07:11
Qiming...07:11
Qimingso the health check have to be done in deletion policy07:12
Qimingsigh07:12
*** zhurong has quit IRC07:24
ruijie_Qiming, you mean keep the current logic and do health check in deletion policy if exist07:29
Qimingyep07:30
QimingI see no way out07:30
ruijie_the only problem now we have is the lb policy07:33
ruijie_and if we want to monitor the lb we create and do auto-healing for it, I think a lb-manager is a better way07:34
*** Qiming has quit IRC07:36
openstackgerritQiming Teng proposed openstack/senlin master: Engine support to cluster config  https://review.openstack.org/46202207:42
*** Qiming has joined #senlin07:42
*** zhurong has joined #senlin07:43
openstackgerritWayne Chan proposed openstack/senlin master: Optimize the link address  https://review.openstack.org/46037308:17
openstackgerritQiming Teng proposed openstack/senlin master: Refactor VDU server profile  https://review.openstack.org/46203608:46
*** zhurong has quit IRC08:47
*** zhurong has joined #senlin09:01
openstackgerritWayne Chan proposed openstack/senlin master: Optimize the link address  https://review.openstack.org/46037309:12
*** elynn has quit IRC09:24
*** Jeffrey4l has quit IRC09:25
*** Jeffrey4l has joined #senlin09:27
*** zhurong has quit IRC09:41
*** zhurong has joined #senlin10:18
*** zhurong has quit IRC10:30
*** yanyanhu has quit IRC10:40
*** sharatss_ has joined #senlin10:46
*** sharatss_ has left #senlin10:46
*** zhurong has joined #senlin12:01
*** Qiming has quit IRC12:06
*** Qiming has joined #senlin12:20
*** elynn has joined #senlin12:20
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements  https://review.openstack.org/46139012:23
openstackgerritOpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements  https://review.openstack.org/46213012:24
*** catintheroof has joined #senlin12:30
openstackgerritMerged openstack/python-senlinclient master: Updated from global requirements  https://review.openstack.org/46139012:53
*** elynn_ has joined #senlin12:54
*** elynn has quit IRC12:56
openstackgerritMerged openstack/senlin master: Optimize the link address  https://review.openstack.org/46037313:23
openstackgerritMerged openstack/senlin master: Add missing version conversion logic in request objects  https://review.openstack.org/46200413:23
*** zhurong has quit IRC13:28
*** zhurong has joined #senlin14:02
*** openstackgerrit has quit IRC14:18
*** elynn_ has quit IRC14:41
*** zhurong has quit IRC14:52
*** elynn has joined #senlin14:58
*** elynn has quit IRC15:07
-openstackstatus- NOTICE: Gerrit on review.openstack.org is being restarted to accomodate a memory leak in Gerrit. Service should return shortly.18:54
*** catinthe_ has joined #senlin20:21
*** catintheroof has quit IRC20:24
*** catinthe_ has quit IRC20:45
*** openstackgerrit has joined #senlin21:28
*** ChanServ sets mode: +v openstackgerrit21:28
openstackgerritOpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements  https://review.openstack.org/46213021:28

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