Wednesday, 2019-06-19

openstackgerritMerged openstack/octavia stable/queens: Fix allocate_and_associate DB deadlock  https://review.opendev.org/66555800:00
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: Add octavia-v2-dsvm-scenario-ipv6 to check queue  https://review.opendev.org/59407800:42
*** mithilarun has joined #openstack-lbaas00:51
openstackgerritAdam Harwell proposed openstack/octavia master: ACTIVE-ACTIVE: Initial distributor data model  https://review.opendev.org/52885000:54
openstackgerritAdam Harwell proposed openstack/octavia master: ACTIVE-ACTIVE: Amphora driver updates  https://review.opendev.org/52919101:25
rm_workjohnsom: ok, rebased your two patches ^^01:38
rm_workand fixed some random stuff while i was there <_<01:38
rm_worknot much tho01:38
johnsomYeah, it was WIP for sure01:38
rm_workdo i need https://review.opendev.org/#/c/537842/12 also?01:39
johnsomNo01:40
rm_workor is that only for the walmart L3 method01:40
johnsomThat is only L301:40
rm_worki'm doing this tag: https://review.opendev.org/#/q/topic:active-active-with-distributor+(status:open+OR+status:merged)01:41
rm_workto clarify what i am working on01:41
rm_worksince these chains are all intermixed01:41
johnsomGood idea01:41
johnsomrm_work Do you remember how to add tables to this: https://github.com/openstack/octavia/blob/master/octavia/tests/functional/db/base.py#L3901:42
johnsomSuch that they are built in sqlite?01:42
johnsomI know I have run into this before with the brandon sqlalchemy voodoo01:42
rm_workuhh yeah hold on I JUST looked at this I think01:42
johnsomIt's not creating the vip table in sqlite aparently01:42
rm_workhmmmm01:43
rm_workactually those should just happen01:43
rm_worki was thinking of _seed_lookup_tables01:43
rm_workbut that's for data01:43
rm_workI think/01:43
rm_work?01:43
johnsomhttps://www.irccloud.com/pastebin/rTHHAelu/01:43
johnsomYeah, that is for data.01:44
rm_workhmm soooo01:44
rm_worktry running just that test again01:44
rm_worki ran into a weird thing where it said the load_balancer table was missing01:44
rm_workin the middle of a test suite run, for only one test01:44
rm_worki think SQLite is not threadsafe so much?01:44
rm_workso maybe the transition between test classes it's being rebuilt or something?01:44
johnsomYeah, something strange is happening, we have repo tests that use the VIP table.....01:45
rm_workall the tables should exist01:45
rm_workyes01:45
rm_workmy advice is "try again"01:45
johnsomok, so I'm doing something else wrong.01:45
johnsomProblem for another day. Catch you later01:46
rm_workkk, later :D01:46
*** mithilarun has quit IRC01:47
*** mithilarun has joined #openstack-lbaas01:47
*** mithilarun has quit IRC01:52
*** hongbin has joined #openstack-lbaas01:58
openstackgerritAdam Harwell proposed openstack/octavia master: Allow multiple VIPs per LB  https://review.opendev.org/66023902:13
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: fix plugging member subnets on existing networks  https://review.opendev.org/66540202:18
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: WIP: Test Additional VIPs  https://review.opendev.org/66446202:21
*** ricolin has joined #openstack-lbaas02:55
*** psachin has joined #openstack-lbaas03:32
*** psachin has quit IRC04:01
*** ramishra has joined #openstack-lbaas04:03
*** psachin has joined #openstack-lbaas04:03
*** hongbin has quit IRC04:25
*** gcheresh has joined #openstack-lbaas04:49
*** vishalmanchanda has joined #openstack-lbaas04:55
*** gcheresh has quit IRC05:02
*** gcheresh has joined #openstack-lbaas05:20
*** yamamoto_ has joined #openstack-lbaas05:24
*** yamamoto has quit IRC05:27
*** irclogbot_2 has quit IRC05:30
*** irclogbot_0 has joined #openstack-lbaas05:31
*** fnaval has quit IRC05:39
*** ricolin has quit IRC06:18
*** ricolin has joined #openstack-lbaas06:19
*** gthiemon1e has quit IRC06:27
*** threestrands has joined #openstack-lbaas06:27
*** gthiemonge has joined #openstack-lbaas06:27
*** gcheresh has quit IRC06:37
*** rcernin has quit IRC06:51
*** ccamposr has joined #openstack-lbaas06:53
*** gcheresh has joined #openstack-lbaas07:01
*** gcheresh has quit IRC07:02
*** rpittau|afk is now known as rpittau07:02
*** gcheresh has joined #openstack-lbaas07:03
*** luksky has joined #openstack-lbaas07:06
*** ivve has joined #openstack-lbaas07:07
*** luksky has quit IRC07:11
*** tesseract has joined #openstack-lbaas07:20
*** luksky has joined #openstack-lbaas07:23
*** yamamoto_ has quit IRC07:54
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: WIP: Test Additional VIPs  https://review.opendev.org/66446207:57
*** trident has quit IRC07:57
*** threestrands has quit IRC07:59
*** trident has joined #openstack-lbaas08:01
*** yamamoto has joined #openstack-lbaas08:18
*** pcaruana has quit IRC08:27
*** yboaron_ has joined #openstack-lbaas08:27
*** yamamoto has quit IRC08:29
*** yamamoto has joined #openstack-lbaas08:32
*** yamamoto has quit IRC08:32
*** pcaruana has joined #openstack-lbaas08:45
*** lemko has joined #openstack-lbaas09:02
*** luksky has quit IRC09:24
*** yamamoto has joined #openstack-lbaas09:48
*** yamamoto has quit IRC09:57
*** gcheresh_ has joined #openstack-lbaas09:57
*** gcheresh has quit IRC09:57
*** luksky has joined #openstack-lbaas10:07
*** rcernin has joined #openstack-lbaas10:18
*** yamamoto has joined #openstack-lbaas10:29
*** ccamposr__ has joined #openstack-lbaas10:38
*** ccamposr has quit IRC10:40
openstackgerritAnn Taraday proposed openstack/octavia master: Transition l7policy flows to dicts  https://review.opendev.org/66597710:48
*** gcheresh has joined #openstack-lbaas11:33
*** gcheresh_ has quit IRC11:33
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: WIP: Test Additional VIPs  https://review.opendev.org/66446211:38
*** yamamoto has quit IRC11:57
*** rcernin has quit IRC12:15
*** goldyfruit has quit IRC12:25
*** yamamoto has joined #openstack-lbaas12:41
openstackgerritAnn Taraday proposed openstack/octavia master: [WIP] Convert pool flows to use dicts  https://review.opendev.org/66538112:44
openstackgerritElod Illes proposed openstack/neutron-lbaas stable/stein: neutron-lbaas haproxy agent prevent vif unplug when failover occurs  https://review.opendev.org/66628012:54
lukskyhello, I have following error during creation of loadbalancer: 2019-06-19 15:07:30.827 2525 DEBUG neutronclient.v2_0.client [req-c749b070-7fea-4e13-a8ed-f6e941ea0f63 - 2037dd6132e348749e830b89af87df7d - default default] Error message: {"message": "The resource could not be found.<br /><br />\nExtension with alias qos does not exist\n\n", "code": "404 Not Found", "title": "Not Found"} _handle_fault_response /usr/local/lib/python2.7/dist-packages/neu13:10
lukskytronclient/v2_0/client.py:25913:10
lukskywhat does it mean ?13:10
cgoncalvesluksky, it is not an error message. Octavia checks if QoS is enabled in Neutron and based on that makes decisions on what to configure or skip13:15
lukskyok, so nothing to worry about ?13:16
cgoncalvesin your case, QoS is not enabled. actions like setting a QoS policy on the VIP will not work and Octavia will tell you so13:16
cgoncalvesyes13:16
lukskyok, thx13:16
openstackgerritAnn Taraday proposed openstack/octavia master: [WIP] Convert pool flows to use dicts  https://review.opendev.org/66538113:22
*** goldyfruit has joined #openstack-lbaas13:26
*** lemko has quit IRC13:32
lukskyone more question:13:50
luksky2019-06-19 15:49:37.991 1666 DEBUG octavia.controller.worker.amphora_rate_limit [-] Available build slots 0 has_build_slot /usr/local/lib/python2.7/dist-packages/octavia/controller/worker/amphora_rate_limit.py:5213:50
lukskyI'm trying to build LB, but nothing happen13:50
lukskyget only this line: 2019-06-19 15:49:21.026 1663 INFO octavia.api.v2.controllers.load_balancer [req-ee512b75-d1ec-4f16-a7cd-e7c277062d3e - 2037dd6132e348749e830b89af87df7d - default default] Sending created Load Balancer 9518ef5c-c078-4373-b048-cbf4aff4d01f to the handler13:51
lukskyand nothing more is happening13:51
johnsomluksky That is a debug message that has no impact on the build. It's just saying it got a build slot from the rate limiting which probably means you have rate limiting disabled13:51
johnsomluksky Is your controller worker process running?13:52
lukskyyes13:52
luksky[root@octavia-01 ~]# systemctl status octavia-worker.service13:52
luksky* octavia-worker.service - OpenStack Octavia Worker service13:52
luksky   Loaded: loaded (/lib/systemd/system/octavia-worker.service; enabled; vendor preset: enabled)13:52
luksky   Active: active (running) since Wed 2019-06-19 15:47:53 CEST; 4min 26s ago13:52
luksky Main PID: 1679 (octavia-worker:)13:52
luksky   CGroup: /system.slice/octavia-worker.service13:52
luksky           |-1679 octavia-worker: master process [/usr/local/bin/octavia-worker --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/worker.log13:52
luksky           |-1696 octavia-worker: ConsumerService worker(0)13:52
luksky           `-1698 octavia-worker: ConsumerService worker(1)13:52
johnsomCheck the log from that process, it is the one that will get that message from the API and run it13:52
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.720 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.ca_certificates_file   = None log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.725 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.endpoint               = None log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.728 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.endpoint_type          = internalURL log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1696]: 2019-06-19 15:47:58.728 1696 INFO octavia.controller.queue.consumer [-] Starting consumer...13:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.730 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.insecure               = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.741 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.region_name            = None log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.741 1698 DEBUG cotyledon.oslo_config_glue [-] neutron.service_name           = neutron log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258513:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.742 1698 DEBUG cotyledon.oslo_config_glue [-] ******************************************************************************** log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:258713:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.749 1698 DEBUG cotyledon._service [-] Run service ConsumerService(1) [1698] wait_forever /usr/local/lib/python2.7/dist-packages/cotyledon/_service.py:24113:53
lukskyJun 19 15:47:58 octavia-01 octavia-worker[1698]: 2019-06-19 15:47:58.760 1698 INFO octavia.controller.queue.consumer [-] Starting consumer...13:53
luksky2019-06-19 15:47:58.760 1698 INFO octavia.controller.queue.consumer [-] Starting consumer...13:53
lukskythis last line13:53
lukskyand nothing more13:53
johnsomOk, so your rabbit queue (oslo messaging) is not working. The controller-worker didn't get the message from the API process. I sould check you transport and queue configuration in both of the two processes.13:54
lukskyok, will check13:54
*** yboaron_ has quit IRC14:22
*** ivve has quit IRC14:23
*** fnaval has joined #openstack-lbaas14:37
*** gcheresh has quit IRC14:46
*** luksky has quit IRC14:50
zigoHi there! We current have so far been running Octavia in SINGLE mode, and want to migrate our load balancers to ACTIVE_STANDBY. These load balancers are in production, unfortunately, but I guess some short down time is acceptable. What's the procedure ? Will I have to re-create my load balancers?14:54
johnsomzigo The official answer is you have to re-create them as we have no tested procedure for migrating them, nor an RFE for adding a method to do so.14:55
johnsomIn other words, you are on your own on that and let us know if you figure out how to make it work. grin14:56
zigojohnsom: Is it fine to reconfigure Octavia to ACTIVE_STANDBY, then delete the load balancer, and recreate them?14:56
zigoI wont attempt migration ...14:58
zigojohnsom: It's a shame the switch is on octavia.conf, and not as an attribute for balancers.14:58
johnsomzigo Yes, that should be fine. If you have Stein deployed you can create flavors and have a mix in your deployment14:58
zigojohnsom: We're running Rocky.14:58
johnsomzigo Yeah, sorry, we added that feature in Stein.14:59
zigoBecause my colleagues fear too much running Buster in production until it's released on the 6th of July, and I've packaged Stein only for Buster...14:59
zigojohnsom: Packaging for both Stretch and Buster would have been too much work ... :P15:00
*** Vorrtex has joined #openstack-lbaas15:12
*** yamamoto has quit IRC15:15
openstackgerritjacky06 proposed openstack/octavia-tempest-plugin master: Sync Sphinx requirement  https://review.opendev.org/66631615:26
rm_work#startmeeting Octavia16:00
openstackMeeting started Wed Jun 19 16:00:02 2019 UTC and is due to finish in 60 minutes.  The chair is rm_work. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
*** openstack changes topic to " (Meeting topic: Octavia)"16:00
openstackThe meeting name has been set to 'octavia'16:00
cgoncalveso/16:00
rm_worko/16:00
gthiemongeo/16:00
johnsomo/16:00
*** ataraday_ has joined #openstack-lbaas16:00
rm_work#topic Announcements16:01
*** openstack changes topic to "Announcements (Meeting topic: Octavia)"16:01
rm_workSo, the TC has decided to stop tracking the health of project teams16:02
rm_work#link http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007085.html16:02
rm_workSo... I guess no more worrying about that16:02
johnsomYeah, probably for the best. It was a strange process anyway.16:02
cgoncalvesthis is what it looked like before for Octavia16:02
cgoncalves#link https://wiki.openstack.org/w/index.php?title=OpenStack_health_tracker&direction=prev&oldid=170660#Octavia16:02
johnsomYeah, the paraphrasing was, interesting16:03
johnsomI think they only did that once anyway.16:03
rm_workAny other announcements?16:05
johnsomShanghai call for papers is open and end in less than a month.16:05
johnsomdeadline: July 2, 2019 at 11:59pm PT16:06
rm_workAh yes. I'm not sure what we want to submit this time.16:06
johnsom#link http://cfp.openstack.org/?_ga=2.124047753.2032053596.1560783728-1706076231.155750945016:06
rm_workI'm aiming to go -- who else is?16:06
cgoncalvesdulek and I submitted a proposal today on kuryr and octavia16:07
johnsomI am planning to not attend in person, but could be available virtual.16:07
rm_workok, so cgoncalves you will be there?]16:07
johnsomHappy to help folks with slides too16:07
cgoncalvesrm_work, I have no idea16:08
rm_workThen we could maybe do one of the normal presentations... if we think it's useful16:08
rm_workah, hmmm16:08
rm_workwell, ok16:08
cgoncalveshaving a session helps but does not guarantee a lottery ticket16:08
johnsomIt would be great if we can do the project update at least.16:08
rm_workheh16:08
rm_workyeah but that isn't part of the CFP16:08
rm_workI am planning to do that16:09
johnsomCorrect, you as PTL should get an e-mail about the project update sessions16:09
rm_workso maybe we're good enough with just that and onboarding, which they said will be part of the PTG side this time16:09
rm_workalright, is that it for announcements?16:10
*** rpittau is now known as rpittau|afk16:10
*** ramishra has quit IRC16:11
rm_workok16:11
rm_work#topic Brief progress reports / bugs needing review16:11
*** openstack changes topic to "Brief progress reports / bugs needing review (Meeting topic: Octavia)"16:11
ataraday_I started a couple of new transition to dicts changes, and review needed for #link https://review.opendev.org/#/c/662791/ and #link https://review.opendev.org/#/c/659538/16:12
johnsomLog offloading is done and merged. I still want to see if I can get creative with a tempest test for that.16:12
rm_workI've been working on multiple things recently, the biggest of which is MultiVIP support, which could use reviews: https://review.opendev.org/#/c/660239/16:12
rm_work#link https://review.opendev.org/#/c/660239/16:12
johnsomCurrently I'm working on some octavia-lib enhancements and a functional test for the driver-agent.16:12
gthiemongeI have some changes related to UDP LB that need reviews: https://review.opendev.org/#/q/status:open+project:openstack/octavia+branch:master+topic:udp_states16:13
rm_workAlso working on some changes to the member subnet plugging calculations/handling, to resolve issues plugging additional subnets on the same network16:13
rm_work#link https://review.opendev.org/#/c/665402/16:13
johnsomI have also put up some patches removing references to neutron-lbaas from the neutron and neutron-lib repos.16:14
cgoncalvesI resumed work on the VIP ACL RFE side but progresses slowly. the octavia-lib patch is ready for review16:15
johnsomAnd finally, I did a PoC switching ubutnu over to the -kvm kernel for the image buids. It saves ~200MB in space for the image by removing a bunch of kernel modules we don't need. I have some cleanup to do in DIB for that, but look for that soon.16:15
cgoncalves#link https://review.opendev.org/#/q/topic:vip-acl16:15
johnsomSo comparing the old kernel to the new, size: 605397504 vs 393244160 according to glance16:16
cgoncalvesthe active-standby tempest scenario patch merged. I have to go now enable the jobs also in octavia16:16
johnsom-rw-r--r--  1 stack stack 376M Jun 17 18:59 amphora-x64-haproxy.qcow2.kvm16:16
johnsom-rw-r--r--  1 stack stack 578M Jun 11 17:18 amphora-x64-haproxy.qcow2.orig16:16
rm_worknoice, now just need to make centos not huge :D16:17
* johnsom hold my coffee16:17
rm_workOk, cool, lots of work going on16:18
cgoncalvesah, I also propose an octavia-tempest-plugin tag release: https://review.opendev.org/#/c/666037/16:18
rm_workAh, before Open Discussion, I think gthiemonge did have a topic? Guess it wasn't added to the agenda page16:19
rm_workgthiemonge: i forgot what exactly it was, hopefully you remember :D16:19
gthiemongeoh yes, we were talking about UDB LB that mixes IPv4 and IPv616:20
gthiemongeUDP16:20
gthiemongecurrently, we can create a such LB with members, but keepalived keeps crashing because it doesn't support mixing IPv4/IPV616:20
johnsomAh, yeah, so LVS doesn't/didn't support mixing the VIP and member protocol versions.16:20
gthiemongeso we want to find a good way to handle this16:21
johnsomI thought there was a check in the API that blocked it....  Maybe that was missed.16:21
rm_workYeah... so... do we try to validate the members that are added?16:21
rm_workIs that the right approach?16:21
rm_workand how does that work with multivip? if you have both ipv4 and ipv6... do you allow both kinds of members, but only add the ones that match the address-family for each individual vip?16:22
rm_workthat could be confusing16:22
rm_worklike if you add three members, 2x IPv4 and 1x IPv6, the IPv4 VIP would balance between two of them, and the IPv6 VIP would go directly to one16:23
rm_workseems like it's very non-intuitive16:24
johnsomThere might be a way to make it work. Someone should spend some quality time with the keepalived bug list on github and see if there is a fix or workaround.16:24
rm_workwell, I don't know if it is literally possible to route UDP cross-family16:24
johnsomSure, it's just the IP wrapper that needs NAT really16:25
rm_workcan LVS do the necessary packet work?16:25
johnsomI don't know. Like I said, you may be able to work around it with some iptables NAT rules.16:26
rm_workhmm16:26
rm_workk, need some help probably from someone who understands the low level networking aspects of this better than I do :)16:27
johnsomI know at the time of the UDP work it was identified as a problem, so we did a release note about it. But I don't think it was investigated at all16:27
johnsomI'm seeing some comments that this was fixed in the kernel. So, maybe needs a re-test  or test for that matter.16:28
johnsom#link https://github.com/acassen/keepalived/issues/87616:28
rm_workk16:28
rm_workyep, seems like it should work16:31
gthiemongeI will test it16:31
rm_workso, ok. just need to fix that. I wonder if moving to a new enough keepalived will be difficult16:31
rm_workor kernel... is cent7 still on 2.6.x?16:31
johnsomThank you gthiemonge. We should be able to solve it one way or another.16:32
rm_workor did they get to 3.x yet16:32
johnsomPretty sure it's 3.x16:33
johnsomLet's check the log offload.... grin16:33
cgoncalvesfully loaded with feature backports, I must add16:33
rm_workneed at least 3.1816:34
johnsomLinux version 3.10.0-957.21.2.el7.x86_6416:34
rm_workalso i was joking but i guess maybe it still is that old, rofl16:34
* rm_work dies16:34
johnsomYeah, but it's hard to say if that feature was backported16:34
johnsom#link http://logs.openstack.org/29/665029/3/check/octavia-v2-dsvm-py2-scenario-centos-7/735918f/controller/logs/octavia-amphora_log.txt.gz#_Jun_19_00_28_2616:34
rm_workrofl ok, so yes, actually ancient16:35
cgoncalvesif not, we could try to check with the kernel team if it's possible16:35
rm_workcan we immediately drop cent7 support once cent8 is ready? >_>16:35
cgoncalvesyes IMO16:35
rm_worki guess we can check for HAVE_DECL_IPVS_DEST_ATTR_ADDR_FAMILY16:35
rm_workin keepalived/check/libipvs.c16:36
cgoncalvesour commercial Stein-based product will be fully on RHEL 816:36
rm_workerr or is it in the kernel's configure.ac16:36
rm_workwell anyway yeah, we can check16:36
rm_workubuntu should be on 4.x so no issues right16:37
rm_workand keepalived version 1.4.5+ probably16:37
johnsomLinux version 4.4.0-151-generic16:37
rm_workhmm no16:37
rm_workbionic even still has 1.3.916:37
rm_workdisco as 2.0 ....16:38
rm_workeven cosmic is still 1.3.916:38
rm_workthat's problematic16:38
rm_worki wonder if it can be backported16:38
johnsomkeepalived amd64 1:1.3.9-1ubuntu0.18.04.216:39
johnsomAgain, hard to say on what they pulled back, etc.16:39
rm_workyeah gross16:39
rm_worki mean16:39
johnsomWe are just too cutting edge... lol16:40
rm_worki don't think they would have backported a ton of features from 1.4.x right? wouldn't they just... RUN 1.4.x in that case?16:40
rm_workanywho, we can work this out16:40
rm_work#topic Open Discussion16:41
*** openstack changes topic to "Open Discussion (Meeting topic: Octavia)"16:41
johnsomI gave up trying to guess that stuff a long time ago16:41
johnsomJust a quick qeustion. For the driver-agent functional tests, I need to create real files on the filesystem. I'm currently generating unique files in /tmp for that. Is that the right approach?16:43
colin-are their contents meaningful?16:43
johnsomI need to open the Unix domain sockets and create a DB file for sqlite.16:43
johnsomThe test has a cleanup hook to remove them16:43
johnsomBasically they are the live driver agent sockets the tests will use. We will be firing up a driver-agent, without the full devstack for the functional tests.16:44
cgoncalvesI think that is fine16:45
johnsomThey are all uuid'd so they won't conflict with others running the same tests, etc.16:45
colin-i would do it in /tmp, too16:46
johnsomCool, I thought so, just thought I would ask. I should have something posted for review today on that.16:46
*** ricolin has quit IRC16:48
colin-do you folks think there is anything in the 2.0 release of haproxy that we should especially be looking forward to? most of what i'm interested in is outside the scope of octavia (prometheus scraping, for example)16:49
johnsomI'm excited about the HTTP/2 work personally.16:50
rm_workfyi looks like newer keepalived is needed for other reasons in bionic: https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/181907416:50
openstackLaunchpad bug 1819074 in systemd (Ubuntu) "Keepalived < 2.0.x in Ubuntu 18.04 LTS not compatible with systemd-networkd" [Undecided,Confirmed]16:50
rm_workso... it could happen16:50
colin-good point johnsom more streaming and fewer conn brokering is always a good thing16:51
johnsomYeah, they have backported newer versions of haproxy for us in the past. Just need to request it on launchpad and reference the version in a newer release.16:51
rm_workyes, 2.0 looks quite good actually16:51
rm_workalso the dataplane api will be interesting16:51
rm_workI made this "question" but not sure if it should just be a bug: https://answers.launchpad.net/ubuntu/+source/keepalived/+question/68149016:52
johnsomcolin- The challenge we have is that the distros won't have 2.0 for a while, so it's a decision if we want to do things that require custom built images...16:52
johnsomrm_work In the past I have just opened a backport request bug.16:52
rm_work2.1 will bring UDP loadbalancing to haproxy :D16:52
colin-ah, i see yeah16:52
johnsomI think they have a process16:52
rm_workbut yeah, a couple new protocols will be nice, http2 especially16:54
johnsomWe had a topic about that at the last PTG. Even 1.9 brings some really useful stuff like fully functional threading.16:54
rm_worki wonder if we could just maintain an octavia packages repo <_<16:54
rm_workfor haproxy and keepalived16:55
rm_worklol16:55
johnsomAnd the kernel... Oh, wait.16:55
johnsomI think we just need to come up with a strategy of how we handle such things and document it.16:56
rm_worki mean it'd be possible with periodics16:56
rm_workwe could build them in-gate and upload them to the openstack artifact store16:56
rm_workor our own PPA16:56
johnsomFor example, if someone asks for HTTP/2 via the API but the amp we get doesn't have a compatible version of HAproxy.16:56
johnsomWe can detect that, but do we just ERROR out the object? Ignore the setting and fall back to HTTP 1.1, etc.16:57
rm_workprobably safe-fallback strategies16:57
rm_workor the admin configures which protocols are available16:58
rm_workbased on the amp version they run16:58
cgoncalvesERROR out at API with a suggestion to an alternative (fall back to HTTP 1.1)16:58
johnsomHow would they know?16:58
rm_workcgoncalves: API can't know16:58
rm_workunless admin configures it16:58
cgoncalvesah, right16:58
johnsomRight, things to think about. We can continue the discussion next week.16:59
rm_workyep, good meeting everyone16:59
cgoncalves+116:59
rm_work#endmeeting16:59
*** openstack changes topic to "Discussions for OpenStack Octavia | Train PTG etherpad: https://etherpad.openstack.org/p/octavia-train-ptg"16:59
openstackMeeting ended Wed Jun 19 16:59:31 2019 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:59
openstackMinutes:        http://eavesdrop.openstack.org/meetings/octavia/2019/octavia.2019-06-19-16.00.html16:59
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/octavia/2019/octavia.2019-06-19-16.00.txt16:59
openstackLog:            http://eavesdrop.openstack.org/meetings/octavia/2019/octavia.2019-06-19-16.00.log.html16:59
rm_workOh, I forgot to mention I'm about to be working on Active-Active16:59
rm_workah well17:00
colin-\o/17:00
colin-i'll rejoice17:00
johnsomFlavors might be a way to solve this too.17:00
emccormickCan anyone think of a reason why octavia-api would report SubnetNotFound when it definitely exists?17:00
colin-does it behave that way with both the UUID and name?17:01
emccormickit's actually managing to translate name to id and then reporting the ID as not found.17:01
emccormickit does17:01
emccormickand I can see Neutron Server returning a 200 to the query at least17:01
rm_workcolin-: if you want to mention the multi-vip stuff to the senlin folks... would maybe be useful to have senlin make LBs that can do ipv4 and ipv6 because right now it can't17:01
johnsomIs the subnet visible to the right account/project?17:01
*** trident has quit IRC17:02
colin-will do, good idea17:02
emccormickI'm creating the loadbalancer with a --project the same as the one the subnet is in...17:02
emccormicklet me double check user permissions there17:02
*** trident has joined #openstack-lbaas17:04
emccormickThe user creating the loadbalancer is admin, load-balancer-admin, and _member_ in the project17:05
rm_worki'm not sure if the user project is relevant in this case17:05
rm_workoctavia uses its own service account for all of these calls17:06
emccormickand as that user I can query all the properties of the network. In fact this user created the networks to begin with17:06
rm_workwe only forward a user-token for barbican interactions specifically17:06
emccormickwell those at least used to work. I have existing loadbalancers elsewhere17:06
rm_workcheck if the octavia user has neutron admin17:06
johnsomrm_work No, users can't create VIPs on other projects.17:06
rm_worki believe it should as that's necessary to do a lot of the port attachments tho?17:07
rm_worksince we plug ports on other projects' networks17:07
johnsomMeaning you can't create a VIP on another project's subnet. Neutron is not helpful with this as it returns not found even when it's a permission denied17:07
johnsomrm_work We can, but we don't allow users to do it. That would be *bad*17:08
rm_workright17:08
rm_workerr actually, do we check subnet ownership?17:08
emccormickhmm. So which role am I looking for where?17:08
rm_workemccormick: are you doing this with the Openstack CLI? I assume so if you're seeing name->id translation17:09
emccormickyeah CLI17:09
johnsomemccormick Sorry for the tangent. If the user you are creating the load balancer with can do a subnet show with that ID this is something else.17:09
emccormickI ran the create in debug17:09
rm_workso that lookup is happening with your user, but the actual operation on the API side is with the octavia user17:09
emccormickI can do a subnet show with name or ID17:09
johnsomIt could be that it's the lb-mgmt-net configured subnet it's not finding too17:09
emccormickif I feed the name to Octavia it gives me back the correct ID and says it's not found which is kinda nutty17:10
emccormicksince it had to find it to get the name17:10
emccormickhmm17:10
rm_workoctavia isn't really doing the translation, the cli is17:10
johnsomRight. My guess is the lb-mgmt-net configuration is bad17:10
rm_workthe cli does that stuff pre-octavia and then just calls octavia with the translated IDs17:10
emccormickah ok. That makes sense17:10
rm_workjohnsom: it would make sense to me that the octavia user might not be able to see a private subnet?17:11
rm_workis this for the vip subnet or a member add?17:11
emccormickThe ID it feeds me back as not found is the vip subnet17:12
rm_workhmm ok17:12
rm_workjohnsom: so we do checking on the ownership of the vip subnet matching the project of the LB?17:12
emccormickopenstack --debug loadbalancer create --project foo --name foo-wp-lb --vip-subnet-id foo-subnet117:12
rm_workthat makes sense but didn't remember if we actually did it17:12
johnsomYeah, if you could paste.openstack.org the error from running the command via --debug would be helpful17:12
emccormickthat's what I'm doing17:13
emccormicksure thing17:13
johnsomOut of curiosity, why are you passing a project on the command line? Are you trying to create the LB on a different project than the current user?17:14
emccormickhttp://paste.openstack.org/show/753197/17:16
emccormickjohnson Yeah I'm just on as my generic admin user. The load balancer is in a client's project17:17
emccormickFWIW I have working load balancers previously created17:17
emccormickgoing to try and make another in a project that already has one and see what happens17:17
johnsomYeah, I guess the next thing to check is the neutron svc log to see why it's rejecting it.17:19
emccormickshould the request ID to neutron be the one at the bottom of that pastebin?17:20
*** tesseract has quit IRC17:21
johnsomI'm not 100% sure. I think we have some bugs around the request IDs. Here I think it will be in neutron, but not 100% sure.17:22
johnsomYou can always look for the subnet ID too though.17:22
emccormicknm, I think I see the neutron one farther up. My kingdom for global request IDs to get finished.17:23
johnsomYeah, we do need to get to fixing that17:23
*** ccamposr has joined #openstack-lbaas17:23
*** ccamposr__ has quit IRC17:26
*** ccamposr__ has joined #openstack-lbaas17:29
*** ccamposr has quit IRC17:32
*** ataraday_ has quit IRC17:32
emccormickhrmph. Maybe have an answer. Let's see17:34
emccormickI had been working on upgrading to Rocky but not done yet. I used this box to run a test deploy also and it's got octaviaclient 1.6.117:35
emccormickperhaps the rocky client is unhappy talking to queens Octavia ;)17:35
*** tesseract has joined #openstack-lbaas17:36
johnsomNo, I would really be surprised if there is some bug there.  LB create really hasn't changed for what you are doing.17:37
emccormickhrm17:38
emccormickSo from what I see, neutron server is returning a full list of subnets17:38
emccormickthe next thing I see is Octavia complaining that the subnet doesn't exist. I can see it in the list returned from Neutron though17:39
johnsomThat list is the CLI list, the call we are looking for is a show/get not a list.17:44
johnsomThis is the call on the Octavia side: https://github.com/openstack/octavia/blob/stable/queens/octavia/network/drivers/neutron/base.py#L17517:45
*** psachin has quit IRC17:48
emccormickhrm. OK so I found Octavia querying the subnet explicitly. The only thing on the Neutron side is a 200 success message and a message about it blocking the "shared" attribute due to policy.18:08
emccormickdoesn't seem like that should break it though should it?18:08
emccormickAttributes excluded by policy engine: [u'shared'] _exclude_attributes_by_policy /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/pecan_wsgi/hooks/policy_enforcement.py:25618:09
johnsomOk, yeah, that is the issue. The project requesting the subnet doesn't have permission from neutron.18:09
emccormickah hah18:09
johnsomIt's probably a subnet with the "shared" flag set, but "shared" subnets are disabled via RBAC in neutron?18:09
emccormickhmm. it shouldn't be set at all. Lemme see18:10
*** pcaruana has quit IRC18:11
johnsomI sure hate that they translate the 503's to 404's18:12
emccormickso Shared would be an attribute of the parent network. Shared = False on both that I've tried with.18:13
openstackgerritMerged openstack/octavia stable/stein: Fix allocate_and_associate DB deadlock  https://review.opendev.org/66555618:14
johnsomYou are getting into the mysteries of the neutron RBAC that I may not be able to help with. It is either the user project or the one being passed in that doesn't have permission to show/get that subnet. I just don't know why on the neutron side.18:16
emccormickOK will keep digging and report back later. Thanks for the guidance.18:21
*** luksky has joined #openstack-lbaas18:30
rm_workahahaha, found my pycharm issue18:42
rm_workhttps://github.com/testing-cabal/testtools/blob/master/testtools/testcase.py#L3118:42
rm_workdynamic import of unittest lib makes newer versions of pycharm incapable of detecting that it actually is of type unittest18:43
rm_workso none of the automatic testing helpers work18:43
rm_workon any of our tests T_T18:43
*** tesseract has quit IRC18:49
*** ivve has joined #openstack-lbaas18:50
*** ccamposr has joined #openstack-lbaas18:57
*** ccamposr__ has quit IRC19:00
*** gcheresh has joined #openstack-lbaas19:14
*** ivve has quit IRC19:16
*** Vorrtex has quit IRC20:10
*** gcheresh has quit IRC20:22
*** mithilarun has joined #openstack-lbaas20:29
*** mithilarun has quit IRC20:30
*** mithilarun has joined #openstack-lbaas20:30
*** mithilarun has quit IRC20:55
*** mithilarun has joined #openstack-lbaas21:07
*** mithilarun has quit IRC21:16
openstackgerritMichael Johnson proposed openstack/octavia master: Specify the linux-image-kvm kernel for ubuntu  https://review.opendev.org/66586121:23
johnsomOk, that should be good to go. Just need to confirm with the gate jobs.21:25
*** fnaval has quit IRC21:47
cgoncalveswhelp! I see a tab in L14021:48
*** yamamoto has joined #openstack-lbaas21:51
*** goldyfruit has quit IRC21:54
*** yamamoto has quit IRC21:56
johnsomBlah21:56
*** mkuf has quit IRC22:01
*** mkuf has joined #openstack-lbaas22:02
openstackgerritMichael Johnson proposed openstack/octavia master: Specify the linux-image-kvm kernel for ubuntu  https://review.opendev.org/66586122:02
*** vishalmanchanda has quit IRC22:03
*** devfaz has quit IRC22:03
*** devfaz has joined #openstack-lbaas22:03
openstackgerritMichael Johnson proposed openstack/octavia master: Specify the linux-image-kvm kernel for ubuntu  https://review.opendev.org/66586122:10
johnsomFYI, the rax infra mirror is broken again, expect jobs to fail.22:16
*** luksky has quit IRC22:39
*** mithilarun has joined #openstack-lbaas22:49
*** mithilarun has quit IRC22:51
*** ccamposr__ has joined #openstack-lbaas23:04
*** ccamposr has quit IRC23:07
*** mithilarun has joined #openstack-lbaas23:08
*** mithilarun has quit IRC23:14
*** mithilarun has joined #openstack-lbaas23:15
*** rcernin has joined #openstack-lbaas23:16
*** mithilarun has quit IRC23:40
*** yamamoto has joined #openstack-lbaas23:53

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