Wednesday, 2021-11-24

opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Fix dns.query.tcp/udp not always handling ipv6 properly  https://review.opendev.org/c/openstack/designate/+/81372203:55
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Fix dns.query.tcp/udp not always handling ipv6 properly  https://review.opendev.org/c/openstack/designate/+/81372207:53
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Fix dns.query.tcp/udp not always handling ipv6 properly  https://review.opendev.org/c/openstack/designate/+/81372219:47
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Fix dns.query.tcp/udp not always handling ipv6 properly  https://review.opendev.org/c/openstack/designate/+/81372219:49
eanderssonjohnsom ^ I didn't want to change the behavior of that call in this patch, but didn't notice that it just breaks after the first successful attempt.19:49
eanderssonSo I think it's fine and made the change you requested.19:49
johnsomOk, cool. Yeah, just worried that on hosts with no IPv6 access picking the first address resolved may bomb19:50
eanderssonYea - that is why I initially went with the simple work around of just always picking an IPv4 address, if available19:51
eanderssonbut this is better19:51
johnsomeandersson If you are bored in the next few days, there are a few +2 reviews in the client repo that could use a pass over19:52
eanderssonoh wow that is a lot19:52
eanderssonI wonder if I have disabled python-designateclient notifications19:52
johnsomWell, I have been busy trying to get things cleaned up and get the stable branches happy again19:53
johnsomStill more work to do, but progress19:54
opendevreviewMichael Johnson proposed openstack/python-designateclient stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby  https://review.opendev.org/c/openstack/python-designateclient/+/78126120:00
opendevreviewMerged openstack/python-designateclient stable/wallaby: Update .gitreview for stable/wallaby  https://review.opendev.org/c/openstack/python-designateclient/+/78125520:05
eanderssonThe API logs are very spammy. I wonder if that is due to the new LOG.exception in the api middleware?20:48
eanderssonhttps://zuul.opendev.org/t/openstack/build/d9f800254d7f425e931df4b64b127797/log/controller/logs/screen-designate-api.txt20:48
johnsomYou are just not used to having *any* api logs... Grin let me see20:50
eanderssonlol20:51
johnsomOh, the oslo policy stuff. Yeah, there have been many discussions about that.20:51
eanderssonIt could be all the added functional tests as well, but pretty sure some of those error logs were historically being supressed20:51
johnsomThere is this proposal: https://review.opendev.org/c/openstack/oslo.policy/+/79953920:52
eanderssonActually referring to the errors, but that too20:52
johnsomYeah, the forbidden errors are probably fallout from merging those broken patches in wallaby. I would really like to see my patch merge soon-ish: https://review.opendev.org/c/openstack/designate/+/80072720:53
eanderssone.g. https://paste.openstack.org/show/bktSs1eAfbgInqq0DJDg/20:53
eanderssonWe only need to log designate.objects.adapters.bas20:54
eanderssonbut we are showing that twice, plus a bunch of unnecessary stuff under ERROR designate.api.middleware20:54
johnsomYeah, interesting. Amplifying the negative test case error logging20:54
eanderssonI am guessing that adding LOG.exception(...) probably shows the traceback twice20:55
johnsomexception will log the traceback20:55
eanderssonhttps://paste.openstack.org/show/811262/20:55
eanderssonThis is what I expect to see20:55
opendevreviewMerged openstack/python-designateclient master: Stop to use the __future__ module.  https://review.opendev.org/c/openstack/python-designateclient/+/73291920:56
opendevreviewMerged openstack/python-designateclient master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/python-designateclient/+/79089120:56
opendevreviewMerged openstack/python-designateclient stable/victoria: Update .gitreview for stable/victoria  https://review.opendev.org/c/openstack/python-designateclient/+/75252520:56
johnsomThat is basically the only difference between LOG.exception and LOG.error, exception will log a traceback20:56
eanderssonYea - but we have a ton of code designed to provide you with the intended traceback20:56
eanderssonIt20:57
eanderssonIt's why we have this stupid thing https://github.com/openstack/designate/blob/master/designate/rpc.py#L22520:57
johnsomlol20:57
johnsomI can't dig into this now, but yeah, something to look at for sure20:58
eanderssonYea - not the end of the world20:58
eanderssonespecially in real usecases :p20:58
johnsomYeah20:58
opendevreviewErik Olof Gunnar Andersson proposed openstack/python-designateclient master: Add shared zone commands  https://review.opendev.org/c/openstack/python-designateclient/+/72633520:59
opendevreviewMerged openstack/python-designateclient stable/victoria: Update TOX_CONSTRAINTS_FILE for stable/victoria  https://review.opendev.org/c/openstack/python-designateclient/+/75252621:06
opendevreviewMerged openstack/python-designateclient master: Cap jsonschema 3.2.0 as the minimal version  https://review.opendev.org/c/openstack/python-designateclient/+/73096721:06
opendevreviewMerged openstack/python-designateclient master: Remove H402 hacking as it is deprecated  https://review.opendev.org/c/openstack/python-designateclient/+/41974221:48
opendevreviewMerged openstack/python-designateclient master: Clarify that name or ID can be used on TLDs  https://review.opendev.org/c/openstack/python-designateclient/+/81481921:48
opendevreviewErik Olof Gunnar Andersson proposed openstack/python-designateclient master: Use py3 as the default runtime for tox  https://review.opendev.org/c/openstack/python-designateclient/+/78715521:57
johnsomI figured we would have a few rebases in our future with that backlog.22:06
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Remove LOG.exceptions from __call__  https://review.opendev.org/c/openstack/designate/+/81916822:12
eanderssonThe logging is already handled here22:12
eanderssonhttps://github.com/openstack/designate/blob/master/designate/api/middleware.py#L28022:12
eanderssonIf we want to keep the current behavior we could just remove the if statement here22:13
johnsomCool22:14
eanderssonexpected basically means that the exception is intended e.g. 404 throws a DB Not Found error22:14
eanderssonWe could add a else statement and do something like LOG.debug(e, exc_info=True) as well22:15
eanderssonhttps://paste.openstack.org/show/811265/22:17
eanderssonLet me know if you want me to change it to this instead ^22:18
johnsomPersonally, if it is expected I don’t know that we really need to log it.22:41
opendevreviewMerged openstack/python-designateclient stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby  https://review.opendev.org/c/openstack/python-designateclient/+/78126123:09

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