Friday, 2020-03-13

*** armax has quit IRC00:40
sorrisonjohnsom: Would you be able to reconsider your -1 on https://review.opendev.org/#/c/711127/ (have replied to your comment)00:40
johnsomsorrison I can take a look00:40
sorrisonthanks00:41
sorrisonjust trying to make it easier and more standard to deploy it and bring inline with other openstack projects00:41
johnsomsorrison What other projects? A quick search shows only Ironic and keystone have it00:41
sorrisonAll projects use it00:42
sorrisonmost projects you can configure it using paste00:42
johnsomI can guarantee it's not all projects.00:42
johnsomhttp://codesearch.openstack.org/?q=from%20oslo_middleware%20import%20healthcheck&i=nope&files=&repos=00:42
johnsomI only see two00:43
sorrisonWell we use 19 projects in production and they all have it00:43
*** vishalmanchanda has joined #openstack-lbaas00:43
sorrisonsome have it coded in but the majority it's configured with paste.ini00:43
johnsomThe reason I flagged this is I have been in the meetings talking about starting that library over from scratch.00:44
johnsomBecause right now, it doesn't provide much more than the API discovery documents on / provide for all of the APIs.00:44
sorrisonyeah I see that as a separate issue00:44
sorrisonI'm after consistency00:45
johnsomThe sad state of things is everyone was supposed to drop paste as well. sigh.00:45
johnsomOk, let me look into this a bit more.00:45
johnsomYeah, the / health check is going to be consistent too. It's required.00:45
sorrisonti could be enabled with a config option which defaults to false if you like00:45
sorrisonhitting / is also inconsistent between projects00:47
sorrisonThat's the reason a lot of operators use /healthcheck00:47
johnsomIt can't be. It is a requirement for OpenStack API projects. It's heavily used by OSC and SDK00:47
sorrisonok maybe that's changed, last I looked some required you be authenticated to hit /00:48
sorrisonbut it's been a while00:48
johnsomYeah, we got bugged about it in Pike because we didn't have a OpenStack "standard" format discovery document. We had to fix it for OSC and SDK.00:49
johnsomLike I said on the patch, I'm on the fence a bit. I will do some digging and re-evaluate.  You might also bug the others to chime in too.00:49
sorrisonok thanks, I wasn't aware the / was mandated so I don't really care about it that much. Although oslo healthcheck seems to be the obvious thing to use when determining if a service is ok for a frontend LB to use00:53
sorrisonAnd if in the future this is going to be more indicative of the health then shouldn't octavia support it>00:54
johnsomYeah, the problem with that library (other than it's lightly maintained) is that it doesn't actually check the API app, code, or DB. So it gives false positives00:54
sorrisonok, fair enough00:54
johnsomYeah, it was a total replace with a new library, not an extension of this current code00:54
johnsomFrankly, I might be more comfortable adding it to our code without the library. lol That way at least it is a decent test.00:58
johnsomsorrison Do you use the "disable by file" part of that?01:00
johnsomOr is it really just for API LBs to check if the API instance is healthy?01:00
sorrisonWe don't use the disable by file think, just used by our F5 which all our openstack services are behind01:02
johnsomYeah, ok. That is what I have heard from others as well.01:02
sorrisonWe just have a common template for each service and it would mean octavia would need to be different01:02
johnsomSo, there might be more value in having it be a really test.01:02
sorrison(horizon is also different so it's not a massive deal)01:02
*** spatel has joined #openstack-lbaas01:28
*** spatel has quit IRC01:32
rm_workyeah i feel like it wouldn't be too hard to make that endpoint exist within octavia but actually *DO* something01:37
rm_workto johnsom's point.01:37
rm_workor even rewrite /healthcheck to /01:38
rm_workcould do that in your wsgi deployment?01:38
rm_workin uwsgi that'd be like:01:39
rm_workroute-uri = ^/healthcheck$ rewrite:/01:39
*** armax has joined #openstack-lbaas01:40
*** yamamoto has quit IRC01:41
*** yamamoto has joined #openstack-lbaas01:42
*** yamamoto has quit IRC01:49
*** yamamoto has joined #openstack-lbaas02:04
*** yamamoto has quit IRC02:05
*** psachin has joined #openstack-lbaas02:43
*** spatel has joined #openstack-lbaas03:02
*** spatel has quit IRC03:13
johnsomI added some additional comments to my review. There is a "plugin" model that we may be able to use to make the Oslo code more useful. It really just comes down to whether we are ok with that library or not.03:22
*** psachin has quit IRC03:30
openstackgerritMichael Johnson proposed openstack/octavia master: Support hacking 2.0.0  https://review.opendev.org/69930203:53
johnsomrm_work Can you re-+2 https://review.opendev.org/#/c/699302/ ? I had to add a new line to another file to clear a pep8.03:53
openstackgerritMichael Johnson proposed openstack/octavia master: Use sqlalchemy isnot(None)  https://review.opendev.org/71014403:57
rm_workdone :)05:56
johnsomI think I have a working plugin for that healthcheck library to check the Octavia DB connection. I just need to figure out how to get the functional test to use the healthcheck library so I can verify.06:52
johnsomHowever, calling it a night.06:53
*** rpittau|afk is now known as rpittau07:24
*** yamamoto has joined #openstack-lbaas07:31
openstackgerritMerged openstack/octavia master: Support hacking 2.0.0  https://review.opendev.org/69930207:47
*** maciejjozefczyk has joined #openstack-lbaas08:08
*** gcheresh has joined #openstack-lbaas08:11
*** tesseract has joined #openstack-lbaas08:12
openstackgerritMerged openstack/octavia master: Use sqlalchemy isnot(None)  https://review.opendev.org/71014408:25
*** rcernin has quit IRC08:27
*** gcheresh has quit IRC08:28
openstackgerritAnn Taraday proposed openstack/octavia master: Jobboard based controller  https://review.opendev.org/64740608:29
*** tkajinam has quit IRC08:31
*** gcheresh has joined #openstack-lbaas09:11
*** yamamoto has quit IRC09:49
*** gcheresh has quit IRC09:55
*** yamamoto has joined #openstack-lbaas10:05
openstackgerritAnn Taraday proposed openstack/octavia master: Jobboard based controller  https://review.opendev.org/64740610:33
*** yamamoto has quit IRC10:40
*** nicolasbock has joined #openstack-lbaas11:25
*** rpittau is now known as rpittau|bbl11:28
*** nicolasbock has quit IRC12:07
*** nicolasbock has joined #openstack-lbaas12:07
*** yamamoto has joined #openstack-lbaas12:35
*** vishalmanchanda has quit IRC13:03
*** yamamoto has quit IRC13:04
*** rpittau|bbl is now known as rpittau13:04
*** yamamoto has joined #openstack-lbaas13:14
*** yamamoto has quit IRC13:23
*** TrevorV has joined #openstack-lbaas13:35
*** rcernin has joined #openstack-lbaas13:41
*** yamamoto has joined #openstack-lbaas13:41
*** yamamoto has quit IRC14:33
*** yamamoto has joined #openstack-lbaas15:15
openstackgerritCarlos Goncalves proposed openstack/octavia master: Fix listener update with SNI certificates  https://review.opendev.org/71279015:27
*** yamamoto has quit IRC15:28
*** yamamoto has joined #openstack-lbaas16:04
johnsomFYI, there is a new cirros out: cirros 0.5.1 proposed to be the default in devstack. If someone has the cycles we should probably test the webserver16:07
*** yamamoto has quit IRC16:07
johnsomdevstack proposal: https://review.opendev.org/#/c/711492/16:08
johnsomDownside is it eats more RAM.... sigh16:09
cgoncalves128MB -> 129MB RAM? that's odd16:11
gthiemonge64->128 and 128->12916:12
openstackgerritMichael Johnson proposed openstack/octavia master: Refactor the failover flows  https://review.opendev.org/70531716:13
johnsomYeah, not sure what the alt image thing at 129 is about, but the main one is 64->12816:14
johnsomFYI, the pep8 issue on master should be fixed with last nights merges, so rebase if you need.16:16
johnsomCheers to haleyb for having that ready to go16:17
openstackgerritMichael Johnson proposed openstack/python-octaviaclient master: Remove the dependency on the "mock" package  https://review.opendev.org/71301616:28
johnsomI might as well finish the job so all our repos are the same for ussuri16:29
*** openstackgerrit has quit IRC16:31
*** yamamoto has joined #openstack-lbaas16:42
*** rpittau is now known as rpittau|afk16:58
*** maciejjozefczyk has quit IRC17:03
*** tesseract has quit IRC17:07
cgoncalvesthe SNI db model has a position field but I don't see where it is being used. the REST API does not mention it nor does the provider driver API. am I missing something?17:15
*** openstackgerrit has joined #openstack-lbaas17:16
openstackgerritMichael Johnson proposed openstack/python-octaviaclient master: Align python-octaviaclient to octavia coding style  https://review.opendev.org/71303217:16
johnsomHmm, yeah, so position was in neutron-lbaas at the request of a vendor, but it goes against the standards, so it may have been dropped along the way.17:17
cgoncalvesthanks. that helped17:18
*** maciejjozefczyk has joined #openstack-lbaas17:21
openstackgerritMichael Johnson proposed openstack/octavia-lib master: Remove the dependency on the "mock" package  https://review.opendev.org/71303917:33
*** TrevorV has quit IRC17:34
openstackgerritMichael Johnson proposed openstack/octavia-lib master: Remove the dependency on the "mock" package  https://review.opendev.org/71303917:34
johnsomforgot to remove it from lower.17:35
johnsomOk, that should update all of our repos for using the built in mock.17:35
johnsomSome easy reviews there, hint, hint17:36
cgoncalvesall references to -> all references from17:40
cgoncalves:P17:40
johnsomha, well, we didn't catch that in the master patch, so my copy/paste of the commit message propagated the issue.17:46
*** maciejjozefczyk_ has joined #openstack-lbaas18:16
*** maciejjozefczyk has quit IRC18:16
*** yamamoto has quit IRC18:33
haleyb|awayjohnsom: that's one way to get my patches merged :)19:01
*** gcheresh has joined #openstack-lbaas19:16
*** gcheresh has quit IRC20:00
*** gcheresh has joined #openstack-lbaas20:55
*** maciejjozefczyk_ has quit IRC20:59
*** gcheresh has quit IRC21:04
johnsomSigh: [ERROR] /opt/stack/devstack/lib/glance:364 g-api did not start21:24
*** rcernin has quit IRC22:58
*** rcernin has joined #openstack-lbaas22:59
*** numans has quit IRC23:04
openstackgerritCarlos Goncalves proposed openstack/octavia master: Fix listener update with SNI certificates  https://review.opendev.org/71279023:10

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