*** zancas has joined #openstack-lbaas | 00:18 | |
*** prabampm has joined #openstack-lbaas | 00:24 | |
*** zancas has quit IRC | 00:31 | |
*** prabampm has joined #openstack-lbaas | 00:43 | |
*** prabampm has quit IRC | 00:50 | |
*** catintheroof has joined #openstack-lbaas | 00:55 | |
*** ducttape_ has joined #openstack-lbaas | 01:28 | |
*** ducttape_ has quit IRC | 01:33 | |
*** zancas has joined #openstack-lbaas | 02:28 | |
*** amit213 has quit IRC | 02:34 | |
*** amit213 has joined #openstack-lbaas | 02:34 | |
openstackgerrit | Yang Yu proposed openstack/neutron-lbaas: Fix no such option defined for service_auth https://review.openstack.org/293352 | 02:37 |
---|---|---|
*** mixos has quit IRC | 02:38 | |
*** minwang2 has joined #openstack-lbaas | 02:38 | |
*** zancas has quit IRC | 02:41 | |
*** minwang2 has quit IRC | 02:46 | |
*** minwang2 has joined #openstack-lbaas | 02:46 | |
*** minwang2 has quit IRC | 02:47 | |
*** minwang2 has joined #openstack-lbaas | 02:52 | |
*** minwang2 has quit IRC | 02:54 | |
*** minwang2 has joined #openstack-lbaas | 02:56 | |
*** amotoki has joined #openstack-lbaas | 03:07 | |
*** amotoki has quit IRC | 03:18 | |
*** ducttape_ has joined #openstack-lbaas | 03:29 | |
*** minwang2 has quit IRC | 03:32 | |
*** ducttape_ has quit IRC | 03:34 | |
*** amotoki has joined #openstack-lbaas | 03:40 | |
*** jaff_cheng has joined #openstack-lbaas | 03:43 | |
*** links has joined #openstack-lbaas | 03:44 | |
*** minwang2 has joined #openstack-lbaas | 03:45 | |
*** zancas has joined #openstack-lbaas | 03:48 | |
*** catintheroof has quit IRC | 03:56 | |
*** zancas has quit IRC | 04:01 | |
*** zancas has joined #openstack-lbaas | 04:15 | |
*** zancas has quit IRC | 04:28 | |
*** minwang2 has quit IRC | 04:31 | |
*** mixos has joined #openstack-lbaas | 04:34 | |
*** amotoki_ has joined #openstack-lbaas | 04:46 | |
*** amotoki has quit IRC | 04:49 | |
*** ducttape_ has joined #openstack-lbaas | 05:30 | |
*** ducttape_ has quit IRC | 05:34 | |
*** amotoki_ has quit IRC | 05:35 | |
*** rcernin has joined #openstack-lbaas | 05:40 | |
*** prabampm has joined #openstack-lbaas | 05:41 | |
*** amotoki has joined #openstack-lbaas | 05:51 | |
*** mixos has quit IRC | 06:03 | |
*** zancas has joined #openstack-lbaas | 06:25 | |
*** zancas has quit IRC | 06:39 | |
*** openstackgerrit has quit IRC | 06:47 | |
*** openstackgerrit has joined #openstack-lbaas | 06:48 | |
*** anilvenkata has joined #openstack-lbaas | 06:53 | |
*** tesseract has joined #openstack-lbaas | 07:01 | |
*** nmagnezi has joined #openstack-lbaas | 07:06 | |
*** ducttape_ has joined #openstack-lbaas | 07:31 | |
*** jschwarz has joined #openstack-lbaas | 07:33 | |
*** ducttape_ has quit IRC | 07:36 | |
openstackgerrit | hang cheng proposed openstack/neutron-lbaas: Add neutron-lbaas-dashboard devstack guide in README.md https://review.openstack.org/314007 | 07:39 |
*** dhlorenz has joined #openstack-lbaas | 07:44 | |
*** jschwarz has quit IRC | 07:54 | |
*** jschwarz has joined #openstack-lbaas | 08:00 | |
*** Alex_Stef has joined #openstack-lbaas | 08:02 | |
*** dhlorenz has quit IRC | 08:09 | |
*** dhlorenz has joined #openstack-lbaas | 08:14 | |
*** openstackgerrit has quit IRC | 08:17 | |
*** openstackgerrit has joined #openstack-lbaas | 08:18 | |
*** yuanying has quit IRC | 08:23 | |
*** zancas has joined #openstack-lbaas | 08:36 | |
*** numans has joined #openstack-lbaas | 08:43 | |
*** zancas has quit IRC | 08:49 | |
*** jaff_cheng has quit IRC | 09:15 | |
*** ducttape_ has joined #openstack-lbaas | 09:32 | |
*** ducttape_ has quit IRC | 09:36 | |
*** zancas has joined #openstack-lbaas | 10:46 | |
openstackgerrit | vikram.choudhary proposed openstack/neutron-lbaas: Using uniform alias for neutron-lib imports https://review.openstack.org/314046 | 10:49 |
openstackgerrit | vikram.choudhary proposed openstack/neutron-lbaas: Using uniform alias for neutron-lib imports https://review.openstack.org/314046 | 10:53 |
*** zancas has quit IRC | 11:00 | |
*** ducttape_ has joined #openstack-lbaas | 11:32 | |
*** amotoki has quit IRC | 11:36 | |
*** ducttape_ has quit IRC | 11:37 | |
*** rtheis has joined #openstack-lbaas | 11:42 | |
*** yamamoto has quit IRC | 11:44 | |
*** ducttape_ has joined #openstack-lbaas | 12:10 | |
*** ducttape_ has quit IRC | 12:21 | |
*** zancas has joined #openstack-lbaas | 12:29 | |
openstackgerrit | Evgeny Fedoruk proposed openstack/neutron-lbaas: Fixing tests to proper compare dicts. https://review.openstack.org/295847 | 12:36 |
*** dhlorenz has quit IRC | 12:50 | |
openstackgerrit | vikram.choudhary proposed openstack/neutron-lbaas: Using uniform alias for neutron-lib imports https://review.openstack.org/314046 | 12:56 |
*** links has quit IRC | 13:02 | |
*** matt-borland has joined #openstack-lbaas | 13:15 | |
*** amotoki has joined #openstack-lbaas | 13:17 | |
*** jschwarz has quit IRC | 13:26 | |
*** ducttape_ has joined #openstack-lbaas | 13:28 | |
*** mageshgv has joined #openstack-lbaas | 13:36 | |
*** nmagnezi has quit IRC | 13:46 | |
*** jschwarz has joined #openstack-lbaas | 13:52 | |
*** ducttape_ has quit IRC | 14:00 | |
*** catintheroof has joined #openstack-lbaas | 14:03 | |
*** piet has joined #openstack-lbaas | 14:04 | |
*** gongysh has joined #openstack-lbaas | 14:04 | |
*** minwang2 has joined #openstack-lbaas | 14:07 | |
*** links has joined #openstack-lbaas | 14:08 | |
*** links has quit IRC | 14:11 | |
*** gongysh has quit IRC | 14:11 | |
openstackgerrit | vikram.choudhary proposed openstack/neutron-lbaas: Using uniform alias for neutron/neutron-lib imports https://review.openstack.org/314046 | 14:34 |
*** amotoki has quit IRC | 14:34 | |
*** ducttape_ has joined #openstack-lbaas | 14:41 | |
*** woodster_ has joined #openstack-lbaas | 14:49 | |
*** TrevorV has joined #openstack-lbaas | 14:51 | |
*** minwang2 has quit IRC | 14:58 | |
*** sbalukoff has quit IRC | 15:01 | |
*** prabampm has quit IRC | 15:05 | |
*** jschwarz has quit IRC | 15:09 | |
*** dhlorenz has joined #openstack-lbaas | 15:13 | |
*** dhlorenz has quit IRC | 15:15 | |
*** dhlorenz has joined #openstack-lbaas | 15:18 | |
*** mixos has joined #openstack-lbaas | 15:24 | |
*** mixos_ has joined #openstack-lbaas | 15:24 | |
*** fnaval has joined #openstack-lbaas | 15:27 | |
*** mixos has quit IRC | 15:28 | |
*** zancas has quit IRC | 15:36 | |
*** dhlorenz has quit IRC | 15:39 | |
*** minwang2 has joined #openstack-lbaas | 15:40 | |
*** zancas has joined #openstack-lbaas | 15:47 | |
*** numans has quit IRC | 15:51 | |
*** armax has joined #openstack-lbaas | 15:56 | |
*** johnsom_ is now known as johnsom | 16:00 | |
*** tesseract has quit IRC | 16:01 | |
*** rcernin has quit IRC | 16:06 | |
*** piet has quit IRC | 16:13 | |
*** anilvenkata has quit IRC | 16:14 | |
*** mixos_ has quit IRC | 16:18 | |
*** ihrachys has joined #openstack-lbaas | 16:21 | |
*** rcernin has joined #openstack-lbaas | 16:37 | |
*** diogogmt has joined #openstack-lbaas | 16:38 | |
*** mixos has joined #openstack-lbaas | 16:43 | |
*** zancas has quit IRC | 16:44 | |
*** ihrachys has quit IRC | 16:54 | |
*** alhu has joined #openstack-lbaas | 16:55 | |
*** ihrachys has joined #openstack-lbaas | 16:56 | |
*** kevo has joined #openstack-lbaas | 16:57 | |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Update/Delete LB Admin Tests https://review.openstack.org/305525 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Update/Delete Listener Admin Tests https://review.openstack.org/306083 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Update/Delete Pools Admin Tests https://review.openstack.org/306182 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Admin Health Monitors Update Delete Tests https://review.openstack.org/306669 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Admin Member Update Delete Tests https://review.openstack.org/308091 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Listeners and Pools Protocol tests https://review.openstack.org/308718 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS: Listener and Member Port Tests https://review.openstack.org/309635 | 16:58 |
openstackgerrit | Franklin Naval proposed openstack/neutron-lbaas: Neutron-LBaaS v2: TLS Listeners Functional Tests https://review.openstack.org/304866 | 16:58 |
fnaval | it'd be awesome if I could get reviews on those once they pass gate. thanks in advance! ^^ | 16:59 |
blogan | yowzers! | 17:00 |
fnaval | thanks blogan!! | 17:14 |
fnaval | those were just rebases btw | 17:14 |
*** kobis has joined #openstack-lbaas | 17:35 | |
*** mixos has quit IRC | 17:39 | |
*** madhu_ak has joined #openstack-lbaas | 17:41 | |
*** harlowja has joined #openstack-lbaas | 17:48 | |
*** AnothrLundquist has joined #openstack-lbaas | 17:58 | |
*** ducttape_ has quit IRC | 18:13 | |
*** arjun has joined #openstack-lbaas | 18:15 | |
*** kobis has quit IRC | 18:15 | |
*** arjun is now known as Guest19311 | 18:16 | |
Guest19311 | Hi, see the following issue with LbaasV2 and using OpenvSwitch: - the internal tap interface created by the agent is NOT VLAN tagged. As result all traffic doesnt match the flow rules and gets dropped | 18:17 |
*** sbalukoff has joined #openstack-lbaas | 18:17 | |
Guest19311 | the DHCP agents and L3 Agents are properly creating their qg/qr and tap interfaces with tag. | 18:17 |
Guest19311 | if i manually use OVS to change the tag, for example "ovs-vsctl set port tap19c8b5b8-fd tag=15" then it works. | 18:18 |
Guest19311 | Is this a bug, or some lbaas setting i'm missing? | 18:18 |
*** nmagnezi has joined #openstack-lbaas | 18:20 | |
*** anilvenkata has joined #openstack-lbaas | 18:22 | |
*** ducttape_ has joined #openstack-lbaas | 18:26 | |
*** zancas has joined #openstack-lbaas | 18:28 | |
*** openstackgerrit has quit IRC | 18:33 | |
*** anilvenkata has quit IRC | 18:33 | |
*** openstackgerrit has joined #openstack-lbaas | 18:33 | |
*** zancas has quit IRC | 18:41 | |
blogan | Guest19311: I assume this is with the agent? | 18:46 |
*** ajo has quit IRC | 18:47 | |
*** AnothrLundquist has quit IRC | 18:47 | |
Guest19311 | yes, lbaasv2 agent | 18:47 |
Guest19311 | Should it not create the tap interface in the lbaas namespace with a tag? | 18:49 |
Guest19311 | (tag corresponding to the internal VLAN of whatever tenant subnet it is part of) | 18:49 |
Guest19311 | Otherwise it does not match any of the flow rules for br-int, converting from internal VLAN to tenant network VLAN and vice versa | 18:50 |
blogan | Guest19311: i'm not totally sure honestly. The agent hasn't received much attention since it got dropped as the reference implementation | 18:53 |
blogan | Guest19311: i don't know the historical context to know | 18:53 |
*** piet has joined #openstack-lbaas | 18:53 | |
*** AnothrLundquist has joined #openstack-lbaas | 19:05 | |
Guest19311 | ok.... wasnt aware the lbaas agent was deprecated | 19:06 |
*** zancas has joined #openstack-lbaas | 19:13 | |
blogan | Guest19311: hasn't been deprecated, just consider it a driver that needs a loving parent | 19:14 |
*** ihrachys has quit IRC | 19:15 | |
*** zancas has quit IRC | 19:28 | |
*** zancas has joined #openstack-lbaas | 19:32 | |
*** alhu has quit IRC | 19:34 | |
*** AnothrLundquist has quit IRC | 19:35 | |
*** alhu has joined #openstack-lbaas | 19:35 | |
*** AnothrLundquist has joined #openstack-lbaas | 19:36 | |
*** alhu has quit IRC | 19:38 | |
*** alhu has joined #openstack-lbaas | 19:39 | |
*** madhu_ak_ has joined #openstack-lbaas | 19:40 | |
*** madhu_ak has quit IRC | 19:42 | |
*** madhu_ak_ is now known as madhu_ak | 19:42 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/neutron-lbaas: Merge tag '8.1.0' https://review.openstack.org/314252 | 19:44 |
*** zancas has quit IRC | 19:46 | |
*** zancas has joined #openstack-lbaas | 19:55 | |
*** rcernin has quit IRC | 20:15 | |
*** nmagnezi has quit IRC | 20:23 | |
openstackgerrit | min wang proposed openstack/octavia: Add failover scenario test for octavia https://review.openstack.org/309625 | 20:31 |
*** zancas has quit IRC | 20:33 | |
*** zancas has joined #openstack-lbaas | 20:33 | |
*** Alex_Stef has quit IRC | 20:42 | |
*** Alex_Stef has joined #openstack-lbaas | 20:48 | |
*** BjoernT has joined #openstack-lbaas | 20:50 | |
*** nmagnezi has joined #openstack-lbaas | 20:56 | |
*** mageshgv has quit IRC | 21:03 | |
*** skape has joined #openstack-lbaas | 21:09 | |
skape | Hi guys! I need some HELP, with lbaas with haproxy as provider, i've installed the lbaas and created a loadbalancer everything looks OK but IP responds with error 503 | 21:11 |
johnsom | skape 503 means there are no members to respond to the request | 21:12 |
skape | there are members listed | 21:12 |
johnsom | Check that you have a pool and members defined, then check that the members are up on the port specified | 21:12 |
skape | [root@node1 ~(keystone_admin)]# ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.20 Server 1 ^C [root@node1 ~(keystone_admin)]# ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.16 <html><body><h1>503 Service Unavailable</h1> No server is available to handle this request. </body></html> [root@node1 ~(keystone_admin)]# neutron lbaas-member-list 288effc2-2bc8-4757-adb7-5374e6e7241f | 21:12 |
*** mageshgv has joined #openstack-lbaas | 21:12 | |
skape | ops it's unreadble | 21:12 |
skape | neutron lbaas-member-list 288effc2-2bc8-4757-adb7-5374e6e7241f | 21:13 |
skape | | 79e7f327-ed69-4a2d-af06-b94100edf0e5 | | 10.0.0.20 | 80 | 1 | e062e9db-63f5-4298-9c53-2aaad9d0519a | True | | 21:13 |
skape | | b55cc723-dd9c-4269-bcb8-36e026a5bfc6 | | 10.0.0.21 | 80 | 1 | e062e9db-63f5-4298-9c53-2aaad9d0519a | True | | 21:13 |
skape | | b773d40c-3ece-4ade-b9b6-831219ab52ff | | 10.0.0.23 | 80 | 1 | e062e9db-63f5-4298-9c53-2aaad9d0519a | True | | 21:13 |
skape | ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.20 | 21:14 |
skape | Server 1 | 21:14 |
skape | ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.16 ( IP OF Load Balancer ) | 21:15 |
Guest19311 | skape: i had issues too with connectivity to the VIP - was unable to even ping it from my qrouter or qdhcp namespaces | 21:15 |
Guest19311 | it turned out the internal OVS tap interface connecting to the lbaas namespace gets created without a tag | 21:15 |
Guest19311 | are you using the openvswitch or linuxbridge? | 21:15 |
skape | OVS | 21:15 |
Guest19311 | i had to manually do: "ovs-vsctl set port tap19c8b5b8-fd tag=2" | 21:16 |
Guest19311 | for example | 21:16 |
Guest19311 | where 2 corresponded to internal VLAN of the network it was on | 21:16 |
*** TrevorV has quit IRC | 21:16 | |
Guest19311 | and the tap was the tap interface in lbaas namespace | 21:16 |
Guest19311 | if you do an "ovs-vsctl show" in your network host, do you see a tag for it? the interface will be under br-int | 21:17 |
skape | how do I get the correct port ? | 21:18 |
Guest19311 | if you do "ip netns exec <lbaas-namespace> ifconfig" (or ip addr) | 21:19 |
Guest19311 | there should be just a loopback interface and 1 tap interface... | 21:19 |
*** matt-borland has quit IRC | 21:19 | |
Guest19311 | other issues I hit: creating loadbalancer/listener doesnt have option to set the security group. SO it got assigned to a default security group that didnt allow any incoming connections. I had to manually update the neutron port the loadbalancer was on, put it on a custom security group | 21:21 |
skape | there a tag | 21:21 |
skape | I created the security group | 21:22 |
skape | and set the port | 21:22 |
Guest19311 | did you do a neutron port-update and put the port the loadbalancer IP is on to that group | 21:22 |
Guest19311 | ok | 21:22 |
Guest19311 | i tried these steps for testing: https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun | 21:23 |
skape | yes | 21:23 |
*** rtheis has quit IRC | 21:23 | |
Guest19311 | starting w the Topology Setup and Validation | 21:23 |
Guest19311 | (ignore parts above about installation anbd Octavia) | 21:23 |
Guest19311 | also just confirm on your host that the lbaas-agent is indeed running, as is the haproxy process | 21:24 |
Guest19311 | ps ax | grep ... | 21:24 |
skape | I've done the same thing | 21:24 |
Guest19311 | aside from those 2 issues i hit, i also saw the controller portion looked fine. but agent or haproxy process has various tracebacks and wasnt actually running | 21:24 |
skape | if I run ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.20 ( IP OF 1 /3 test servers ) | 21:25 |
skape | I get the correct result | 21:25 |
skape | but if I run ip netns exec qlbaas-aad365df-00e2-428c-a371-84ea09956db0 curl 10.0.0.16 ( IP of the LOADBALANCER ) | 21:25 |
skape | I get a 503 | 21:25 |
Guest19311 | from your qrouter namespace or a qdhcp namespace, can you ping the loadbalancer IP? | 21:25 |
skape | one mom | 21:26 |
skape | yes I can ping the LB | 21:27 |
skape | from router and dhcp, also from instances in the same subnet | 21:28 |
skape | I've tried also to setup a healthmonitor | 21:30 |
*** zancas has quit IRC | 21:33 | |
skape | any other ideas what should I check ? | 21:38 |
blogan | skape: paste the haproxy config | 21:38 |
blogan | not in channel, in something like paste.openstack.org | 21:38 |
skape | I also checked both haproxy and agent | 21:38 |
skape | ok the /etc/neutron/lbagent.ini ?? | 21:39 |
*** zancas has joined #openstack-lbaas | 21:39 | |
blogan | skape: nope, the actual haproxy config that gets set on the agent host | 21:39 |
blogan | skape: there's a config option that you may or may not have overridden | 21:40 |
skape | I just installed haproxy with yum install haproxy . maybe we found the error | 21:40 |
skape | http://paste.openstack.org/show/496514/ | 21:42 |
blogan | skape: that's probably the default one that got installed with yum | 21:42 |
skape | the content of /etc/haproxy/haproxy.cfg | 21:42 |
blogan | if you do a ps | grep haproxy, you should your instance running | 21:43 |
skape | yes it is running | 21:43 |
blogan | and it should tell you the location of thec config file | 21:43 |
skape | I found it, learned something new | 21:44 |
skape | http://paste.openstack.org/show/496515/ | 21:44 |
skape | content from /var/lib/neutron/lbaas/v2/aad365df-00e2-428c-a371-84ea09956db0/haproxy.conf | 21:45 |
blogan | skape: there's the problem | 21:45 |
blogan | skape: haproxy config did not get the member's set | 21:45 |
skape | backend seems empty | 21:45 |
johnsom | Yep, missing members | 21:46 |
skape | ok I will try to reconfigure the members | 21:47 |
skape | http://paste.openstack.org/show/496517/ | 21:47 |
skape | why does neutron show the members ? | 21:48 |
Guest19311 | neutron info is from the DB on controller node | 21:57 |
johnsom | That is really strange. I'm not really sure how the haproxy configuration would have the frontend information (meaning at least some level of the agent is working) but only the database would be updated for members. | 21:57 |
Guest19311 | the haproxy and lbaas agent runs on the network host or remotely | 21:57 |
kong | hi, johnsom, if you have some time, please take a look at the namespace backport patch https://review.openstack.org/#/c/312276/ | 21:59 |
johnsom | Thanks kong. I want to give it a try, then I will vote. Currently I'm poking at the failover issue. | 22:00 |
skape | Hey it works now thank you very much learned a lot | 22:00 |
kong | johnsom: ok, thanks | 22:00 |
johnsom | I'm close on the failover issue, so shouldn't be too long. I really want to get that merged too | 22:01 |
*** catintheroof has quit IRC | 22:01 | |
skape | I'm using cirros and the nc does'nt closes the conection very fast so it's not perfect yet but I will test with real web servers it should work fine | 22:02 |
johnsom | failover is just giving me headaches with the namespace driver | 22:02 |
kong | johnsom :-) | 22:02 |
kong | johnsom: our operators started to build packages for octavia | 22:02 |
skape | THX Guest19311 johnsom blogan | 22:03 |
*** amotoki has joined #openstack-lbaas | 22:03 | |
*** mixos has joined #openstack-lbaas | 22:03 | |
johnsom | skape https://gist.github.com/johnsom/2b793472ed720716e0477dd3e166482e | 22:04 |
johnsom | ^^^ better cirros web server | 22:04 |
rm_work | i've actually stopped using actual VMs for the servers | 22:05 |
rm_work | easier to just launch two nc processes on the controller host and use those as the two members <_< | 22:06 |
johnsom | Yeah, you are probably right | 22:06 |
rm_work | fnaval: BTW if you want to fix the nc issue maybe look at johnsom's patch | 22:06 |
fnaval | hi rm_work - netcat issue? | 22:06 |
*** mageshgv has quit IRC | 22:06 | |
rm_work | fnaval: the issue you were having with the commands not finishing? | 22:07 |
rm_work | maybe easier to drop that script on there and run that | 22:07 |
rm_work | though .. actually i guess your issue was more of an ssh quirk probably than actually being nc's fault | 22:07 |
rm_work | i remember now | 22:07 |
fnaval | i think it was a paramiko issue but it seems to be not happening again with the latest | 22:07 |
fnaval | devstack rebuild | 22:07 |
johnsom | We did have an nc issue at one point, that is why we ended up with this. You can make it even simpler if you don't want the incrementing value | 22:08 |
johnsom | I used to just use -w 1, but this is better/faster | 22:08 |
skape | I don't think ssh as anything to do with it because a ran the nc while loop from console | 22:08 |
fnaval | interesting - that is good way to count connections; i may revise | 22:09 |
fnaval | i think was a paramiko issue with how it creates/closes ssh connections | 22:10 |
fnaval | johnsom: cool script - I'll see if I can incorporate that in base.py | 22:18 |
*** ducttape_ has quit IRC | 22:21 | |
rm_work | fnaval: ah, so maybe it is fixed and you don't need to use the custom ssh client? | 22:22 |
fnaval | rm_work: probably | 22:22 |
rm_work | that'd simplify stuff | 22:23 |
fnaval | i didn't make a custom one though | 22:23 |
rm_work | err well | 22:23 |
rm_work | the OpenSSH one | 22:23 |
fnaval | i just overrided the execute command of the tempest ssh client | 22:23 |
rm_work | yeah i saw | 22:23 |
fnaval | that made the hanging stop | 22:23 |
rm_work | just got through that part of your review | 22:23 |
skape | ok it's working great now !!!! the script is much better. | 22:29 |
skape | another issue how I enable the horizon loadbalancer interface | 22:29 |
skape | ??? | 22:29 |
*** piet has quit IRC | 22:30 | |
skape | I edited the file /etc/openstack-dashboard/local_settings and set enable_lb to true but no effect | 22:34 |
rm_work | fnaval: review posted -- i wasn't sure whether to +1 or -1 but I decided to err on the side of being pedantic :P | 22:35 |
fnaval | kk thanks for the review! | 22:36 |
rm_work | really it's just the SNI thing that bothers me | 22:36 |
*** AnothrLundquist has quit IRC | 22:36 | |
*** AnothrLundquist has joined #openstack-lbaas | 22:37 | |
*** skape has left #openstack-lbaas | 22:40 | |
*** BjoernT has quit IRC | 22:40 | |
*** nmagnezi has quit IRC | 22:41 | |
johnsom | skape https://pypi.python.org/pypi/neutron-lbaas-dashboard | 22:49 |
johnsom | There are some steps there required for the dashboard | 22:49 |
fnaval | rm_work: yes thank you for pointing that out. | 22:50 |
rm_work | lol, thanking me for being pedantic, that's a first :P | 22:50 |
fnaval | hmm. either I remove it or I add that functionality in | 22:50 |
fnaval | rm_work: i appreciate it because I saw that it was missing too but wanted someone to make sure | 22:50 |
rm_work | I think that could be a different test probably? | 22:51 |
fnaval | on an unrelated topic, how do I remove a defined seesion persistence from a pool? | 22:51 |
rm_work | fnaval: I think you set it explicitly to "NONE" | 22:51 |
fnaval | rm_work: yea probably will make a different test or another step | 22:51 |
johnsom | fnaval I think it's broken | 22:52 |
rm_work | sbalukoff had to do some crazy workaround because the neutron client was kinda dumb about nulling things | 22:52 |
rm_work | johnsom: oh is it? I thought sbalukoff had figured it out | 22:52 |
fnaval | i did it but I got this: https://gist.github.com/fnaval/bfcd8be0773098b2fec1acf02fb95bc4 | 22:52 |
rm_work | haven't been tracking tho | 22:52 |
fnaval | yeah, i don't think there's a way to remove session persistence johnsom | 22:52 |
johnsom | Yeah, but someone was trying this recently and we went through a ton of combinations with no success | 22:53 |
fnaval | thats why the session persistence scenario tests are faiing | 22:53 |
johnsom | https://bugs.launchpad.net/neutron/+bug/1577987 | 22:53 |
openstack | Launchpad bug 1577987 in neutron "neutron-lbaas v2 - update pool's session_persistence to None fails" [Undecided,New] - Assigned to Brandon Logan (brandon-logan) | 22:53 |
rm_work | hmmmm | 22:54 |
rm_work | is that actually on the neutron side or the octavia side? | 22:54 |
fnaval | ok added my notes to the bug also | 22:54 |
fnaval | neutron | 22:55 |
johnsom | Not sure. I looked a little and saw some changes related to neutron-lib on this code. Could be client side broken too | 22:55 |
fnaval | Im trying with empty string to see if that fails also | 22:55 |
*** mixos has quit IRC | 22:59 | |
*** mixos has joined #openstack-lbaas | 23:00 | |
*** mixos has quit IRC | 23:00 | |
blogan | that's assigned to me!??!?! | 23:00 |
blogan | damnit i must have missed that one | 23:01 |
blogan | i thought there was a fix for this | 23:02 |
*** diogogmt has quit IRC | 23:06 | |
blogan | https://review.openstack.org/#/c/287004/ | 23:07 |
blogan | oh that's not it | 23:07 |
blogan | nvm me | 23:07 |
* johnsom chuckles... | 23:08 | |
blogan | oh wait no that is it | 23:11 |
* blogan demands johnsom takes back his chuckle | 23:11 | |
* johnsom chuckles louder... | 23:12 | |
*** yuanying has joined #openstack-lbaas | 23:14 | |
blogan | even though that review says it fixes it, i'm not actually sure it does | 23:15 |
fnaval | hmm... thats a fix but it appears that iti didn't fix it? | 23:15 |
*** madhu_ak has quit IRC | 23:15 | |
blogan | well, if session_persistence isn't provided then it defaults to an empty dict, in which case anytime you do a pool update without SP it would get deleted anyway | 23:15 |
blogan | fnaval: but you're saying you can't delete it now? | 23:15 |
blogan | it always remains? | 23:16 |
fnaval | if set to None it gives the error that NONE is not in the list of valid types | 23:16 |
fnaval | i'm checking to see what happens if i set it to empty string | 23:16 |
blogan | well its json, did you try null? | 23:16 |
fnaval | https://gist.github.com/fnaval/bfcd8be0773098b2fec1acf02fb95bc4 | 23:16 |
blogan | what i mean is in the json do "session_persistence": null | 23:17 |
fnaval | yep | 23:18 |
fnaval | blogan: https://gist.github.com/fnaval/1f526c584be70abd77c1f3dd5dcb9d7d | 23:18 |
blogan | fnaval: nooo, set session_persistence to null | 23:18 |
blogan | not {"type": null} | 23:18 |
fnaval | oslo_serialization jsonutils.dumps take care of sanitizing the put request prior to making the client call | 23:18 |
blogan | "session_persistence": null | 23:18 |
fnaval | that fails too. one sec | 23:19 |
blogan | ok set "session_persistence": None | 23:19 |
blogan | in python | 23:19 |
johnsom | Stand on your head, rub your tummy, it must work somehow.... | 23:19 |
johnsom | I think it's just broken | 23:19 |
*** gongysh has joined #openstack-lbaas | 23:20 | |
fnaval | well, it times out | 23:22 |
fnaval | it doesn't remove the existing setting | 23:22 |
fnaval | by setting session_persistence: null | 23:22 |
blogan | what times out? | 23:22 |
blogan | the request? | 23:22 |
blogan | or the LB update? | 23:22 |
fnaval | so when we do the put we poll the pool to see if it changes | 23:22 |
fnaval | the type and cookie | 23:22 |
fnaval | but it never changes - default was 10 seconds, I upped it to 100 seconds and still the type and cookie name did not change | 23:23 |
blogan | well that should be a synchronous change | 23:24 |
blogan | you should see it immediately on the next GET request | 23:24 |
*** BjoernT has joined #openstack-lbaas | 23:24 | |
blogan | that review is missing a test for this | 23:25 |
blogan | so let me write a quick test see if i can see the problem | 23:25 |
blogan | there is atest for it | 23:26 |
fnaval | empty string also fails: Details: {u'message': u"Invalid input for session_persistence. Reason: '' is not in ('SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE').", u'detail': u'', u'type': u'HTTPBadRequest'} | 23:27 |
fnaval | yep theres a test | 23:27 |
blogan | yeah it wouldn't be doing anything with type | 23:27 |
fnaval | blogan: https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/tests/tempest/v2/scenario/test_session_persistence.py | 23:27 |
blogan | it should be just session_persistence: null | 23:27 |
blogan | fnaval: i mean a unit test | 23:27 |
fnaval | ah, ok let me test it | 23:27 |
blogan | i thought you just did | 23:28 |
*** zancas has quit IRC | 23:29 | |
*** BjoernT is now known as Bjoern_zZzZzZzZ | 23:30 | |
fnaval | retesting with session_persistence=None | 23:30 |
fnaval | ah so, in base.py we dont explictly set it, i think thats where the bug lies | 23:31 |
fnaval | https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/tests/tempest/v2/scenario/base.py#L569 | 23:31 |
fnaval | that should probably be: update_data={"session_persistence": None} | 23:31 |
fnaval | i'm testing that now | 23:31 |
blogan | yeah this unit test wouldn't fail if it didn't work | 23:32 |
blogan | at least at the api level | 23:32 |
blogan | i mean it would fail | 23:33 |
*** chlong has joined #openstack-lbaas | 23:33 | |
*** Bjoern_zZzZzZzZ is now known as BjoernT | 23:33 | |
blogan | fnaval: i updated the bug to Invalid, if you continue seeing it updaet the bug | 23:34 |
blogan | im going home now | 23:34 |
*** minwang2 has quit IRC | 23:36 | |
fnaval | kk thanks | 23:36 |
*** BjoernT has quit IRC | 23:38 | |
*** armax has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!