openstackgerrit | Merged openstack/senlin: Merge all notification objects/payloads https://review.openstack.org/402258 | 00:08 |
---|---|---|
*** guoshan has joined #senlin | 00:45 | |
*** guoshan has quit IRC | 01:05 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes https://review.openstack.org/402311 | 01:10 |
openstackgerrit | xu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes https://review.openstack.org/402311 | 01:13 |
*** catinthe_ has quit IRC | 01:16 | |
*** catintheroof has joined #senlin | 01:17 | |
*** ruijie has joined #senlin | 01:18 | |
*** catintheroof has quit IRC | 01:21 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Versioned notifications for node actions https://review.openstack.org/402261 | 01:22 |
*** lvdongbing has joined #senlin | 01:23 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Message driver for event notification https://review.openstack.org/402277 | 01:25 |
*** zhurong has joined #senlin | 01:27 | |
*** yanyanhu has joined #senlin | 01:29 | |
*** guoshan has joined #senlin | 01:30 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on https://review.openstack.org/402344 | 01:41 |
openstackgerrit | lvdongbing proposed openstack/senlin: Remove dead codes related to profile_validate in engine layer https://review.openstack.org/403466 | 01:50 |
openstackgerrit | lvdongbing proposed openstack/senlin: Remove dead codes related to profile_create in engine layer. https://review.openstack.org/403470 | 01:55 |
openstackgerrit | Kenji Ishii proposed openstack/senlin-dashboard: Add create cluster action https://review.openstack.org/403472 | 02:01 |
openstackgerrit | lvdongbing proposed openstack/senlin: Remove dead codes related to profile_type in rpc layer https://review.openstack.org/403476 | 02:10 |
openstackgerrit | Merged openstack/senlin: Versioned notifications for node actions https://review.openstack.org/402261 | 02:29 |
openstackgerrit | Merged openstack/senlin: Message driver for event notification https://review.openstack.org/402277 | 02:29 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Minor tweak to Database event driver https://review.openstack.org/403485 | 02:45 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Minor tweak to Database event driver https://review.openstack.org/403485 | 02:49 |
*** zhurong has quit IRC | 02:58 | |
*** zhurong_ has joined #senlin | 02:58 | |
*** XueFeng has quit IRC | 02:58 | |
*** elynn has joined #senlin | 03:00 | |
Qiming | I believe I had pasted this before | 03:38 |
Qiming | about 'codes' and 'code' | 03:38 |
Qiming | please 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 IRC | 03:40 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Remove event logging for action signal https://review.openstack.org/403494 | 03:46 |
*** elynn has quit IRC | 04:19 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on https://review.openstack.org/402344 | 04:38 |
*** yuanying has quit IRC | 04:57 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes https://review.openstack.org/402311 | 05:04 |
*** guoshan has quit IRC | 05:20 | |
*** Drago has joined #senlin | 05:27 | |
*** elynn has joined #senlin | 05:30 | |
*** elynn_ has joined #senlin | 05:34 | |
*** elynn has quit IRC | 05:34 | |
*** Drago has quit IRC | 05:38 | |
*** Drago has joined #senlin | 05:45 | |
*** yuanying has joined #senlin | 06:02 | |
*** guoshan has joined #senlin | 06:07 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Remove event logging for action signal https://review.openstack.org/403494 | 06:21 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Tweak 'cluster' and 'node' member of actions https://review.openstack.org/403515 | 06:32 |
*** zhurong_ has quit IRC | 06:56 | |
*** zhurong has joined #senlin | 06:57 | |
*** yuanying has quit IRC | 07:04 | |
guoshan | hi, 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 |
ruijie | hi, guoshan, you mean cluster-del-nodes and cluster-add-nodes? | 07:11 |
guoshan | i mean the cli openstack cluster expand | 07:12 |
guoshan | openstack cluster shrink and openstack cluster resize | 07:12 |
guoshan | not del-nodes or add-nodes | 07:13 |
Qiming | hi, guoshan, it is a duplication by design | 07:13 |
Qiming | in theory, we only need the RESIZE operation, which already covers scale-in and scale-out | 07:13 |
Qiming | however, 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 RESIZE | 07:14 |
Qiming | most of the time, those software can only decide whether the cluster needs to be expanded or shrank, they don't care about the details | 07:15 |
Qiming | the scale-in and scale-out APIs are provided for these scenarios, users don't have to provide any parameters when invoking them | 07:16 |
Qiming | senlin engine will make reasonable assumptions based on the API calls, and possibly by relying on the scaling policy | 07:16 |
guoshan | okay, 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 |
Qiming | on 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 more | 07:17 |
Qiming | you still do cluster scale-in or cluster scale-out | 07:17 |
Qiming | the policy will be effected without users have to know them | 07:18 |
Qiming | policies are defined as "rules to be checked or enforced when certain operations are to be performed" | 07:18 |
Qiming | it is not like aws or heat design | 07:18 |
Qiming | where you need to trigger the policy ... | 07:19 |
guoshan | ok, so the command senlin cluster-scale-out means openstack cluster expand / senlin cluster-scale-in means openstsack cluster shrink? | 07:24 |
Qiming | yes | 07:24 |
Qiming | it is due to openstackclient restriction | 07:25 |
Qiming | it doesn't allow a verb like 'scale-out' or 'scale-in' | 07:25 |
Qiming | we had to invent some single word verbs to make it happy | 07:25 |
guoshan | and does senlin intend to use openstack client after 2017 apirl? | 07:25 |
Qiming | senlin is already supporting openstackclient already | 07:26 |
Qiming | the only exception is the --profile parameter | 07:26 |
Qiming | it is still used by openstackclient as a parameter for os-profiler support | 07:26 |
Qiming | the conflict is still there, so we cannot completely switch to openstackclient and deprecate senlinclient | 07:27 |
guoshan | yes, I mean it will drop senlinclient? or will continue to support both 2 client in future? | 07:27 |
Qiming | openstackclient has a plan to deprecate its '--profile' parameter after April 2017 | 07:27 |
Qiming | that is when we will completely switch to openstackclient | 07:27 |
Qiming | there is no reason to support senlinclient forever | 07:28 |
Qiming | we will drop senlin's shell command for consistency across the community | 07:28 |
Qiming | the project will be there only for providing openstackclient plugins | 07:28 |
Qiming | as for API calls, we would suggest users to use python-openstacksdk, all senlin apis are supported there | 07:29 |
Qiming | in one word, there should be no such thing as "from senlinclient import <something>" | 07:29 |
guoshan | okay, 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 mind | 07:30 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 07:35 |
Qiming | okay, I'm okay with it | 07:39 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Tweak 'cluster' and 'node' member of actions https://review.openstack.org/403515 | 07:58 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 08:56 |
openstackgerrit | Shan Guo proposed openstack/python-senlinclient: Correct deprecation of scale-in and scale-out cli https://review.openstack.org/403591 | 09:35 |
*** elynn_ has quit IRC | 09:45 | |
*** lvdongbing has quit IRC | 09:45 | |
*** Drago has quit IRC | 09:58 | |
*** fabian4 has joined #senlin | 10:00 | |
fabian4 | Hi, senlin can i use rpm install centos 7 system ? | 10:01 |
Qiming | hi, fabian4, not yet | 10:01 |
*** zhurong has quit IRC | 10:02 | |
Qiming | need volunteers on proposing repo to RDO and maintain it | 10:02 |
Qiming | however, you can build a rpm from source yourself pretty easily | 10:02 |
fabian4 | Qiming, ok. I want to install senlin and try test again | 10:03 |
Qiming | source based install would be recommended as of now | 10:03 |
Qiming | if you prefer rpm way, here is a reference: https://ask.openstack.org/en/question/24803/how-to-build-package-from-source-code/ | 10:03 |
fabian4 | Qiming, In my project, autoscaling well be use, but heat don't good support | 10:04 |
Qiming | em, heat does "support", depending on your particular use cases, :) | 10:04 |
Qiming | I believe team here would be happy to help you out | 10:05 |
*** guoshan has quit IRC | 10:10 | |
*** guoshan has joined #senlin | 10:11 | |
*** yanyanhu has quit IRC | 10:13 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 10:14 |
fabian4 | Qiming, 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 |
Qiming | it depends on your usage scenario | 10:15 |
Qiming | senlin is an OpenStack official project, not yet released under RDO, that is true, because we don't have hands working on that | 10:16 |
fabian4 | Qiming, ok. thanks | 10:18 |
Qiming | just clone the code, then do 'python setup.py bdist_rpm' | 10:19 |
Qiming | you will get rpms generated in the 'dist' subdirectory | 10:20 |
* Qiming have to run, or will get kicked by wife when arriving home | 10:20 | |
*** guoshan has quit IRC | 10:37 | |
*** Qiming has quit IRC | 11:00 | |
*** guoshan has joined #senlin | 11:02 | |
*** guoshan has quit IRC | 11:16 | |
openstackgerrit | Merged openstack/senlin: Forbid deleting a cluster if it is referenced by container nodes https://review.openstack.org/402311 | 11:43 |
openstackgerrit | Merged openstack/senlin: Forbid deleting vm nodes from a cluster which have containers running on https://review.openstack.org/402344 | 11:43 |
*** guoshan has joined #senlin | 11:44 | |
*** guoshan has quit IRC | 11:54 | |
*** Qiming has joined #senlin | 13:01 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 13:14 |
*** fabian___ has joined #senlin | 13:24 | |
*** fabian___ has quit IRC | 13:28 | |
*** guoshan has joined #senlin | 13:33 | |
*** Qiming_ has joined #senlin | 13:35 | |
*** Qiming has quit IRC | 13:39 | |
*** openstackstatus has quit IRC | 14:28 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 14:28 |
*** openstackstatus has joined #senlin | 14:30 | |
*** ChanServ sets mode: +v openstackstatus | 14:30 | |
*** guoshan has quit IRC | 15:23 | |
openstackgerrit | Merged openstack/senlin: Remove dead codes related to profile_type in rpc layer https://review.openstack.org/403476 | 15:53 |
*** zigo has quit IRC | 16:01 | |
*** zigo has joined #senlin | 16:01 | |
*** Drago1 has joined #senlin | 16:06 | |
*** Drago1 has quit IRC | 16:11 | |
*** Drago1 has joined #senlin | 16:19 | |
openstackgerrit | Merged openstack/senlin: Minor tweak to Database event driver https://review.openstack.org/403485 | 16:23 |
openstackgerrit | Merged openstack/senlin: Remove event logging for action signal https://review.openstack.org/403494 | 17:08 |
openstackgerrit | Merged openstack/senlin: Tweak 'cluster' and 'node' member of actions https://review.openstack.org/403515 | 17:08 |
openstackgerrit | Merged openstack/senlin: Fix event calls from action base https://review.openstack.org/403532 | 17:08 |
*** Drago1 has quit IRC | 17:15 | |
*** Drago1 has joined #senlin | 17:18 | |
*** Drago1 has quit IRC | 17:25 | |
*** Drago1 has joined #senlin | 17:31 | |
*** catintheroof has joined #senlin | 18:04 | |
*** catintheroof has quit IRC | 22:28 | |
*** zigo has quit IRC | 22:29 | |
*** zigo has joined #senlin | 22:36 | |
*** Drago1 has quit IRC | 23:27 | |
*** shu-mutou has joined #senlin | 23:49 | |
*** shu-mutou has quit IRC | 23:50 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!