*** agrebennikov has quit IRC | 00:17 | |
*** mixos has joined #openstack-lbaas | 00:47 | |
*** kbyrne has quit IRC | 00:55 | |
*** rstarmer has quit IRC | 00:56 | |
*** kbyrne has joined #openstack-lbaas | 00:58 | |
*** sapd has joined #openstack-lbaas | 01:39 | |
*** JudeC has quit IRC | 01:49 | |
*** sanfern has quit IRC | 02:04 | |
*** sanfern has joined #openstack-lbaas | 02:06 | |
*** xuhaiwei has joined #openstack-lbaas | 02:16 | |
xuhaiwei | Hi, I am trying to install neutron-lbaasv2 in Ocata, I am following this document https://docs.openstack.org/ocata/networking-guide/config-lbaas.html , but i got this error Could not load neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver | 02:18 |
---|---|---|
xuhaiwei | I have not installed Octavia yet | 02:18 |
xuhaiwei | Any suggestion for how to install lbaasv2? | 02:19 |
*** sanfern has quit IRC | 02:37 | |
*** sanfern has joined #openstack-lbaas | 02:38 | |
*** sanfern has quit IRC | 02:38 | |
*** tomtomtom has quit IRC | 02:48 | |
*** aojea has joined #openstack-lbaas | 02:54 | |
*** aojea has quit IRC | 02:58 | |
*** bbbbzhao_ has quit IRC | 03:02 | |
*** links has joined #openstack-lbaas | 03:44 | |
*** kong has quit IRC | 03:48 | |
*** kong has joined #openstack-lbaas | 03:49 | |
*** sanfern has joined #openstack-lbaas | 03:53 | |
*** dayou has quit IRC | 03:58 | |
*** dayou has joined #openstack-lbaas | 04:02 | |
*** dayou has quit IRC | 04:06 | |
*** dayou has joined #openstack-lbaas | 04:21 | |
openstackgerrit | Jason Niesz proposed openstack/octavia master: blueprint: l3-active-active https://review.openstack.org/453005 | 04:45 |
*** armax has joined #openstack-lbaas | 04:59 | |
*** armax has quit IRC | 05:16 | |
*** armax has joined #openstack-lbaas | 05:21 | |
openstackgerrit | Jason Niesz proposed openstack/neutron-lbaas master: Fix logging for lb timeout operations https://review.openstack.org/504331 | 05:29 |
*** rstarmer has joined #openstack-lbaas | 05:29 | |
*** armax has quit IRC | 05:30 | |
*** armax has joined #openstack-lbaas | 05:31 | |
*** armax has quit IRC | 05:31 | |
*** csomerville has joined #openstack-lbaas | 05:55 | |
*** cody-somerville has quit IRC | 05:55 | |
*** rcernin has joined #openstack-lbaas | 06:07 | |
*** aojea has joined #openstack-lbaas | 06:12 | |
*** JudeC has joined #openstack-lbaas | 06:23 | |
*** ltomasbo has joined #openstack-lbaas | 06:27 | |
ltomasbo | hi johnsom | 06:34 |
johnsom | Hello | 06:35 |
ltomasbo | I saw your comment in https://review.openstack.org/#/c/501915/ | 06:35 |
johnsom | Yep, trying to catch up on a few reviews before sleep | 06:35 |
johnsom | PTG keeps you up late... grin | 06:35 |
ltomasbo | ahh, true, you are on the other side of the world! | 06:36 |
ltomasbo | no hurry then, we can discuss it next week! | 06:36 |
johnsom | Yeah, it's 12:30 at night here | 06:36 |
ltomasbo | I was just curious about the patch (due to me not knowing enough about octavia) | 06:36 |
johnsom | No, If it is quick let's chat while we are both here. | 06:36 |
johnsom | Ok, ask away | 06:36 |
ltomasbo | https://review.openstack.org/#/c/501915/2/octavia/amphorae/backends/agent/api_server/templates/plug_vip_ethX.conf.j2 | 06:37 |
ltomasbo | as I understand that | 06:37 |
ltomasbo | and based on the comment in L43 | 06:37 |
ltomasbo | that adds a routing table t oallow member to access the VIP | 06:37 |
ltomasbo | and that is executed inside the amphora-haproxy namespace, right? | 06:38 |
johnsom | Right, I am adding a new routing table and policy that forces traffic from the VIP address to go out the VIP network gateway. | 06:38 |
johnsom | Correct, it renders into a file used only inside the network namespace. /etc/netns/... | 06:38 |
ltomasbo | then, they are not inyected from neutron, or are they? | 06:39 |
ltomasbo | I though it is the amphora agent the one adding that | 06:39 |
ltomasbo | s/though/thought | 06:39 |
johnsom | The host routes section will only come in if the neutron subnet has special host routes defined. The host routes are injected into the namespace by neutron via the port info. | 06:40 |
ltomasbo | umm, ok | 06:40 |
johnsom | Yes, but you will see the amphora agent gets them from the neutron port info. | 06:40 |
johnsom | 99% of the time, you will not have those | 06:40 |
ltomasbo | then maybe that explains why if I execute those 3 commands by hand, it works, but not out of the box with this patch | 06:40 |
ltomasbo | perhaps I need to configure something extra | 06:41 |
johnsom | I don't understand how it should be three lines for you. The second route back to the vip address does not make sense to me. | 06:42 |
johnsom | FYI, host routes are documented here: https://developer.openstack.org/api-ref/network/v2/index.html#create-subnet | 06:42 |
johnsom | Very rare | 06:42 |
ltomasbo | thanks! I'll take a look | 06:42 |
johnsom | If you do a "openstack subnet show " on the VIP subnet I doubt you will have any host routes | 06:42 |
ltomasbo | is not my second line the one you have at L49? | 06:43 |
ltomasbo | ahh, I did not add it into the subnet | 06:43 |
ltomasbo | I add it directly into the amphora-haproxy namespace inside the amphora | 06:43 |
johnsom | That second line, the route back to the VIP address would create a loop of all traffic from VIP going back into the VIP address. | 06:43 |
*** rstarmer has quit IRC | 06:44 | |
johnsom | No L49 is only for host routes. The VIP address would never be in a host route. | 06:44 |
ltomasbo | ok, so it should be ok with just 1 and 3 in the namespace | 06:45 |
johnsom | Hott routes are used when a subnet has a non-advertised route to another subnet via an address other than the gateway. They are almost never used. In fact, I only know of one cloud that uses them. | 06:45 |
johnsom | Yes, my testing showed it working with just 1 and 3 | 06:45 |
ltomasbo | ok, nice | 06:45 |
*** pcaruana has joined #openstack-lbaas | 06:45 | |
ltomasbo | thanks for the explanation! | 06:46 |
johnsom | But, as I mentioned on the patch, since you had a problem I will setup the test environment again and try it again. | 06:46 |
ltomasbo | now I need to know why the onlink table1 is not created | 06:46 |
johnsom | But I can't do that while at the PTG. My laptop doesn't have the horse power for it. | 06:46 |
ltomasbo | sure, as I say, no hurry! | 06:46 |
johnsom | So, if you do "ip show table 1" you get no output/ | 06:47 |
johnsom | ? | 06:47 |
ltomasbo | you were already really fast answering at the bug, and creating an initial patch set! | 06:47 |
johnsom | Inside the network namespace of course | 06:47 |
johnsom | We try... grin | 06:47 |
johnsom | Is your amphora running ubuntu or centos/RHEL? | 06:48 |
ltomasbo | I don't have that env anymore, but I'll recreate it and double check | 06:48 |
johnsom | or debian? | 06:48 |
ltomasbo | but IIRC, there was no table1 | 06:48 |
ltomasbo | amphora is the default one (ubuntu) | 06:48 |
ltomasbo | my devstack host is centos | 06:48 |
johnsom | Then something went wrong or this code didn't get into the amphora image. After this patch is applied, you have to build a new amphora image and upload to glance. | 06:48 |
johnsom | Ok, yeah, I tested on ubuntu | 06:49 |
ltomasbo | umm | 06:49 |
johnsom | So, we tested the same distro for the amp | 06:49 |
ltomasbo | ok, then that could be it | 06:49 |
ltomasbo | though I download this patch before stacking, so I was expecting the buuild to be done automatically | 06:49 |
johnsom | Yeah, changes under octavia/amphorae/backends is loaded into the base image which means you have to build a new image to apply it | 06:50 |
ltomasbo | ok, so, perhaps there was already an image and devstack detect it and didn't re-build it, I'll check with a clean VM | 06:51 |
ltomasbo | I'll update the patch set info if it works! | 06:51 |
ltomasbo | thanks! | 06:51 |
johnsom | Yeah, before stacking make sure to delete the old qcow2 and rm -rf /opt/stack/.cache/image-create/source-repositories/amphora* | 06:51 |
johnsom | Sometimes devstack picks up the old image or a cached version of the amphora code | 06:52 |
ltomasbo | I'm going to create a new VM for the devstack deployment! so, it will be empty for sure! :D | 06:52 |
johnsom | Yep, could be it had old code. You can log into the amp and go to /opt/amphora (something like that under opt) and do a "git log" to confirm it has the patch loaded. | 06:53 |
johnsom | Cool, sounds good, let me know how it goes. | 06:53 |
johnsom | I think I will head to sleep. Good luck. | 06:54 |
ltomasbo | yep! time to go to sleep for you! I'm sure it was a loong day! | 06:54 |
ltomasbo | thanks for the help! | 06:54 |
*** dayou has quit IRC | 07:07 | |
*** apuimedo has joined #openstack-lbaas | 07:11 | |
*** dayou has joined #openstack-lbaas | 07:11 | |
*** gcheresh has joined #openstack-lbaas | 07:17 | |
*** gcheresh has quit IRC | 07:18 | |
xuhaiwei | ltomasbo: hi, are you there? | 07:26 |
ltomasbo | hi! yes! | 07:26 |
*** tesseract has joined #openstack-lbaas | 07:27 | |
*** gcheresh has joined #openstack-lbaas | 07:31 | |
ltomasbo | xuhaiwei, yep, I'm here | 07:38 |
xuhaiwei | ltomasbo: Can I ask you a question? I am installing lbaasv2, I got this error: Could not load neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver when starting the service | 07:41 |
xuhaiwei | I have configured lbaasv2 following https://docs.openstack.org/ocata/networking-guide/config-lbaas.html | 07:41 |
ltomasbo | umm | 07:43 |
ltomasbo | I'm no expert on lbaas | 07:43 |
ltomasbo | but what OpenStack version are you using? | 07:43 |
ltomasbo | seems like the service cannot be found, so maybe some misspelling there | 07:44 |
xuhaiwei | ocata version | 07:45 |
xuhaiwei | I have checked the source code, the "neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver" are existing, but can't be loaded | 07:45 |
ltomasbo | based on the documentation, you need to have this at neutron.conf: | 07:46 |
ltomasbo | service_plugins = [existing service plugins],neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2 | 07:46 |
ltomasbo | and this at the lbaas.conf: | 07:46 |
ltomasbo | service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default | 07:47 |
ltomasbo | did it work for the base example and stopped working after moving to the other one? | 07:47 |
xuhaiwei | Yes, both of these two are configured | 07:47 |
xuhaiwei | No, it never worked | 07:47 |
xuhaiwei | this is the first time I am trying lbaasv2 | 07:48 |
ltomasbo | why is it trying to use HaproxyNSDriver, instead of haproxyOnHostpluginDriver | 07:48 |
xuhaiwei | Because there is another configuration called "device_driver", the device_driver's default value is neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver | 07:51 |
*** gcheresh has quit IRC | 08:27 | |
*** mixos has quit IRC | 08:32 | |
*** xuhaiwei has quit IRC | 08:45 | |
openstackgerrit | Merged openstack/octavia master: Stop masking VIP allocate neutron errors https://review.openstack.org/500224 | 08:51 |
*** reedip has quit IRC | 08:57 | |
*** JudeC has quit IRC | 09:07 | |
*** reedip has joined #openstack-lbaas | 09:09 | |
*** salmankhan has joined #openstack-lbaas | 09:28 | |
*** aojea_ has joined #openstack-lbaas | 10:09 | |
*** aojea has quit IRC | 10:09 | |
*** sanfern has quit IRC | 10:45 | |
*** aojea has joined #openstack-lbaas | 10:46 | |
*** aojea_ has quit IRC | 10:47 | |
*** gcheresh has joined #openstack-lbaas | 11:03 | |
*** links has quit IRC | 11:41 | |
*** links has joined #openstack-lbaas | 11:55 | |
*** gcheresh has quit IRC | 11:55 | |
*** salmankhan has quit IRC | 12:07 | |
*** reedip has quit IRC | 12:12 | |
*** catintheroof has joined #openstack-lbaas | 12:22 | |
*** armax has joined #openstack-lbaas | 12:24 | |
*** sanfern has joined #openstack-lbaas | 12:26 | |
*** armax has quit IRC | 12:29 | |
*** links has quit IRC | 12:48 | |
*** sapd has quit IRC | 12:58 | |
*** chlong has joined #openstack-lbaas | 13:04 | |
*** links has joined #openstack-lbaas | 13:07 | |
*** sapd has joined #openstack-lbaas | 13:10 | |
*** salmankhan has joined #openstack-lbaas | 13:16 | |
*** armax has joined #openstack-lbaas | 13:25 | |
*** armax has quit IRC | 13:30 | |
*** leitan has joined #openstack-lbaas | 13:50 | |
*** leitan has quit IRC | 13:50 | |
*** leitan has joined #openstack-lbaas | 13:50 | |
*** Alex_Staf has joined #openstack-lbaas | 13:53 | |
*** KeithMnemonic has joined #openstack-lbaas | 13:55 | |
*** dayou has quit IRC | 14:02 | |
*** dayou has joined #openstack-lbaas | 14:02 | |
*** links has quit IRC | 14:10 | |
*** agrebennikov has joined #openstack-lbaas | 14:14 | |
*** Alex_Staf has quit IRC | 14:15 | |
*** armax has joined #openstack-lbaas | 14:20 | |
*** sanfern has quit IRC | 14:47 | |
*** sanfern has joined #openstack-lbaas | 14:48 | |
*** fnaval has joined #openstack-lbaas | 15:01 | |
openstackgerrit | Hengqing Hu proposed openstack/octavia master: Handle stopping the health manager and ejecting out of current health failovers https://review.openstack.org/462748 | 15:02 |
*** kbyrne has quit IRC | 15:03 | |
*** kbyrne has joined #openstack-lbaas | 15:06 | |
*** pcaruana has quit IRC | 15:24 | |
*** rcernin has quit IRC | 15:44 | |
*** Alex_Staf has joined #openstack-lbaas | 16:00 | |
*** mixos has joined #openstack-lbaas | 16:03 | |
*** links has joined #openstack-lbaas | 16:09 | |
*** Alex_Staf has quit IRC | 16:38 | |
*** Alex_Staf has joined #openstack-lbaas | 16:40 | |
*** Alex_Staf has quit IRC | 16:46 | |
openstackgerrit | Reedip proposed openstack/octavia master: Extend api to accept qos_policy_id https://review.openstack.org/458308 | 16:52 |
*** JudeC has joined #openstack-lbaas | 16:55 | |
openstackgerrit | Merged openstack/octavia master: Updated from global requirements https://review.openstack.org/502047 | 16:57 |
*** tesseract has quit IRC | 17:06 | |
*** jond_ has joined #openstack-lbaas | 17:10 | |
*** mixos has quit IRC | 17:10 | |
johnsom | https://www.irccloud.com/pastebin/i0ZtAz8y/ | 17:16 |
*** apuimedo has quit IRC | 17:19 | |
*** salmankhan has quit IRC | 17:25 | |
rm_work | m-greene: https://docs.google.com/forms/d/e/1FAIpQLSe5JMbtZEKB95AMVnyOBh4-7Y55hDgQChjg5Ed3auO74Tt2fQ/viewform | 17:27 |
*** apuimedo has joined #openstack-lbaas | 17:43 | |
*** links has quit IRC | 17:48 | |
*** salmankhan has joined #openstack-lbaas | 17:49 | |
*** sanfern has quit IRC | 17:50 | |
*** gcheresh has joined #openstack-lbaas | 18:13 | |
*** mixos has joined #openstack-lbaas | 18:16 | |
*** sshank has joined #openstack-lbaas | 18:41 | |
*** salmankhan has quit IRC | 18:56 | |
*** mixos has quit IRC | 18:58 | |
*** mixos has joined #openstack-lbaas | 19:01 | |
*** agrebennikov has quit IRC | 19:09 | |
*** sshank has quit IRC | 19:12 | |
*** gcheresh has quit IRC | 19:25 | |
*** salmankhan has joined #openstack-lbaas | 19:30 | |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Allow PUT to /pools/<id>/members to batch update members https://review.openstack.org/477034 | 19:48 |
*** mixos has quit IRC | 19:51 | |
Zara | johnsom: docs-feedback swap! so the other day I noticed when I was reading the intro (https://docs.openstack.org/octavia/latest/reference/introduction.html ) , for the section on the controller, it took me slightly longer to map the diagram to the text underneath because the headings were slightly different to the words in the orange boxes | 19:58 |
*** fnaval has quit IRC | 19:58 | |
Zara | eg: 'controller worker' vs 'octavia worker', 'api controller' vs 'octavia api' | 19:58 |
johnsom | Yes, true! | 19:59 |
Zara | small thing that I meant to bring up earlier but just remembered | 19:59 |
*** mixos has joined #openstack-lbaas | 20:17 | |
*** bbbbzhao_ has joined #openstack-lbaas | 20:18 | |
*** sshank has joined #openstack-lbaas | 20:19 | |
*** gcheresh has joined #openstack-lbaas | 20:22 | |
*** agrebennikov has joined #openstack-lbaas | 20:25 | |
*** fnaval has joined #openstack-lbaas | 20:32 | |
*** jond_ has quit IRC | 20:32 | |
*** fnaval has quit IRC | 20:32 | |
*** fnaval has joined #openstack-lbaas | 20:33 | |
johnsom | https://usercontent.irccloud-cdn.com/file/YVKPeeyz/DSC_4039.jpeg | 20:39 |
*** agrebennikov has quit IRC | 20:44 | |
*** salmankhan has quit IRC | 21:02 | |
*** salmankhan has joined #openstack-lbaas | 21:11 | |
*** gcheresh has quit IRC | 21:13 | |
johnsom | rm_work https://review.openstack.org/#/c/493646/1/octavia/hacking/checks.py | 21:17 |
*** salmankhan has quit IRC | 21:20 | |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Switch to using PKCS12 for TLS Term certs https://review.openstack.org/504175 | 21:20 |
*** catintheroof has quit IRC | 21:26 | |
*** leitan has quit IRC | 21:27 | |
*** salmankhan has joined #openstack-lbaas | 21:31 | |
*** salmankhan has quit IRC | 21:42 | |
*** salmankhan has joined #openstack-lbaas | 21:42 | |
*** aojea has quit IRC | 21:47 | |
*** mixos has quit IRC | 21:51 | |
*** sshank has quit IRC | 22:05 | |
*** sshank has joined #openstack-lbaas | 22:07 | |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Switch to using PKCS12 for TLS Term certs https://review.openstack.org/504175 | 22:22 |
*** sshank has quit IRC | 22:27 | |
*** salmankhan has quit IRC | 22:56 | |
*** mixos has joined #openstack-lbaas | 23:06 | |
*** mixos has quit IRC | 23:36 | |
*** salmankhan has joined #openstack-lbaas | 23:44 | |
*** JudeC has quit IRC | 23:53 | |
*** salmankhan has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!