Monday, 2016-11-28

openstackgerritMerged openstack/senlin: Merge all notification objects/payloads  https://review.openstack.org/40225800:08
*** guoshan has joined #senlin00:45
*** guoshan has quit IRC01:05
openstackgerritxu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes  https://review.openstack.org/40231101:10
openstackgerritxu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes  https://review.openstack.org/40231101:13
*** catinthe_ has quit IRC01:16
*** catintheroof has joined #senlin01:17
*** ruijie has joined #senlin01:18
*** catintheroof has quit IRC01:21
openstackgerritQiming Teng proposed openstack/senlin: Versioned notifications for node actions  https://review.openstack.org/40226101:22
*** lvdongbing has joined #senlin01:23
openstackgerritQiming Teng proposed openstack/senlin: Message driver for event notification  https://review.openstack.org/40227701:25
*** zhurong has joined #senlin01:27
*** yanyanhu has joined #senlin01:29
*** guoshan has joined #senlin01:30
openstackgerritxu-haiwei proposed openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on  https://review.openstack.org/40234401:41
openstackgerritlvdongbing proposed openstack/senlin: Remove dead codes related to profile_validate in engine layer  https://review.openstack.org/40346601:50
openstackgerritlvdongbing proposed openstack/senlin: Remove dead codes related to profile_create in engine layer.  https://review.openstack.org/40347001:55
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: Add create cluster action  https://review.openstack.org/40347202:01
openstackgerritlvdongbing proposed openstack/senlin: Remove dead codes related to profile_type in rpc layer  https://review.openstack.org/40347602:10
openstackgerritMerged openstack/senlin: Versioned notifications for node actions  https://review.openstack.org/40226102:29
openstackgerritMerged openstack/senlin: Message driver for event notification  https://review.openstack.org/40227702:29
openstackgerritQiming Teng proposed openstack/senlin: Minor tweak to Database event driver  https://review.openstack.org/40348502:45
openstackgerritQiming Teng proposed openstack/senlin: Minor tweak to Database event driver  https://review.openstack.org/40348502:49
*** zhurong has quit IRC02:58
*** zhurong_ has joined #senlin02:58
*** XueFeng has quit IRC02:58
*** elynn has joined #senlin03:00
QimingI believe I had pasted this before03:38
Qimingabout 'codes' and 'code'03:38
Qimingplease check this: http://english.stackexchange.com/questions/20455/is-it-wrong-to-use-the-word-codes-in-a-programming-context/03:38
*** fabian4 has quit IRC03:40
openstackgerritQiming Teng proposed openstack/senlin: Remove event logging for action signal  https://review.openstack.org/40349403:46
*** elynn has quit IRC04:19
openstackgerritxu-haiwei proposed openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on  https://review.openstack.org/40234404:38
*** yuanying has quit IRC04:57
openstackgerritxu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes  https://review.openstack.org/40231105:04
*** guoshan has quit IRC05:20
*** Drago has joined #senlin05:27
*** elynn has joined #senlin05:30
*** elynn_ has joined #senlin05:34
*** elynn has quit IRC05:34
*** Drago has quit IRC05:38
*** Drago has joined #senlin05:45
*** yuanying has joined #senlin06:02
*** guoshan has joined #senlin06:07
openstackgerritQiming Teng proposed openstack/senlin: Remove event logging for action signal  https://review.openstack.org/40349406:21
openstackgerritQiming Teng proposed openstack/senlin: Tweak 'cluster' and 'node' member of actions  https://review.openstack.org/40351506:32
*** zhurong_ has quit IRC06:56
*** zhurong has joined #senlin06:57
*** yuanying has quit IRC07:04
guoshanhi, all. I have a few question about senlin operation. 1. cluster resize vs cluster shrink vs cluster expand. It seems that the function of cluster resize include add or remove the nodes. Do we still need other 2 api? what's the difference between them?07:10
ruijiehi, guoshan, you mean cluster-del-nodes and cluster-add-nodes?07:11
guoshani mean the cli openstack cluster expand07:12
guoshanopenstack cluster shrink and openstack cluster resize07:12
guoshannot del-nodes or add-nodes07:13
Qiminghi, guoshan, it is a duplication by design07:13
Qimingin theory, we only need the RESIZE operation, which already covers scale-in and scale-out07:13
Qiminghowever, in real production environment, when we hook senlin to some 3rd party monitoring software (solutions), we cannot assume those softwares can decide all the parameters for RESIZE07:14
Qimingmost of the time, those software can only decide whether the cluster needs to be expanded or shrank, they don't care about the details07:15
Qimingthe scale-in and scale-out APIs are provided for these scenarios, users don't have to provide any parameters when invoking them07:16
Qimingsenlin engine will make reasonable assumptions based on the API calls, and possibly by relying on the scaling policy07:16
guoshanokay, got that, thanks. If i attach a scaling policy to a cluster with the action cluster_scale_out, how should i trigger the scale out action?07:17
Qimingon the other hand, if the monitoring software is smart enough to decide how many nodes to add when workload increases, it can invoke the RESIZE api instead ... in those cases, scaling policy is not needed any more07:17
Qimingyou still do cluster scale-in or cluster scale-out07:17
Qimingthe policy will be effected without users have to know them07:18
Qimingpolicies are defined as "rules to be checked or enforced when certain operations are to be performed"07:18
Qimingit is not like aws or heat design07:18
Qimingwhere you need to trigger the policy ...07:19
guoshanok, so the command senlin cluster-scale-out means openstack cluster expand / senlin cluster-scale-in means openstsack cluster shrink?07:24
Qimingyes07:24
Qimingit is due to openstackclient restriction07:25
Qimingit doesn't allow a verb like 'scale-out' or 'scale-in'07:25
Qimingwe had to invent some single word verbs to make it happy07:25
guoshanand does senlin intend to use openstack client after 2017 apirl?07:25
Qimingsenlin is already supporting openstackclient already07:26
Qimingthe only exception is the --profile parameter07:26
Qimingit is still used by openstackclient as a parameter for os-profiler support07:26
Qimingthe conflict is still there, so we cannot completely switch to openstackclient and deprecate senlinclient07:27
guoshanyes, I mean it will drop senlinclient? or will continue to support both 2 client in future?07:27
Qimingopenstackclient has a plan to deprecate its '--profile' parameter after April 201707:27
Qimingthat is when we will completely switch to openstackclient07:27
Qimingthere is no reason to support senlinclient forever07:28
Qimingwe will drop senlin's shell command for consistency across the community07:28
Qimingthe project will be there only for providing openstackclient plugins07:28
Qimingas for API calls, we would suggest users to use python-openstacksdk, all senlin apis are supported there07:29
Qimingin one word, there should be no such thing as "from senlinclient import <something>"07:29
guoshanokay, I notice there is no deprecation with scale-in and scale-out cli, i will add an deprecation with expand and shrink command, if u don't mind07:30
openstackgerritQiming Teng proposed openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353207:35
Qimingokay, I'm okay with it07:39
openstackgerritQiming Teng proposed openstack/senlin: Tweak 'cluster' and 'node' member of actions  https://review.openstack.org/40351507:58
openstackgerritQiming Teng proposed openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353208:56
openstackgerritShan Guo proposed openstack/python-senlinclient: Correct deprecation of scale-in and scale-out cli  https://review.openstack.org/40359109:35
*** elynn_ has quit IRC09:45
*** lvdongbing has quit IRC09:45
*** Drago has quit IRC09:58
*** fabian4 has joined #senlin10:00
fabian4Hi, senlin can i use rpm install centos 7 system ?10:01
Qiminghi, fabian4, not yet10:01
*** zhurong has quit IRC10:02
Qimingneed volunteers on proposing repo to RDO and maintain it10:02
Qiminghowever, you can build a rpm from source yourself pretty easily10:02
fabian4Qiming, ok. I want to install senlin and try test again10:03
Qimingsource based install would be recommended as of now10:03
Qimingif you prefer rpm way, here is a reference: https://ask.openstack.org/en/question/24803/how-to-build-package-from-source-code/10:03
fabian4Qiming, In my project, autoscaling well be use, but heat don't good support10:04
Qimingem, heat does "support", depending on your particular use cases, :)10:04
QimingI believe team here would be happy to help you out10:05
*** guoshan has quit IRC10:10
*** guoshan has joined #senlin10:11
*** yanyanhu has quit IRC10:13
openstackgerritQiming Teng proposed openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353210:14
fabian4Qiming, my project weill be use autoscaling, i don't known how can i choose ? the heat must write autoscaling api, but senlin don't formal use, You can give me a idea ?10:15
Qimingit depends on your usage scenario10:15
Qimingsenlin is an OpenStack official project, not yet released under RDO, that is true, because we don't have hands working on that10:16
fabian4Qiming, ok. thanks10:18
Qimingjust clone the code, then do 'python setup.py bdist_rpm'10:19
Qimingyou will get rpms generated in the 'dist' subdirectory10:20
* Qiming have to run, or will get kicked by wife when arriving home10:20
*** guoshan has quit IRC10:37
*** Qiming has quit IRC11:00
*** guoshan has joined #senlin11:02
*** guoshan has quit IRC11:16
openstackgerritMerged openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes  https://review.openstack.org/40231111:43
openstackgerritMerged openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on  https://review.openstack.org/40234411:43
*** guoshan has joined #senlin11:44
*** guoshan has quit IRC11:54
*** Qiming has joined #senlin13:01
openstackgerritQiming Teng proposed openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353213:14
*** fabian___ has joined #senlin13:24
*** fabian___ has quit IRC13:28
*** guoshan has joined #senlin13:33
*** Qiming_ has joined #senlin13:35
*** Qiming has quit IRC13:39
*** openstackstatus has quit IRC14:28
openstackgerritQiming Teng proposed openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353214:28
*** openstackstatus has joined #senlin14:30
*** ChanServ sets mode: +v openstackstatus14:30
*** guoshan has quit IRC15:23
openstackgerritMerged openstack/senlin: Remove dead codes related to profile_type in rpc layer  https://review.openstack.org/40347615:53
*** zigo has quit IRC16:01
*** zigo has joined #senlin16:01
*** Drago1 has joined #senlin16:06
*** Drago1 has quit IRC16:11
*** Drago1 has joined #senlin16:19
openstackgerritMerged openstack/senlin: Minor tweak to Database event driver  https://review.openstack.org/40348516:23
openstackgerritMerged openstack/senlin: Remove event logging for action signal  https://review.openstack.org/40349417:08
openstackgerritMerged openstack/senlin: Tweak 'cluster' and 'node' member of actions  https://review.openstack.org/40351517:08
openstackgerritMerged openstack/senlin: Fix event calls from action base  https://review.openstack.org/40353217:08
*** Drago1 has quit IRC17:15
*** Drago1 has joined #senlin17:18
*** Drago1 has quit IRC17:25
*** Drago1 has joined #senlin17:31
*** catintheroof has joined #senlin18:04
*** catintheroof has quit IRC22:28
*** zigo has quit IRC22:29
*** zigo has joined #senlin22:36
*** Drago1 has quit IRC23:27
*** shu-mutou has joined #senlin23:49
*** shu-mutou has quit IRC23:50

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