openstackgerrit | miaohb proposed openstack/python-senlinclient: Revise the help message of policy binding list https://review.openstack.org/393981 | 05:10 |
---|---|---|
openstackgerrit | miaohb proposed openstack/python-senlinclient: Revise the help message of policy binding list https://review.openstack.org/393981 | 05:13 |
openstackgerrit | miaohb proposed openstack/senlin: Display "priority" for policy binding list https://review.openstack.org/393983 | 05:55 |
openstackgerrit | miaohb proposed openstack/python-senlinclient: Add sortkey "priority" in policy binding list's help message https://review.openstack.org/393985 | 06:18 |
openstackgerrit | miaohb proposed openstack/python-senlinclient: Add sortkey "priority" in policy binding list's help message https://review.openstack.org/393985 | 06:19 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: support versioned resource for policy https://review.openstack.org/393690 | 06:30 |
openstackgerrit | miaohb proposed openstack/senlin: Add unit test for sort key "priority" in policy binding list https://review.openstack.org/393986 | 06:37 |
Qiming | XueFeng, online? | 06:43 |
XueFeng | yes | 06:51 |
Qiming | XueFeng, do you know xiaohb? | 06:54 |
Qiming | oh, miaohb | 06:55 |
XueFeng | enen | 06:55 |
Qiming | he has been very helpful | 06:55 |
XueFeng | In my side just now | 06:55 |
Qiming | but his work on policy binding things is some time not well guided | 06:55 |
Qiming | great | 06:55 |
XueFeng | I come to company just now | 06:56 |
Qiming | if he can come online regularly before he starts working on something, that would be very helpful | 06:56 |
XueFeng | Have a naps in home | 06:56 |
XueFeng | ok | 06:56 |
XueFeng | I will tell him | 06:56 |
XueFeng | later | 06:56 |
Qiming | great! | 06:56 |
XueFeng | He come back now | 06:56 |
XueFeng | go home now | 06:57 |
Qiming | ok | 06:58 |
XueFeng | I will tell him how to use irc in company | 06:59 |
Qiming | thanks | 06:59 |
XueFeng | have told him last time | 06:59 |
XueFeng | But seems it network is not very good | 07:00 |
XueFeng | his | 07:00 |
XueFeng | Maybe need change a proxy in company.Will chat with him | 07:01 |
Qiming | alright, irc servers are not blocked by the chinese firewall | 07:02 |
openstackgerrit | XueFeng Liu proposed openstack/senlin: Fix order in updating lock table and action table https://review.openstack.org/392118 | 07:02 |
XueFeng | yes | 07:02 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: engine prepare for policy list v2 https://review.openstack.org/393992 | 07:13 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin-dashboard: Imported Translations from Zanata https://review.openstack.org/389288 | 07:37 |
ruijie | hi Qiming. around? | 09:13 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: api support policy list v2 https://review.openstack.org/394003 | 09:24 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: engine prepare for policy list v2 https://review.openstack.org/393992 | 09:29 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: api support policy list v2 https://review.openstack.org/394003 | 09:32 |
openstackgerrit | XueFeng Liu proposed openstack/python-senlinclient: Support xyz_update purging metadata https://review.openstack.org/391179 | 09:42 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: engine prepare for policy list v2 https://review.openstack.org/393992 | 09:43 |
*** XueFeng has quit IRC | 09:50 | |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: api support policy list v2 https://review.openstack.org/394003 | 10:11 |
openstackgerrit | RUIJIE YUAN proposed openstack/senlin: api support policy list v2 https://review.openstack.org/394003 | 10:28 |
*** XueFeng has joined #senlin | 10:34 | |
*** XueFeng has left #senlin | 10:35 | |
*** XueFeng has joined #senlin | 10:41 | |
*** AlexeyAbashkin has joined #senlin | 11:00 | |
*** Alexey_Abashkin_ has quit IRC | 11:02 | |
*** miaohb has joined #senlin | 11:05 | |
miaohb | hi,qiming. r u online? | 11:05 |
*** miaohb has quit IRC | 11:07 | |
*** miaohb has joined #senlin | 11:09 | |
*** miaohb has quit IRC | 11:10 | |
Qiming | hi | 11:12 |
*** miaohb has joined #senlin | 11:16 | |
miaohb | 。 | 11:17 |
miaohb | ? | 11:20 |
miaohb | hi.qiming. r u free nie? | 11:20 |
miaohb | now | 11:20 |
miaohb | want to discuss priority with you | 11:21 |
*** miaohb has quit IRC | 11:26 | |
XueFeng | Hi,QiMing.Xiaobao has come. | 11:26 |
*** miaohb has joined #senlin | 11:26 | |
*** miaohb has quit IRC | 11:33 | |
Qiming | then disappeared, :) | 11:43 |
*** miaohb has joined #senlin | 11:52 | |
Qiming | hi, miaohb | 11:52 |
miaohb | hi,qiming | 11:53 |
Qiming | when i was reviewing your patch #393983 | 11:53 |
miaohb | can we speak Chinese, hehe | 11:53 |
Qiming | I was feeling guilty because it was exactly a thing we killed half a year ago | 11:54 |
Qiming | typing english is a little bit faster .... | 11:54 |
miaohb | ok | 11:55 |
Qiming | previously we had 'level', 'cooldown' defined for all policies | 11:56 |
miaohb | You mean we need not to support priority now? | 11:56 |
Qiming | back in Jan: http://git.openstack.org/cgit/openstack/senlin/commit/senlin/policies/base.py?id=5160d2f230afa1bd71c693857aa3c9b7aad058d6 | 11:56 |
Qiming | senlin policy priority, as of today, is hardcoded | 11:56 |
Qiming | it won't change no matter you attach it to which cluster | 11:57 |
Qiming | because the policies have an implicit dependency among them | 11:57 |
miaohb | but i think different policy can have different priority | 11:58 |
Qiming | take scale-out operation as an example | 11:58 |
Qiming | yes, they do have different priorities, but those priority cannot be changed freely | 11:58 |
Qiming | back to the scale-out example, listen to my story please | 11:58 |
Qiming | the first policy you will check is the scaling policy | 11:59 |
miaohb | Ok | 11:59 |
Qiming | that policy may change the number of nodes to create | 11:59 |
Qiming | you can only make a good placement plan after you know for sure how many nodes you will create | 12:00 |
Qiming | similarly, you cannot reliably evaluate the deletion policy without knowing how many nodes to remove | 12:00 |
Qiming | so after a discussion, we decided to hard code the policy priorities | 12:02 |
Qiming | see example here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/policies/scaling_policy.py#n34 | 12:02 |
Qiming | when removing nodes from a cluster, for another example, the flow is always like this: | 12:03 |
Qiming | 1) scaling policy decides the number of nodes to remove; 2) deletion policy decides the exact nodes as victims; 3) lb_policy to remove them from the load-balancer | 12:04 |
Qiming | you cannot let the lb_policy have a higher priority than the scaling policy ... that will break the whole work flow | 12:05 |
miaohb | yes | 12:07 |
miaohb | May I speak? | 12:08 |
miaohb | I drop again? | 12:10 |
XueFeng | online | 12:11 |
miaohb | Why we keep the priority | 12:13 |
miaohb | In the cluster policy ? | 12:13 |
*** miaohb has quit IRC | 12:19 | |
*** miaohb has joined #senlin | 12:22 | |
*** miaohb has quit IRC | 12:24 | |
*** miaohb has joined #senlin | 12:25 | |
openstackgerrit | Merged openstack/python-senlinclient: Rework do_action_list function's "full_id" handling https://review.openstack.org/393670 | 12:38 |
*** miaohb has quit IRC | 12:41 | |
*** miaohb has joined #senlin | 12:43 | |
Qiming | even in the cluster-policy binding, we have that field, we didn't meant to use it | 12:43 |
XueFeng | It seems priority is hard code in each policy.And because policies have dependency work flow, we choice hard code before no good idea? | 12:44 |
Qiming | yes | 12:44 |
Qiming | we cannot expose priorities to users | 12:44 |
XueFeng | Then because hard code, we will not show the priority to users? | 12:44 |
Qiming | it may lead to any result | 12:45 |
Qiming | right | 12:45 |
Qiming | exposing that to users will lead to questions ... why cannot I change it? | 12:45 |
Qiming | what does 200 mean? | 12:45 |
XueFeng | it is | 12:47 |
XueFeng | interrupt,can we save chat in #senlin such as #openstack-meeting. | 12:50 |
miaohb | My patch is just to display ,user have no way to change the ita | 12:50 |
miaohb | the vaue | 12:50 |
Qiming | all chats are saved, all meetings are saved as well | 12:51 |
Qiming | IRC logs can be found here: http://eavesdrop.openstack.org/irclogs/%23senlin/ | 12:51 |
Qiming | weekly meetings are logged here: http://eavesdrop.openstack.org/meetings/senlin/2016/ | 12:52 |
XueFeng | ok.I know #openstack-meeting logs before. | 12:52 |
XueFeng | Not find #senlin log. Got it. | 12:53 |
Qiming | it is shown as a prompt when you enters #senlin channel | 12:53 |
Qiming | I mean this line: IRCLog: http://eavesdrop.openstack.org/irclogs/%23senlin/ | Bugs: bugs.launchpad.net/senlin | Review: https://review.openstack.org/#/q/project:openstack/senlin,n,z | 12:54 |
XueFeng | I saw it. | 12:54 |
XueFeng | Thanks:) | 12:54 |
XueFeng | continue priority | 12:55 |
*** miaohb has quit IRC | 13:10 | |
*** miaohb has joined #senlin | 14:16 | |
*** miaohb has quit IRC | 14:21 | |
*** XueFeng has quit IRC | 14:28 | |
*** XueFeng has joined #senlin | 14:31 | |
*** XueFeng has quit IRC | 14:36 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!