Tuesday, 2020-04-07

eanderssonfrickler will try to take a look tonight00:35
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Stop setting version specific basepython binaries  https://review.opendev.org/70650400:45
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Stop setting version specific basepython binaries  https://review.opendev.org/70650401:09
eanderssonfrickler the mock version was too old, bumped it to 3.0.0 min01:11
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Stop setting version specific basepython binaries  https://review.opendev.org/70650401:11
eanderssonfrickler, mugsie pretty sure there is a race condition in how serial are updated on dns changes01:14
eanderssonWhen two records are created at the same time, sometimes the serial is only bumped for one of them01:15
eanderssonwhich means that everything will look good, but possible that only one of the records get AXFR'd since designate thinks that everything is good01:16
eanderssonbut the second record only gets replicated the next time the serial gets bumped01:17
eanderssonaxfr against the target servers shows the same serial as designate01:17
eanderssonbut the actual content is different01:17
eanderssonI don't have an idea on how to fix this, besides maybe adding a coordinator to this so that the worker can only update one zone at a time?01:17
eanderssonI am thinking that maybe this call here can override another actions call05:04
eanderssonhttps://github.com/openstack/designate/blob/master/designate/worker/tasks/zone.py#L51305:04
eanderssonUnless I am missing something I don't understand what could prevent a potential race condition here05:05
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: [WIP] Adding distributed locking to inc zone serial  https://review.opendev.org/71795505:40
*** ircuser-1 has quit IRC06:07
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: [WIP] Adding distributed locking to inc zone serial  https://review.opendev.org/71795506:13
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: [WIP] Adding distributed locking to inc zone serial  https://review.opendev.org/71795506:16
openstackgerritMerged openstack/designate master: Stop setting version specific basepython binaries  https://review.opendev.org/70650407:36
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: [WIP] Adding distributed locking to inc zone serial  https://review.opendev.org/71795508:09
eanderssonTesting your idea frickler with replacing the top lock08:45
eanderssonTest 1 good08:47
eanderssonTest 2 good08:47
eanderssonNever had two successful runs in a row :D08:48
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795508:52
eanderssonYea that worked. Thanks frickler08:52
frickler\o/09:03
eanderssonThis for sure fixes the race condition.09:04
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795509:20
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795509:20
*** njohnston has quit IRC11:18
*** njohnston has joined #openstack-dns12:59
*** njohnston has quit IRC14:24
*** njohnston has joined #openstack-dns14:34
*** ircuser-1 has joined #openstack-dns15:11
openstackgerritJens Harbott (frickler) proposed openstack/designate master: DNM: test fix coordination lock use  https://review.opendev.org/71814615:13
fricklereandersson: ^^ waiting for test results before merging into your patch, feel free to adapt15:14
openstackgerritMerged openstack/python-designateclient master: Cleanup py27 support  https://review.opendev.org/71745417:23
fricklereandersson: hmm, weird, checks on 718146 have all passed, but I'm seeing a couple of failures when running tox-py36 locally, possibly we need to add some more mocking18:49
eanderssonfrickler do you have a config set up?19:38
eanderssone.g. /etc/designate/designate.conf or even in <repo>/etc/designate/designate.conf19:38
eanderssonbecause I had the same scare until I realized that I had designate configured locally and it was trying to use that config for some reason19:38
fricklerah, good point, yes that is a devstack host indeed. guess we still should get that fixed if we can19:42
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795520:28
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795520:28
openstackgerritErik Olof Gunnar Andersson proposed openstack/designate master: Adding distributed locking to central  https://review.opendev.org/71795522:29

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