*** armax has quit IRC | 00:31 | |
*** spatel has quit IRC | 00:43 | |
*** TMM has quit IRC | 00:52 | |
*** TMM has joined #openstack-lbaas | 00:52 | |
JayLiu | sorry I | 01:16 |
---|---|---|
JayLiu | sorry I missed the ptg session, what's new about active/active? Plz let me know | 01:16 |
JayLiu | We discussed with neutron people and they think it matters to add ecmp for octavia. Additionally, ovn can support ecmp too. | 01:17 |
JayLiu | So...I think it maybe feasible to use L3 ecmp as distributor? | 01:18 |
*** rcernin has quit IRC | 01:27 | |
JayLiu | About session persistence, I am sure ovs can use ip hash to complement it, but I don't know whether ovn can do this. | 01:30 |
*** rcernin has joined #openstack-lbaas | 01:30 | |
*** also_stingrayza has joined #openstack-lbaas | 01:49 | |
*** stingrayza has quit IRC | 01:52 | |
*** armax has joined #openstack-lbaas | 01:54 | |
*** rcernin has quit IRC | 02:37 | |
*** armax has quit IRC | 02:48 | |
*** sapd1 has joined #openstack-lbaas | 03:11 | |
*** rcernin has joined #openstack-lbaas | 03:31 | |
*** rcernin has joined #openstack-lbaas | 03:37 | |
rm_work | johnsom: wait did we really? damnit. I probably even agreed before didn't i | 04:15 |
rm_work | Maybe I just need convincing again | 04:15 |
*** sapd1 has quit IRC | 04:22 | |
*** sapd1 has joined #openstack-lbaas | 04:37 | |
*** wuchunyang has joined #openstack-lbaas | 04:39 | |
*** gcheresh_ has joined #openstack-lbaas | 04:47 | |
*** gcheresh_ has quit IRC | 04:53 | |
*** gcheresh_ has joined #openstack-lbaas | 04:55 | |
*** gcheresh_ has quit IRC | 05:02 | |
*** wuchunyang has quit IRC | 05:07 | |
johnsom | rm_work All I am going to say is: yep | 05:18 |
rm_work | do you think my point is not valid? | 05:19 |
rm_work | we've got this thing that's just no longer useful -- so sure, don't update it -- but maybe we need to actually remove it | 05:19 |
rm_work | that can be in a followup, but we need to agree to do it | 05:19 |
johnsom | Oh, I agree it needs to go away. It's just deciding on timing. It's only there for backward compat with *old* amphora | 05:20 |
johnsom | split config should go away.... | 05:20 |
rm_work | k | 05:20 |
johnsom | When is the question I don't know really | 05:21 |
johnsom | I haven't looked at that in a while. | 05:21 |
johnsom | It's just super odd to add new feature support to a deprecated amp image | 05:21 |
johnsom | But it sucks that it will also just ignore that config if the amp image is too old. | 05:22 |
johnsom | https://wiki.openstack.org/wiki/Octavia/Non-arbitrary_Decisions#One_haproxy_process_per_listener.2C_or_one_haproxy_process_per_loadbalancer.3F_.28Rescinded.29 | 05:23 |
johnsom | Just to reflect on the decisions that led us here. lol | 05:24 |
johnsom | Ok, it has been many hours all week for me, I need some sleep. Catch you tomorrow. | 05:24 |
johnsom | JayLiu Hi, sorry we missed you at the PTG. Yes, I think it is feasible. Your specifications are at the top of my review list. I hope to get you some comments this week. | 05:25 |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Add minimum TLS version option in octavia.conf https://review.opendev.org/722121 | 05:27 |
*** oklhost has quit IRC | 05:35 | |
*** oklhost has joined #openstack-lbaas | 05:39 | |
*** vishalmanchanda has joined #openstack-lbaas | 05:51 | |
openstackgerrit | Merged openstack/octavia master: Add TLS version configuration for listeners https://review.opendev.org/721362 | 06:27 |
*** gcheresh_ has joined #openstack-lbaas | 06:32 | |
JayLiu | <johnsom> Thx !!!! Very good news for me! I will continue to work on this matter. | 06:33 |
*** wuchunyang has joined #openstack-lbaas | 06:37 | |
openstackgerrit | Merged openstack/octavia master: Add TLS version configuration for pools https://review.opendev.org/721773 | 07:04 |
*** rcernin has quit IRC | 07:15 | |
cgoncalves | JayLiu, hi! OVN recently implemented consistent-hashing capabilities: https://github.com/ovn-org/ovn/commit/5af304e7478adcf5ac50ed41e96a55bebebff3e8 | 07:16 |
*** maciejjozefczyk_ has joined #openstack-lbaas | 07:17 | |
*** rcernin has joined #openstack-lbaas | 07:20 | |
*** maciejjozefczyk has quit IRC | 07:20 | |
*** rcernin has quit IRC | 07:21 | |
*** rcernin has joined #openstack-lbaas | 07:21 | |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Add minimum TLS version option in octavia.conf https://review.opendev.org/722121 | 07:22 |
JayLiu | <cgoncalves> It's really useful! :D thx | 07:26 |
*** sapd1 has quit IRC | 07:29 | |
*** ccamposr__ has joined #openstack-lbaas | 07:35 | |
*** ccamposr has quit IRC | 07:37 | |
*** rcernin has quit IRC | 07:41 | |
*** rpittau|afk is now known as rpittau | 07:50 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: Add a periodic fast forward upgrade job https://review.opendev.org/732986 | 07:50 |
*** ataraday_ has joined #openstack-lbaas | 08:07 | |
*** ataraday_ has quit IRC | 08:26 | |
*** also_stingrayza is now known as stingrayza | 08:32 | |
*** wuchunyang has quit IRC | 08:39 | |
*** tkajinam has quit IRC | 08:48 | |
*** kevinz has quit IRC | 09:57 | |
*** yamamoto has quit IRC | 09:58 | |
*** rpittau is now known as rpittau|bbl | 10:02 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: WIP: zero downtime upgrade https://review.opendev.org/733262 | 10:05 |
*** yamamoto has joined #openstack-lbaas | 10:31 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: WIP: zero downtime upgrade https://review.opendev.org/733262 | 10:31 |
*** stingrayza has quit IRC | 10:51 | |
*** wuchunyang has joined #openstack-lbaas | 10:53 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: WIP: zero downtime upgrade https://review.opendev.org/733262 | 11:00 |
*** wuchunyang has quit IRC | 11:11 | |
*** ccamposr__ has quit IRC | 11:14 | |
*** yamamoto has quit IRC | 11:18 | |
*** ccamposr has joined #openstack-lbaas | 11:20 | |
*** rpittau|bbl is now known as rpittau | 11:35 | |
*** stingrayza has joined #openstack-lbaas | 11:48 | |
*** yamamoto has joined #openstack-lbaas | 11:49 | |
*** yamamoto has quit IRC | 11:55 | |
*** ianychoi_ has joined #openstack-lbaas | 12:32 | |
*** ccamposr__ has joined #openstack-lbaas | 12:32 | |
*** sapd1_x has joined #openstack-lbaas | 12:34 | |
*** njohnston_ has joined #openstack-lbaas | 12:35 | |
*** TMM has quit IRC | 12:35 | |
*** TMM has joined #openstack-lbaas | 12:35 | |
*** dmellado_ has joined #openstack-lbaas | 12:35 | |
*** zzzeek has quit IRC | 12:36 | |
*** tobberydberg has quit IRC | 12:36 | |
*** dmellado has quit IRC | 12:36 | |
*** ccamposr has quit IRC | 12:36 | |
*** njohnston has quit IRC | 12:36 | |
*** zigo has quit IRC | 12:36 | |
*** ianychoi has quit IRC | 12:36 | |
*** numans has quit IRC | 12:36 | |
*** sapd1_y has quit IRC | 12:36 | |
*** dmellado_ is now known as dmellado | 12:37 | |
*** zzzeek has joined #openstack-lbaas | 12:38 | |
*** tobberydberg has joined #openstack-lbaas | 12:38 | |
*** zigo_ has joined #openstack-lbaas | 12:45 | |
*** wuchunyang has joined #openstack-lbaas | 12:46 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: WIP: zero downtime upgrade https://review.opendev.org/733262 | 12:48 |
*** dosaboy has quit IRC | 12:50 | |
*** dosaboy has joined #openstack-lbaas | 12:51 | |
*** spatel has joined #openstack-lbaas | 12:57 | |
*** spatel has quit IRC | 13:00 | |
*** tkajinam has joined #openstack-lbaas | 13:02 | |
*** rpittau is now known as rpittau|brb | 13:24 | |
*** KeithMnemonic has joined #openstack-lbaas | 13:46 | |
KeithMnemonic | does anyone know if there is a way to override the default loadbalancer_topology. For example if my default is ACTIVE_STANDBY (set in the .conf file) and I just want to create one test LB as SINGLE | 13:47 |
*** rpittau|brb is now known as rpittau | 14:01 | |
*** TrevorV has joined #openstack-lbaas | 14:02 | |
johnsom | KeithMnemonic You can do that by created a load balancer flavor that uses SINGLE. Assuming your version has flavors support. | 14:11 |
KeithMnemonic | lol, you know it does not ;-) | 14:23 |
johnsom | rm_work FYI: https://storyboard.openstack.org/#!/story/2007581 | 14:47 |
*** gcheresh_ has quit IRC | 14:47 | |
rm_work | k | 14:48 |
*** yamamoto has joined #openstack-lbaas | 14:55 | |
*** armax has joined #openstack-lbaas | 15:28 | |
openstackgerrit | Andreas Jaeger proposed openstack/octavia-dashboard master: Cleanup py27 support https://review.opendev.org/733645 | 15:34 |
*** gcheresh_ has joined #openstack-lbaas | 15:57 | |
*** rcernin has joined #openstack-lbaas | 16:03 | |
*** tkajinam has quit IRC | 16:05 | |
*** rcernin has quit IRC | 16:08 | |
*** numans has joined #openstack-lbaas | 16:28 | |
rm_work | wasn't that the one that is a mismatch between octavia and octavia-lib? | 16:31 |
*** rpittau is now known as rpittau|afk | 16:31 | |
johnsom | Which what? | 16:32 |
rm_work | that story | 16:32 |
johnsom | No | 16:33 |
johnsom | I don't think so. | 16:33 |
rm_work | err no, looks the same as the one that we had a fix for tho | 16:33 |
rm_work | did we never manage to backport that? | 16:33 |
rm_work | because it had a lib change? | 16:34 |
johnsom | This one? https://review.opendev.org/#/c/688548/ | 16:35 |
johnsom | rm_work From the traceback the error they are reporting is after it's pulled off the rabbit queue, so past the amphora driver/octavia-lib part | 16:40 |
rm_work | yeah... jmm | 16:41 |
rm_work | *hmm | 16:41 |
johnsom | I'm not sure how the elif new_members would evaluate and it would try to get a pool | 16:41 |
johnsom | Looking here: https://github.com/openstack/octavia/blob/stable/train/octavia/controller/worker/v1/controller_worker.py#L472 | 16:42 |
rm_work | Batch updating members: old='[]', new='['68f8c438-1023-4fea-9cb9-968c56eed027']', updated='[]' | 16:42 |
rm_work | so | 16:42 |
rm_work | that looks like the issue from the patch... | 16:42 |
rm_work | which did not make it back even to train | 16:42 |
johnsom | Argh, chrome just crashed again | 16:44 |
johnsom | So, I still don't see how it's related. There is a new_member ID, the first thing the CW method does is pull it from the DB. It's like the member record in the DB has no pool? | 16:44 |
johnsom | No, actually, it's that the member lookup in the DB returned nothing | 16:45 |
rm_work | new_members[0] is a None | 16:45 |
rm_work | per that traceback | 16:45 |
rm_work | timing error? | 16:45 |
johnsom | Yeah, so the DB lookup didn't find the memebr | 16:45 |
rm_work | DB is using replication i bet | 16:45 |
rm_work | and they're reading from a slave and not the one writing | 16:46 |
rm_work | octavia does not perform well with multi-master | 16:47 |
johnsom | Oh, this might be an API commit vs CW pull issue..... | 16:47 |
johnsom | Why we put these in: https://github.com/openstack/octavia/blob/master/octavia/controller/worker/v1/controller_worker.py#L130 | 16:47 |
rm_work | but it didn't get NoResultFound | 16:49 |
rm_work | it actually returned an object? | 16:49 |
*** dayou has quit IRC | 16:49 | |
rm_work | 2020-04-21 14:21:50.096 19 ERROR oslo_messaging.rpc.server pool = new_members[0].pool | 16:49 |
rm_work | 2020-04-21 14:21:50.096 19 ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute 'pool' | 16:49 |
rm_work | it would have been an indexerror | 16:49 |
rm_work | oh no, you're messing with me | 16:49 |
rm_work | new_members is the struct from the call | 16:50 |
rm_work | not from the DB | 16:50 |
johnsom | no? | 16:50 |
rm_work | err wait | 16:50 |
rm_work | fff which version am i looking at | 16:50 |
johnsom | But you are right, I don't know why it didn't raise NoResultFoudn | 16:51 |
rm_work | yeah ok i don't understand how this is possible | 16:51 |
rm_work | DB can't return a result row that doesn't have a pool, for a member | 16:51 |
rm_work | un-possible | 16:51 |
johnsom | Yeah, it's a relation too I think | 16:52 |
rm_work | yes | 16:52 |
johnsom | But the error is new_members[0] == None | 16:52 |
johnsom | The pool part doesn't matter here | 16:52 |
rm_work | right | 16:52 |
johnsom | It's a question of how the _member_repo.get for the ID returned [] instead of a member. | 16:53 |
johnsom | Ok, I think I know how/why | 16:55 |
rm_work | elucidate? | 16:59 |
johnsom | https://github.com/openstack/octavia/blob/stable/train/octavia/db/repositories.py#L136 | 16:59 |
rm_work | ROFL WAT | 16:59 |
rm_work | FML | 16:59 |
rm_work | that's not... | 16:59 |
rm_work | what we want I think? | 17:00 |
johnsom | It's the difference between first() and one() | 17:00 |
johnsom | But now I am really puzzled, so trying to understand more | 17:00 |
rm_work | but I feel like we want "if not model: raise NotFoundError" | 17:00 |
rm_work | but we'd have to go through and make sure EVERYTHING is set up to properly handle that | 17:01 |
johnsom | Well, that is basically what one() does | 17:01 |
rm_work | but also, again, the real issue here is that the member doesn't exist, which goes back to what i said about multi--master clusters | 17:01 |
rm_work | yeah | 17:02 |
johnsom | Right, I *thought* we had switched/handled this at one point. This is why I am so confused right now. | 17:02 |
johnsom | Plus all of those tenacity wrappers are *useless* which again puzzles me | 17:02 |
rm_work | yeah | 17:02 |
*** dayou has joined #openstack-lbaas | 17:03 | |
johnsom | Well, multi-master or just how our API tier commit happens. We switched such that the request is handed to the driver before we commit the DB transaction, such that if rabbit doesn't accept it, we don't commit the DB and rolls back clean. | 17:03 |
rm_work | ahh | 17:03 |
johnsom | But that is why the tenacity wrappers are there | 17:03 |
rm_work | blegh | 17:03 |
rm_work | then yeah we need to fix that to raise properly | 17:04 |
johnsom | Well, I'm still WHY/HOW did this happen. | 17:04 |
rm_work | it's been like this FOREVER... | 17:05 |
johnsom | Yeah, so why isn't like every create call broken right now | 17:05 |
johnsom | Oh: https://github.com/openstack/octavia/blob/master/octavia/controller/worker/v1/controller_worker.py#L425 | 17:06 |
rm_work | rofl | 17:06 |
rm_work | ok we need to clean this up | 17:06 |
johnsom | Yeah, ok, that is why. I had to do that as I couldn't change the repo get call to one() as it would break many things that expect None. | 17:07 |
rm_work | well, we SHOULD clean up stuff that expects None | 17:07 |
johnsom | Yeah, ok, it's just because batch has a "create" in it and didn't get fixed with the other creates. | 17:07 |
rm_work | well if we fix it in there it's backportabl | 17:07 |
johnsom | Yeah, we should be able to fix this in a backport-able way. | 17:08 |
johnsom | I can take this one | 17:09 |
rm_work | ok, i assume it's quick | 17:10 |
johnsom | Yeah, not too bad I don't think | 17:10 |
johnsom | Ummmm | 17:19 |
johnsom | The v2 code is very different, like I'm not sure how it works | 17:20 |
rm_work | O_o | 17:24 |
johnsom | Ah, right, v2 moved to not having this problem | 17:24 |
johnsom | We started behaving more like a provider driver in v2, so it already has the objects and doesn't need to wait for the DB | 17:25 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Fix batch member create for v1 amphora driver https://review.opendev.org/733670 | 17:50 |
johnsom | rm_work ^^^ That should fix it | 17:50 |
rm_work | yeah looks right | 17:52 |
johnsom | I guess our test gates are slow enough tempest didn't catch this | 17:55 |
*** haleyb has quit IRC | 18:42 | |
*** dayou has quit IRC | 18:50 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia stable/train: Pin diskimage-builder on Python 2 git installs https://review.opendev.org/733681 | 19:04 |
*** dayou has joined #openstack-lbaas | 19:05 | |
*** vishalmanchanda has quit IRC | 19:11 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia stable/stein: Pin diskimage-builder on git installs https://review.opendev.org/733684 | 19:14 |
johnsom | Hmmm, maybe we should just not use git there... | 19:18 |
cgoncalves | git + py3 should still work | 19:22 |
*** gcheresh_ has quit IRC | 19:23 | |
*** born2bake has joined #openstack-lbaas | 19:28 | |
born2bake | Hi johnsom, I am wondering if you can help me again :) http://paste.openstack.org/show/794384/ Loadbalancer cannot create VM so its spawning forever and then is deleted and loadbalancer is in error state. However, I can create amphora instance manually without any issues. | 19:35 |
johnsom | born2bake If you see the instance as ACTIVE in nova, it is likely the lb-mgmt-net is not setup correctly. The controllers (except API) need to be able to reach the amphora lb-mgmt-net interfaces. | 19:41 |
born2bake | Instance created by octavia is just spawning and never active...its spawning and then in delete state | 19:43 |
johnsom | From the controller container try to ssh to the lb-mgmt-net address (we don't need ssh, but it is a test). I would guess you can't reach it | 19:43 |
johnsom | born2bake Oh! looking closer at that log "Waiting for compute id f3e3ef93-56a9-43ef-a887-b512b088ce1d to go active timeout." That is a problem with nova | 19:45 |
johnsom | Nova failed to even start the VM | 19:46 |
johnsom | Check the nova logs or see if you can see the "error" field in the "openstack server show" | 19:46 |
johnsom | Someone recently had that (can't remember if it was you or not), but the nova flavor was created in the wrong service account, so nova was failing on a flavor error. Maybe you have the same? | 19:47 |
born2bake | https://seashells.io/v/SnGHQ7ad | 19:48 |
born2bake | in the logs I can see instance spawned successfully and then its deleted. (nova-compute log) | 19:49 |
johnsom | Yeah, nova logs are a mystery to me sometimes. I can tell you that "go active timeout" means nova never set the instance to ACTIVE inside the timeout. | 19:51 |
johnsom | It looks like your timeout was 5 minutes. Which for Nova to go active should be a few seconds unless you have a really strange scheduler | 19:53 |
johnsom | I would try starting a load balancer, then do "openstack server show <amphora UUID>" a few times and watch the status and error fields in nova. It should go to ACTIVE in a few seconds after it starts the VM process | 19:54 |
born2bake | its very weird cause I can create instance within 20 secs and its running fine if I do that just via openstack server create | 19:59 |
born2bake | okay, will try to investigate and let you know if I find it | 20:01 |
johnsom | Yeah, it's likely a config issue or some resource was created under the wrong project like a flavor. Maybe if you have a custom sized image the flavor might have a disk size mis-match, etc. | 20:02 |
johnsom | Ok, I will be around for a while so feel free to ping me back | 20:02 |
*** rcernin has joined #openstack-lbaas | 20:05 | |
*** maciejjozefczyk_ has quit IRC | 20:09 | |
*** rcernin has quit IRC | 20:10 | |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add minimum TLS version option in octavia.conf https://review.opendev.org/722121 | 20:11 |
*** maciejjozefczyk has joined #openstack-lbaas | 20:13 | |
born2bake | johnsom I know this is ridiculous .... flavor was too small for amphora lol | 21:52 |
born2bake | changed it to bigger ram/cpu/disk and its all good now | 21:52 |
johnsom | Awesome! | 21:53 |
*** rcernin has joined #openstack-lbaas | 22:06 | |
*** rcernin has quit IRC | 22:11 | |
*** born2bake has quit IRC | 22:16 | |
*** dougwig has quit IRC | 22:35 | |
*** dawzon has quit IRC | 22:35 | |
*** kklimonda has quit IRC | 22:36 | |
*** nicolasbock has quit IRC | 22:36 | |
*** luketollefson has quit IRC | 22:36 | |
*** rpittau|afk has quit IRC | 22:36 | |
*** mnaser has quit IRC | 22:36 | |
*** emccormick has quit IRC | 22:36 | |
*** NobodyCam has quit IRC | 22:36 | |
*** gregwork has quit IRC | 22:36 | |
*** beisner has quit IRC | 22:37 | |
*** lxkong has quit IRC | 22:37 | |
*** andrein has quit IRC | 22:37 | |
*** xgerman__ has joined #openstack-lbaas | 22:37 | |
*** emccormick has joined #openstack-lbaas | 22:37 | |
*** NobodyCam has joined #openstack-lbaas | 22:37 | |
*** xgerman has quit IRC | 22:37 | |
*** xgerman__ is now known as xgerman | 22:37 | |
*** jrosser has quit IRC | 22:37 | |
*** fyx has quit IRC | 22:37 | |
*** johnsom has quit IRC | 22:37 | |
*** stevenglasford has quit IRC | 22:37 | |
*** headphoneJames has quit IRC | 22:37 | |
*** gmann has quit IRC | 22:37 | |
*** rm_work has quit IRC | 22:38 | |
*** dougwig has joined #openstack-lbaas | 22:38 | |
*** gregwork has joined #openstack-lbaas | 22:38 | |
*** gmann has joined #openstack-lbaas | 22:38 | |
*** lxkong has joined #openstack-lbaas | 22:39 | |
*** luketollefson has joined #openstack-lbaas | 22:40 | |
*** dawzon has joined #openstack-lbaas | 22:40 | |
*** andrein has joined #openstack-lbaas | 22:40 | |
*** jrosser has joined #openstack-lbaas | 22:41 | |
*** mnaser has joined #openstack-lbaas | 22:41 | |
*** stevenglasford has joined #openstack-lbaas | 22:41 | |
*** beisner has joined #openstack-lbaas | 22:42 | |
*** nicolasbock has joined #openstack-lbaas | 22:42 | |
*** johnsom has joined #openstack-lbaas | 22:43 | |
*** rcernin has joined #openstack-lbaas | 22:48 | |
*** rm_work has joined #openstack-lbaas | 22:51 | |
*** tkajinam has joined #openstack-lbaas | 22:56 | |
*** TrevorV has quit IRC | 22:57 | |
*** kklimonda has joined #openstack-lbaas | 23:04 | |
*** rpittau|afk has joined #openstack-lbaas | 23:04 | |
*** fyx has joined #openstack-lbaas | 23:12 | |
*** rcernin has quit IRC | 23:49 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!