Friday, 2018-06-29

*** fnaval has quit IRC00:17
*** abaindur has quit IRC00:25
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894200:33
*** longkb has joined #openstack-lbaas00:36
*** abaindur has joined #openstack-lbaas00:39
johnsomrm_work Thoughts on how this could happen? http://logs.openstack.org/54/549054/11/check/octavia-v2-dsvm-noop-api/f0cd44a/job-output.txt.gz#_2018-06-28_22_07_03_51339500:41
johnsomAh, I think we have a bug, we wait for the object to delete, but don't wait for the LB to go back ACTIVE00:50
*** abaindur has quit IRC00:57
*** abaindur has joined #openstack-lbaas01:05
*** johnnytan2885 has quit IRC01:19
*** abaindur has quit IRC01:26
*** abaindur has joined #openstack-lbaas01:26
*** abaindur has quit IRC01:31
bzhao__johnsom:  hi, have you done the udp test? :). For current lvs-nat, we need to open the ip_forward in lvs director.  Then we can access the VIP accross a neutron router. But I found the default amphora-haproxy didn't open it. Also another point about the allowed_address_pair of peer_port, as currently we support lvs-nat, the port need to pass the src IP which is the client IP to pass the port securtity(IP-mac). Whether01:42
bzhao__I have to plan to fix it,  anyway It's a huge issue I faced, as we need to force to let user to create the lb with customized vip_port..01:42
bzhao__johnsom:  sorry. Whether I have to plan to fix it?  anyway It's a huge issue I faced, as we need to force to let user to create the lb with customized vip_port..01:43
johnsombzhao__ I have been distracted working on a few other issues and have not got back to UDP yet. I was hoping to tomorrow.01:44
johnsomSo the NAT is not working correctly?01:44
bzhao__johnsom:  Thanks, never mind. I must to create  another allowed address pair which the ip is the udp client IP, then it can work.01:45
bzhao__on that peer port01:46
johnsomIs it ip_forward in the kernel settings for the amphora?01:46
johnsombzhao__ Hmmm, that does not make sense to me. We should not be creating another allowed address pairs port in neutron.01:46
bzhao__johnsom: yeah, I add it during each udp listener create, disable by the last udp listener delete.01:47
johnsombzhao__ Have you posted a patch with the code to add the ip_forward?  I want to look at the code to understand01:48
bzhao__johnsom:  as the lvs-nat, when it pass the lvs director, the traffic should be like  client ip:protocol port - real server ip: real server listened port, but the current allowed address pair is just a vip ip adress addition.01:49
bzhao__johnsom: https://review.openstack.org/#/c/529651/31/octavia/amphorae/backends/agent/api_server/keepalivedlvs.py @16501:51
johnsombzhao__ Ok, can you give me a few minutes to look at a few things?01:52
bzhao__johnsom: OK. Thanks.01:52
johnsombzhao__ Ok, sorry, I needed to refresh my memory on how I envisioned implementing this.  (it is late here, so a bit tired)02:28
johnsombzhao__ I think what we need to do is add a source NAT iptables rule in iptables for the UDP flow.02:29
bzhao__johnsom: Never mind, have a good sleep.   Yeah, good suggest,  just not sure whether we need to introduce some "terrible" things to amp instance to affect tcp cases. I will prefer to fix and test it today. Thanks, just have a good rest. :)02:35
johnsombzhao__ I think we should be able to make the iptables packet selection for masquerade limited to the UDP02:36
johnsombzhao__ The way the network namespace and HAProxy work is the source address is always the amphora subnet source address anyway.02:36
bzhao__johnsom:  Yeah, I agree. I know the masquerade rule need to snat it src IP from client IP to the eth nic ip.  Just not sure for tcp. :) . Thanks very much for explain and help.02:38
bzhao__johnsom:  Thank you, michael.02:39
johnsombzhao__ Something like "iptables -t nat -A POSTROUTING -o <member network interface> -p udp -j MASQUERADE"02:41
johnsombzhao__ Don't forget we need to make those persistent across reboots02:42
bzhao__johnsom:  Yeah. That's it.02:42
bzhao__johnsom:  yeah. store it into a iptables file. I think I can reference some part from neutron side. :). Make it better as i can.02:43
johnsombzhao__ Yes! You have it.  Ok, leave me a message here if there is some work I can pick up in the morning here.02:44
johnsombzhao__ I really want this to work for Rocky02:44
bzhao__johnsom:  OK, thanks, I really want too. :).  If any problems I hit, I will leave the comments for you. Wait for your back. :)02:46
*** ivve has joined #openstack-lbaas02:52
*** ramishra has joined #openstack-lbaas03:25
*** hongbin has joined #openstack-lbaas03:41
*** hongbin has quit IRC03:42
*** kobis has joined #openstack-lbaas04:23
*** abaindur has joined #openstack-lbaas04:24
*** kobis has quit IRC04:31
*** kobis has joined #openstack-lbaas04:32
*** kobis has quit IRC04:32
*** AlexeyAbashkin has joined #openstack-lbaas04:48
*** abaindur has quit IRC05:00
openstackgerritSwaminathan Vasudevan proposed openstack/neutron-lbaas master: neutron-lbaas haproxy agent prevent vif unplug when failover occurs  https://review.openstack.org/57896605:13
*** abaindur has joined #openstack-lbaas05:15
*** abaindur has quit IRC05:16
*** abaindur has joined #openstack-lbaas05:17
*** pcaruana has joined #openstack-lbaas05:20
*** AlexeyAbashkin has quit IRC05:51
rm_workjohnsom: ah yeah i thought i found and fixed most of those instances >_< guess I missed one05:54
*** AlexeyAbashkin has joined #openstack-lbaas06:01
*** Alexey_Abashkin has joined #openstack-lbaas06:13
*** AlexeyAbashkin has quit IRC06:15
*** Alexey_Abashkin is now known as AlexeyAbashkin06:15
*** AlexeyAbashkin has quit IRC06:33
*** abaindur has quit IRC06:36
*** sapd__ has joined #openstack-lbaas06:42
*** sapd_ has quit IRC06:42
*** sapd__ has quit IRC06:44
*** sapd__ has joined #openstack-lbaas06:45
*** annp has quit IRC06:51
*** sapd_ has joined #openstack-lbaas06:52
*** annp has joined #openstack-lbaas06:52
*** sapd__ has quit IRC06:54
*** annp has quit IRC06:57
*** kobis has joined #openstack-lbaas07:07
*** tesseract has joined #openstack-lbaas07:10
*** annp has joined #openstack-lbaas07:11
*** kobis has quit IRC07:16
*** ispp has joined #openstack-lbaas07:37
*** kobis has joined #openstack-lbaas07:49
*** kobis has quit IRC07:51
*** ispp has quit IRC07:55
*** ispp has joined #openstack-lbaas08:14
*** numans_ has joined #openstack-lbaas09:02
*** numans_ has quit IRC09:02
*** kobis has joined #openstack-lbaas10:05
*** ispp has quit IRC10:07
*** kobis has quit IRC10:13
*** kobis has joined #openstack-lbaas10:14
*** ispp has joined #openstack-lbaas10:19
*** kobis has quit IRC10:26
*** ispp has quit IRC10:34
*** ispp has joined #openstack-lbaas10:58
*** annp has quit IRC11:39
*** ispp has quit IRC11:43
*** ispp has joined #openstack-lbaas11:45
bzhao__johnsom: seems the lvs direct the traffic not based on iptables. 111:55
bzhao__johnsom: I can just accept the packets in nat PREROUTING chain.11:55
bzhao__johnsom: I will continue to test it and find out a way to solve the issue which need to change allow address pair of neutron port.11:57
bzhao__https://usercontent.irccloud-cdn.com/file/sEEoUMFa/image.png12:06
bzhao__sorry, the above picture is wrong.12:07
bzhao__https://usercontent.irccloud-cdn.com/file/o5kSgEsH/image.png12:07
bzhao__johnsom:  The above picture shows we can only get the traffic before into lvs. (22.22.22.2 is the client IP, 10.0.0.9 is the LB VIP).12:08
bzhao__johnsom:  lvs do the dnat to realserver itself.. :(12:09
*** kobis has joined #openstack-lbaas12:10
*** kobis has quit IRC12:14
*** rcernin has quit IRC12:29
*** longkb has quit IRC12:31
*** peereb has joined #openstack-lbaas12:46
*** openstackgerrit has quit IRC12:49
*** yamamoto has quit IRC12:57
*** ktibi has joined #openstack-lbaas13:06
*** amuller has joined #openstack-lbaas13:21
*** yamamoto has joined #openstack-lbaas13:26
*** LutzB has quit IRC13:55
*** ispp has quit IRC13:57
*** LutzB has joined #openstack-lbaas14:21
*** ispp has joined #openstack-lbaas14:29
*** ispp has quit IRC14:40
xgerman_bzhao__:  yes lvs does things differently…14:48
bzhao__xgerman_:  Thanks, german. But here, I have no idea to not change the peer port's allowed address pair, as the traffic won't change after pass through the lvs director. even the type is lvs-nat or lvs-dr..14:53
bzhao__The peer port must allow the client IP  as src ip to outgoing.. :(. Currently, the peer port just allow itselves fixed ip and vip to pass the port security chain..14:57
johnsombzhaoe__ I will work on this today. It's SNAT we need to add.15:02
bzhao__johnsom:  Thanks, michael.  :).  Is there any nice idea? Seems tc on the peer interface?15:09
johnsombzhao__ I think we just need a masquerade iptables run on the member network outbound ports.15:15
*** openstack has quit IRC15:22
*** openstack has joined #openstack-lbaas15:26
*** ChanServ sets mode: +o openstack15:26
*** openstackgerrit has joined #openstack-lbaas15:34
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894215:34
*** amuller has quit IRC15:38
*** tesseract has quit IRC15:42
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Add "wait for active" after object delete  https://review.openstack.org/57920515:56
*** hvhaugwitz has quit IRC16:09
*** mugsie has quit IRC16:09
*** zigo has quit IRC16:09
*** hvhaugwitz has joined #openstack-lbaas16:14
*** mugsie has joined #openstack-lbaas16:14
*** zigo has joined #openstack-lbaas16:14
*** bcafarel has quit IRC16:14
*** irenab has quit IRC16:16
*** irenab has joined #openstack-lbaas16:17
*** keithmnemonic[m] has quit IRC16:17
openstackgerritMichael Johnson proposed openstack/python-octaviaclient master: Fix missing docs command mapping for status show  https://review.openstack.org/57921416:22
*** ramishra has quit IRC16:30
openstackgerritMichael Johnson proposed openstack/octavia master: Re-enable KVM  https://review.openstack.org/57921516:33
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Re-enable KVM  https://review.openstack.org/57921616:34
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Re-enable KVM  https://review.openstack.org/57921716:36
*** pcaruana has quit IRC16:40
*** ktibi has quit IRC16:45
*** keithmnemonic[m] has joined #openstack-lbaas17:11
*** openstack has quit IRC17:11
*** openstack has joined #openstack-lbaas17:15
*** ChanServ sets mode: +o openstack17:15
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894217:58
*** kbyrne has quit IRC18:14
*** phuoc_ has quit IRC18:58
*** peereb has quit IRC19:07
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894219:37
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Add "wait for active" after object delete  https://review.openstack.org/57920520:17
*** yamamoto has quit IRC20:17
rm_workoh lol20:19
rm_workfound another place where a fix merged that i had already done in my L3 driver <_<20:19
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894220:24
openstackgerritAdam Harwell proposed openstack/octavia master: Experimental multi-az support  https://review.openstack.org/55896220:25
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: AZ Evacuation resource  https://review.openstack.org/55987320:25
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: Floating IP Network Driver (spans L3s)  https://review.openstack.org/43561220:25
openstackgerritMichael Johnson proposed openstack/octavia master: Fix failover when multiple amphora have failed  https://review.openstack.org/57734420:28
rm_worki wonder if there's a huge discernible difference ... https://review.openstack.org/#/c/435612/141..142/octavia/controller/worker/controller_worker.py20:42
rm_worki'd been running with "!= ALLOCATED"20:43
rm_workwhich ... i guess it wouldn't be on an LB in BOOTING, so that one doesn't matter20:43
rm_workbut mine would have left out ERROR20:43
*** yamamoto has joined #openstack-lbaas21:18
*** yamamoto has quit IRC21:22
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Neutron-LBaaS to Octavia migration tool  https://review.openstack.org/57894221:25
johnsomrm_work BTW, you don't need your zuul page javascript hack anymore21:25
rm_workoh nice21:26
rm_workthey added that?21:26
johnsommnaser hooked you up21:26
rm_worksweet21:26
mnaser\o/21:26
* rm_work cheers21:26
mnaserno more browser tabs destroyed21:26
xgerman_sweet21:26
openstackgerritMichael Johnson proposed openstack/octavia master: Move from platform.linux_distribution to distro.id  https://review.openstack.org/57928821:33
openstackgerritMerged openstack/octavia master: Re-enable KVM  https://review.openstack.org/57921523:56

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