Wednesday, 2016-11-16

*** guoshan has quit IRC00:04
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537700:21
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39792000:22
*** shu-mutou-AWAY is now known as shu-mutou00:33
*** XueFeng has joined #senlin00:36
*** guoshan has joined #senlin00:53
openstackgerritmiaohb proposed openstack/python-senlinclient: Revise the help message of policy binding list  https://review.openstack.org/39398100:57
*** lvdongbing has joined #senlin00:57
*** guoshan has quit IRC00:58
*** yanyanhu has joined #senlin01:23
*** miaohb has joined #senlin01:24
*** miaohb has quit IRC01:27
*** XueFengLiu has joined #senlin01:29
*** root____9 has joined #senlin01:30
*** root____9 has left #senlin01:30
*** zhurong has joined #senlin01:30
*** yanyanhu has quit IRC01:30
*** miaohb has joined #senlin01:30
openstackgerritxu-haiwei proposed openstack/senlin: Add container profile infor to cluster dependents  https://review.openstack.org/39601601:31
*** yanyanhu has joined #senlin01:33
*** ruijie has joined #senlin01:35
openstackgerritxu-haiwei proposed openstack/senlin: Add container profile infor to cluster dependents  https://review.openstack.org/39601601:40
*** yanyanhu has quit IRC01:40
*** guoshan has joined #senlin01:42
*** elynn has joined #senlin01:58
openstackgerritXueFeng Liu proposed openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802702:04
openstackgerritMerged openstack/senlin: fix policy-list2 error  https://review.openstack.org/39762602:10
openstackgerritxu-haiwei proposed openstack/senlin: Update host node 'dependents' when create/delete container node  https://review.openstack.org/39601602:17
*** elynn_ has joined #senlin02:21
*** elynn has quit IRC02:24
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove dead code in rpc  https://review.openstack.org/39701002:38
openstackgerritXueFeng Liu proposed openstack/senlin: Remove dead code about action list  https://review.openstack.org/39691402:40
openstackgerritlvdongbing proposed openstack/senlin: Engine support for profile-update2  https://review.openstack.org/39804802:44
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: angularize cluster tables  https://review.openstack.org/39773002:45
*** yanyanhu has joined #senlin02:48
openstackgerritRUIJIE YUAN proposed openstack/senlin: add batch policy spec  https://review.openstack.org/39804902:48
*** yuanying has quit IRC02:52
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-get2  https://review.openstack.org/39749302:52
*** yanyanhu has quit IRC02:57
openstackgerritmiaohb proposed openstack/senlin: Remove unsupported sort key "priority"  https://review.openstack.org/39805503:00
miaohbQiming  Please take a look at this: https://bugs.launchpad.net/senlin/+bug/164191603:06
openstackLaunchpad bug 1641916 in senlin "the sort key "user" in event-list cannot work" [Undecided,In progress] - Assigned to miaohb (miao-hongbao)03:06
miaohbQiming  We'd better to add sort key "user", or just revise the help message? Waiting for your advice, thanks alot.03:09
QimingI'd vote removing the 'user' from sort key03:12
miaohbok03:15
lvdongbingSomeone please help review this patch: https://review.openstack.org/39705103:23
openstackgerritmiaohb proposed openstack/python-senlinclient: Remove unsupported sort key "user"  https://review.openstack.org/39806403:23
*** Drago has quit IRC03:40
openstackgerritRUIJIE YUAN proposed openstack/senlin: add batch policy spec  https://review.openstack.org/39804903:42
*** yuanying has joined #senlin03:50
openstackgerritxu-haiwei proposed openstack/senlin: Update host node 'dependents' when create/delete container node  https://review.openstack.org/39601603:52
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-update2  https://review.openstack.org/39807103:58
openstackgerritlvdongbing proposed openstack/senlin: Engine support for profile-update2  https://review.openstack.org/39804804:01
*** guoshan has quit IRC04:04
*** yanyanhu has joined #senlin04:04
*** guoshan has joined #senlin04:07
openstackgerritMerged openstack/python-senlinclient: Remove unsupported sort key "user"  https://review.openstack.org/39806404:12
openstackgerritmiaohb proposed openstack/senlin: Remove unsupported sort key "user"  https://review.openstack.org/39809104:22
openstackgerritXueFeng Liu proposed openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802704:29
*** elynn_ has quit IRC04:35
*** guoshan has quit IRC04:45
openstackgerritXueFeng Liu proposed openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802704:53
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537704:53
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39792004:53
*** guoshan has joined #senlin05:15
Qiminghi, need some reviews on the blueprint and hopefully approve it: https://blueprints.launchpad.net/senlin/+spec/generic-event05:18
*** guoshan has quit IRC05:19
openstackgerritQiming Teng proposed openstack/senlin: Move event database driver out of engine  https://review.openstack.org/39810505:21
Qimingand possiblely this one as well: https://review.openstack.org/39747505:22
*** yanyanhu has quit IRC05:26
*** yanyanhu has joined #senlin05:28
*** yanyanhu has quit IRC05:34
*** yanyanhu has joined #senlin05:38
*** yanyanhu has quit IRC05:38
*** elynn has joined #senlin05:45
*** elynn_ has joined #senlin05:48
*** elynn has quit IRC05:49
openstackgerritXueFeng Liu proposed openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802706:06
*** guoshan has joined #senlin06:09
*** elynn has joined #senlin06:11
openstackgerritmiaohb proposed openstack/senlin: Support sort key "oid" in event list  https://review.openstack.org/39811606:12
*** elynn_ has quit IRC06:13
*** guoshan has quit IRC06:14
*** guoshan has joined #senlin06:15
openstackgerritMerged openstack/senlin: API support for profile-list2  https://review.openstack.org/39705106:17
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-update2  https://review.openstack.org/39807106:19
*** Eldon has joined #senlin06:26
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-get2  https://review.openstack.org/39749306:27
*** yanyanhu has joined #senlin06:29
*** yanyanhu has quit IRC06:29
*** yanyanhu has joined #senlin06:33
*** yanyanhu has quit IRC06:44
openstackgerritlvdongbing proposed openstack/senlin: Engine support for profile-delete2  https://review.openstack.org/39813706:58
*** guoshan has quit IRC07:01
*** yanyanhu has joined #senlin07:09
*** yanyanhu has quit IRC07:09
openstackgerritlvdongbing proposed openstack/senlin: APi support for profile-delete2  https://review.openstack.org/39814707:16
*** guoshan has joined #senlin07:22
openstackgerritxu-haiwei proposed openstack/senlin: Update host node 'dependents' when create/delete container node  https://review.openstack.org/39601607:32
openstackgerritxu-haiwei proposed openstack/senlin: Add container node profile id to vm cluster's 'dependents' property  https://review.openstack.org/39815407:32
xuhaiweiQiming, can you review this patch  https://review.openstack.org/398154, it has some problems, I can't find a better way to resolve the dependency between container node and the vm cluster07:35
openstackgerritShan Guo proposed openstack/senlin: Update the cli in doc of policy command  https://review.openstack.org/39815607:37
Qimingxuhaiwei, I think some logics should be moved out of the DB layer07:48
xuhaiweiQiming, I am thinking about  whether should we add dependency to cluster07:49
xuhaiweiwhat about just ignoring the dependency07:50
Qimingthen?07:50
xuhaiweiafter a vm cluster is deleted, if user tries to create a new container node, notfound error will happen07:52
Qiming:)07:52
Qimingit is beyond that ...07:54
Qimingeverytime you want to operate the container nodes, you may have to deal with the hosting cluster, and you will have to detect whether the cluster is there, and yell if it is not07:55
xuhaiweiwhen deleting a cluster which has vms and there are also containers running on vms, the dependency between vm node and container node will forbid the action07:55
xuhaiweiso ?07:56
Qimingright, those are "hard" dependencies between nodes ... I was hoping that we can manage "protocol" dependencies as well07:57
Qimingin an object-oriented world, we may want to try things in different ways07:58
xuhaiweiwhat are 'protocol' dependencies?07:59
Qiminga metaphor for the 'dependency' between a profile and a cluster07:59
*** CMSS has joined #senlin08:00
Qimingxuhaiwei, check this code: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/receivers/base.py#n10008:00
*** Eldon has quit IRC08:01
Qimingthe 'create' method defined for Receiver base class becomes the standard way to create a receiver instance08:02
Qimingwe are not using just 'receiver = Receiver(type, cluster_id, ...)', instead we use 'Receiver.create(...)'08:03
Qimingthen we invoke 'initialize_channel()' from the create() method08:04
Qimingeach receiver type implementation can write their own 'intialize_channel()' method for specialization08:04
QimingI'm wondering if we should do this for the Profile class as well08:05
Qimingso that the container profile type got a chance, during its initialization, to do some extra set up work08:06
xuhaiweiyes, currently from service layer then go to db layer directly, right?08:07
Qimingthat is a "standard" way for adding another indirection layer08:07
Qimingright08:07
Qiminghttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/service.py#n43108:08
xuhaiweigot this08:08
Qimingwe invoke the constructor (__init__) there, and then do some validation, then save it to db08:08
Qimingif we have an indirection there, we can inject this indirection logic for container profile type08:09
Qiminganyway, you get the idea, :)08:09
xuhaiweiyes08:09
xuhaiweiso you still believe we should keep the dependency between vm cluster and container node?08:10
Qimingen08:15
Qimingthinking from a user's perspective, it would be very annoying that senlin tells me the VM cluster cannot be found when I scale my container cluster from 0 to 3 nodes08:16
xuhaiweihmm08:17
xuhaiweianother problem is when storing the profile id to 'dependents' of cluster, to avoid conflict, we should do it in one db session, but the profile id is not created yet if the session is not over.08:20
Qimingexactly the same problem we met when creating receivers08:22
Qimingwe need the receiver ID to generate webhook URL08:22
xuhaiweihow did you resolve it?08:23
Qimingrefer to receiver base class08:24
openstackgerritlvdongbing proposed openstack/senlin: Remove dead code related to profile list  https://review.openstack.org/39817908:25
Qiminghttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/receivers/base.py#n9908:25
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Add "cluster_id" column to  `openstack cluster event list`  https://review.openstack.org/39765508:28
xuhaiweiI will refer to it08:28
*** CMSS has quit IRC08:32
openstackgerritmiaohb proposed openstack/python-senlinclient: Add sort key "oid" in event list  https://review.openstack.org/39819108:44
openstackgerritlvdongbing proposed openstack/senlin: Revise profile-validate2 object fields  https://review.openstack.org/39821009:11
*** yanyanhu has joined #senlin09:14
openstackgerritXueFeng Liu proposed openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802709:15
*** ruijie has quit IRC09:18
*** ruijie has joined #senlin09:28
openstackgerritQiming Teng proposed openstack/senlin: Revise the DB event dumper  https://review.openstack.org/39822509:39
*** lvdongbing has quit IRC09:55
*** ruijie has quit IRC09:55
*** zhurong has quit IRC10:02
*** elynn has quit IRC10:03
*** yanyanhu has quit IRC10:17
*** yanyanhu has joined #senlin10:17
*** yanyanhu has quit IRC10:18
openstackgerritXueFeng Liu proposed openstack/senlin: Remove dead code about action get  https://review.openstack.org/39691710:27
*** guoshan has quit IRC10:51
*** shu-mutou is now known as shu-mutou-AWAY11:23
*** guoshan has joined #senlin11:35
*** guoshan_ has joined #senlin11:39
*** guoshan has quit IRC11:39
*** guoshan_ has quit IRC11:44
*** elynn has joined #senlin11:59
*** elynn_ has joined #senlin12:03
*** elynn has quit IRC12:04
*** elynn_ has quit IRC12:17
*** catintheroof has joined #senlin12:23
*** guoshan has joined #senlin12:33
*** zhurong has joined #senlin12:35
*** guoshan has quit IRC12:40
openstackgerritQiming Teng proposed openstack/python-senlinclient: Add "cluster_id" column to  `openstack cluster event list`  https://review.openstack.org/39765513:09
*** elynn_ has joined #senlin13:11
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758313:16
openstackgerritXueFeng Liu proposed openstack/senlin: Add engine support for event_list2  https://review.openstack.org/39834013:16
openstackgerritXueFeng Liu proposed openstack/senlin: Api support for event_list2  https://review.openstack.org/39834113:17
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758313:19
openstackgerritXueFeng Liu proposed openstack/senlin: Add engine support for event_list2  https://review.openstack.org/39834013:19
openstackgerritXueFeng Liu proposed openstack/senlin: Api support for event_list2  https://review.openstack.org/39834113:19
*** XueFengLiu has left #senlin13:22
*** guoshan has joined #senlin13:28
*** guoshan has quit IRC13:32
openstackgerritMerged openstack/python-senlinclient: Support xyz_update purging metadata  https://review.openstack.org/39117913:33
openstackgerritMerged openstack/senlin: remove dead code of policy delete  https://review.openstack.org/39656613:59
openstackgerritMerged openstack/senlin: remove dead code in rpc  https://review.openstack.org/39701013:59
*** guoshan has joined #senlin14:22
*** guoshan has quit IRC14:26
*** Drago1 has joined #senlin14:28
*** Drago1 has quit IRC14:33
*** elynn_ has quit IRC14:38
*** Drago1 has joined #senlin14:45
*** elynn_ has joined #senlin14:50
*** elynn_ has quit IRC14:50
*** zhurong has quit IRC14:51
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758315:09
openstackgerritXueFeng Liu proposed openstack/senlin: Add engine support for event_list2  https://review.openstack.org/39834015:14
*** guoshan has joined #senlin15:23
*** guoshan has quit IRC15:27
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537715:45
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39792015:45
openstackgerritXueFeng Liu proposed openstack/senlin: Api support for event_list2  https://review.openstack.org/39834115:53
openstackgerritXueFeng Liu proposed openstack/senlin: Api support for event_list2  https://review.openstack.org/39834115:54
*** guoshan has joined #senlin16:24
*** guoshan has quit IRC16:28
*** guoshan has joined #senlin17:31
*** XueFeng has quit IRC17:33
*** guoshan has quit IRC17:36
*** catinthe_ has joined #senlin18:13
*** catintheroof has quit IRC18:15
*** catintheroof has joined #senlin18:15
*** catinthe_ has quit IRC18:18
*** guoshan has joined #senlin18:32
*** guoshan has quit IRC18:36
*** guoshan has joined #senlin19:26
*** guoshan has quit IRC19:30
*** guoshan has joined #senlin20:20
*** guoshan has quit IRC20:25
*** guoshan has joined #senlin21:14
*** guoshan has quit IRC21:19
*** catinthe_ has joined #senlin21:32
*** Drago1 is now known as Drago21:34
*** catintheroof has quit IRC21:36
*** catintheroof has joined #senlin21:51
*** catinthe_ has quit IRC21:51
*** guoshan has joined #senlin22:08
*** guoshan has quit IRC22:13
*** catintheroof has quit IRC22:54
*** guoshan has joined #senlin23:02
*** guoshan has quit IRC23:07
*** guoshan has joined #senlin23:57

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