Tuesday, 2019-02-19

openstackgerritDuc Truong proposed openstack/senlin master: [WIP] Clean up devstack tempest jobs  https://review.openstack.org/63563800:35
openstackgerritDuc Truong proposed openstack/senlin master: [WIP] Clean up devstack tempest jobs  https://review.openstack.org/63563801:26
*** sapd1_ has quit IRC02:13
openstackgerritDuc Truong proposed openstack/senlin master: [WIP] Clean up devstack tempest jobs  https://review.openstack.org/63563802:17
*** crownwin has joined #senlin02:26
dtruongcrownwin Unfortunately, Senlin code prevents the user from adding more than 1 lb policy to the same cluster.02:27
dtruongBut I do understand your use case02:28
dtruongWe would have to change the Senlin code and test it to see how it behaves with 2 lb policies attached to the same cluster.02:28
dtruongcrownwin Are you using neutron-lbaas or octavia?02:29
crownwinoctavia02:32
crownwinmonth ago, I talked with you in launchpad. Usecase is when high traffic is comming, my backends (Autoscaling cluster) still fine, but my LB (lb policy) is bottleneck and can't serve traffic02:34
*** sapd1 has joined #senlin02:38
crownwinI know that having many change Senlin code. I tried and couldn't do it. It seems to exceed my ability.02:38
dtruongWhen you create an instance without senlin to support your use case, you add the instance as a member to two different load balancers?02:54
*** sapd1 has quit IRC03:34
crownwinbut that's very manualy03:42
crownwinI want everything is automatic because number of nodes is very large03:43
crownwinHow can I contribute to that features?03:44
crownwinI will willing to do that03:47
*** sapd1 has joined #senlin03:51
*** irclogbot_3 has quit IRC04:55
dtruongSure, I can help you.  You can start by adding this line (https://github.com/openstack/senlin/blob/master/senlin/policies/scaling_policy.py#L133) to the __init__ of the load balancer policy here: https://github.com/openstack/senlin/blob/master/senlin/policies/lb_policy.py#L29005:10
dtruongThis will allow you to add two lb policies to the same clusters.  Let me know what happens after you test that with your use case.05:11
openstackgerritDuc Truong proposed openstack/senlin master: Clean up devstack tempest jobs  https://review.openstack.org/63563805:15
*** crownwin has quit IRC05:45
*** crownwin has joined #senlin06:52
crownwin@Truong, I changed it before and I had a problem.07:19
openstackgerritMerged openstack/senlin-tempest-plugin master: Check required health policy version  https://review.openstack.org/63562107:20
crownwinWhen I scale out cluster, new created node only be added to one lb, another lb have no action.07:22
openstackgerritMerged openstack/senlin-tempest-plugin master: Check required microversion  https://review.openstack.org/63563407:33
openstackgerritMerged openstack/senlin-tempest-plugin master: Generate profile spec baed on tempest config  https://review.openstack.org/63564807:33
openstackgerritMerged openstack/senlin master: Fix cluster recovery and node recovery params  https://review.openstack.org/63681107:33
*** crownwin has quit IRC07:54
*** crownwin has joined #senlin07:54
crownwin@dtruong, I discovered these lines caused issue with my use case (https://github.com/openstack/senlin/blob/master/senlin/policies/lb_policy.py#L529-L535)08:37
crownwinmy use case, node must contain all its lb, which means that node_data.get('lb_member', None) return a array contain list of lbs instead of one lb_member.08:48
openstackgerritzhongshengping proposed openstack/senlin master: add python 3.7 unit test job  https://review.openstack.org/63774709:06
openstackgerritzhongshengping proposed openstack/python-senlinclient master: add python 3.7 unit test job  https://review.openstack.org/63775509:06
*** sapd1 has quit IRC09:09
*** sapd1 has joined #senlin09:22
*** crownwin has quit IRC10:57
*** crownwin has joined #senlin12:18
*** jmlowe has quit IRC13:41
*** jmlowe has joined #senlin14:07
*** crownwin has quit IRC14:21
*** jmlowe has quit IRC15:23
*** jmlowe has joined #senlin15:25
*** jmlowe has quit IRC15:34
*** jmlowe has joined #senlin15:45
*** jmlowe has quit IRC19:37
*** jmlowe has joined #senlin19:38
*** openstackgerrit has quit IRC20:09
*** openstackgerrit has joined #senlin20:45
openstackgerritDuc Truong proposed openstack/senlin master: [DNM] Trying out multiple lb policies  https://review.openstack.org/63800120:45
*** ChanServ sets mode: +v openstackgerrit20:46
dtruongcrownwin ^ Try out this patch.  It changes the node data to contain a map of lb_id to member_id.20:46
dtruongI did not test this patch set, so feel free to fix it if it does not work.20:47
*** jmlowe has quit IRC20:57
openstackgerritDuc Truong proposed openstack/senlin master: Fix node delete with lifecycle hook bug  https://review.openstack.org/63803522:47
*** jmlowe has joined #senlin23:40

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