Wednesday, 2021-12-01

eanderssonThis is the old shady code, but maybe a different path https://github.com/openstack/designate/tree/master/designate/network_api02:09
johnsomThat is the old "sink" based neutron/nova integration right? Yeah, that should probably get deprecated if it hasn't been.02:11
johnsomlol, no warning signs there "GreenThreadPoolExecutor"02:12
johnsomCopied partially from nova02:12
eanderssonhttps://github.com/openstack/designate/blob/stable/queens/designate/network_api/neutron.py - this was before I re-wrote all of that :p02:13
eanderssonI don't think the neutron integration actually uses this. frickler probably knows02:14
johnsomI am not dis-ing the async, just green threads in general. grin02:14
eanderssonhehe yea that was just a work around because of some unit tests issues02:15
eanderssonbecause monkey patching wasn't done right02:15
eanderssonwould be nice to get ride of eventlet at some point02:16
johnsomYes02:16
eanderssonPretty sure there are some issues with the wsgi implementation as well02:16
eanderssonwhere it ends up using eventlet even thou it shouldn't be02:17
eanderssonbut maybe I fixed that already02:17
johnsomWe went with cotyledon in Octavia02:17
eanderssonI almost did when I re-wrote all the base frameworks for designate02:17
eanderssonbut some code I just didn't understand was messing with me02:18
eanderssonand wanted to make sure to stay closer to other projects for easier maintainability02:18
eanderssonsince we didn't have a lot of contributors at the time02:18
johnsomYeah, I can't yet sign up for major overhauls like that, but it's in the back of my mind.02:20
fricklerI'm all for deprecating the PTR API, neutron integration works the other way round (neutron being the active part instead of designate) and those two are incompatible 05:25
opendevreviewDr. Jens Harbott proposed openstack/designate master: Improve wording for validation error messages  https://review.opendev.org/c/openstack/designate/+/82002613:44
opendevreviewMichael Johnson proposed openstack/designate master: Improve wording for validation error messages  https://review.opendev.org/c/openstack/designate/+/82002615:45
johnsomQuick fix for the unit tests15:45
fricklerjohnsom: thx, I was in a hurry to push this before I went into a meeting and didn't check locally16:37
johnsomYeah, no problem. I thought you might have been done for the day.16:37
fricklermakes me wonder though whether the tests should actually check for the exact wording. and if they should, are we then even allowed to change it?16:38
fricklermaybe add a reno at least?16:39
johnsomYeah, I tend to not test for the wording. It just leads to test churn as things evolve16:39
johnsomThough, hopefully we aren't changing strings that often16:40
fricklerthis is an interesting failure I think https://0c3226f8ab8cd996497a-d2c025200b43adc89ab93bbaf8ea8562.ssl.cf5.rackcdn.com/820026/2/check/designate-ipv6-only-pdns4/05f0ce7/index.html17:12
fricklera) I think the test should fail immediately when the status reaches DELETE/ERROR and not wait another 10 minutes for something to happen17:13
fricklerb) looking at the pdns logs, it seems like the delete is triggered when pdns is still busy processing the initial AXFR17:14
fricklernot sure what we can do about that, even if we add a small delay into the test, users could still trigger the issue in real life17:15
johnsomYeah, it should stop at the ERROR status17:16
johnsomI can propose a fix to that 404 waiter17:18
johnsomSo, address a)17:18
fricklerthx, I'll try to reproduce this tomorrow. might actually also be some race condition in pdns17:31
*** gmann is now known as gmann_afk17:34
*** gmann_afk is now known as gmann18:53
opendevreviewMerged openstack/designate master: Improve wording for validation error messages  https://review.opendev.org/c/openstack/designate/+/82002619:11
eanderssonI noticed that we had tests passing where records took 360 seconds20:51
eanderssonand wanted to look into that more20:51
opendevreviewMichael Johnson proposed openstack/designate-tempest-plugin master: Abort wait for 404 if the status changes to ERROR  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/82007521:54
johnsomFYI, I have added the review priority tag to the scoped tokens fix patch as we are starting to see other folks run into the issues this patch fixes. I have added a note on the patch with some example links.22:52

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!