Friday, 2023-04-07

opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Use find_recordset when looking up recordsets internally  https://review.opendev.org/c/openstack/designate/+/87930505:55
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Secondary zone loops AXFR transfer during zone creation  https://review.opendev.org/c/openstack/designate/+/86413105:55
ozzzo_workeandersson: Switching from get_recordset to find_recordset didn't make a difference, so I tried deleting thisrecord instead of record_to_delete, and that fixed it: https://paste.openstack.org/show/bbKOfD6JNWHf9fD4qlcW/12:08
ozzzo_workApparently there is a difference between the recordset returned by find/get, and the recordset that is returned by stepping through the record12:09
ozzzo_workIt's not obviouis what the difference is; if I use json.dumps to print both, they appear identical12:09
ozzzo_worksorry that was kind of garbled. When _delete calls _update_or_delete_recordset, it passes "record"12:19
ozzzo_workIt appears that the "record" that is passed by _delete (setting record_to_delete) is different from the "thisrecord" that is generated by stepping through recordset.records12:20
ozzzo_workbut only in rare cases12:21
ozzzo_workapproximately 1 out of 5012:22
eanderssonInteresting - I did extensive testing on current version, and I’ll retreat that on train to see if it is Train specific15:44
eandersson*retry15:45
opendevreviewMichael Johnson proposed openstack/designate master: Multi-pools implementation  https://review.opendev.org/c/openstack/designate/+/85797815:58
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Use ids to remove records in the sink  https://review.opendev.org/c/openstack/designate/+/87983222:50
eanderssonozzzo_work ^ try the above, I assume this is the same as you are talkinga about right?22:51
eanderssonSo a record in a different state will fail23:12
eanderssonCan you create a bug for this?23:12
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Use ids to remove records in the sink  https://review.opendev.org/c/openstack/designate/+/87983223:15
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Use ids to remove records for sink and ptr  https://review.opendev.org/c/openstack/designate/+/87983223:19
eanderssonGreat find btw. I was convinced it was the find operations that weren't returning the records, but it's just the status that changes during the process and removal does not support that. Much like johnsom suspected at some point.23:27
eanderssonIt's a very small window for the race condition, but enough I guess for your setup to hit it every ~50th time.23:27
eanderssonhttps://paste.opendev.org/show/bY9rEhkdTl1Soo6GD0NQ/23:29
eanderssonSomething like this would reproduce it23:29
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Use ids to remove records for sink and ptr  https://review.opendev.org/c/openstack/designate/+/87983223:45

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