designate/designate
Erik Olof Gunnar Andersson ecaff9e6d3 Fix AXFR loop when updating secondary zone
When a secondary zone is created or updated we trigger an AXFR,
this AXFR then goes ahead and updates the zone. This then causes
the AXFR code to get triggered again as it thinks the masters
has changed.

We fix this by ensuring that when we update the zone from the AXFR
code that we always reset the masters field.

Partial-Bug: #1856442
Change-Id: Ifc2efb5a6d1091ff16373f3cbe3846f5e4371272
2023-09-26 12:38:04 -07:00
..
agent Cleanup DNS Middleware 2023-07-26 09:25:16 +02:00
api Moved all regexes to constants 2023-08-14 17:21:24 +00:00
backend Use i18n and not gettext for infoblox 2023-07-30 18:41:54 +02:00
central Fix AXFR loop when updating secondary zone 2023-09-26 12:38:04 -07:00
cmd Restructured SQL code 2023-05-11 21:28:36 -07:00
common Prevent XFR from being used on PRIMARY zones 2023-09-21 12:37:20 +00:00
conf Restructured SQL code 2023-05-11 21:28:36 -07:00
hacking Add hacking check for line continuation backslash 2023-02-21 20:12:04 +00:00
locale Imported Translations from Zanata 2022-08-22 03:51:54 +00:00
manage Simplify schema implementation 2023-08-20 22:13:28 +02:00
mdns Cleanup DNS Middleware 2023-07-26 09:25:16 +02:00
network_api Use SDK instead of neutronclient 2023-03-25 06:06:30 +00:00
notification_handler Refactor managed record logic 2023-05-12 01:41:41 +00:00
objects Moved all regexes to constants 2023-08-14 17:21:24 +00:00
producer Remove unused storage/quota attributes in producer 2023-08-24 15:13:55 +00:00
quota Restructured SQL code 2023-05-11 21:28:36 -07:00
resources Remove unicode 2022-10-11 16:14:50 +00:00
scheduler Enable H306 check and fix import ordering 2021-11-18 00:30:05 +00:00
sink Add hacking check for line continuation backslash 2023-02-21 20:12:04 +00:00
storage Add mysql_engine and mysql_charset options to shared_zones table 2023-08-31 11:33:46 +02:00
tests Fix AXFR loop when updating secondary zone 2023-09-26 12:38:04 -07:00
worker Fix AXFR loop when updating secondary zone 2023-09-26 12:38:04 -07:00
__init__.py Fix issues with newer flake8 2020-05-12 14:39:03 +00:00
context.py Update designate for RBAC "direction change" 2023-03-31 00:38:50 +00:00
coordination.py Simplify Coordination implementation 2020-04-22 20:54:07 +00:00
dnsmiddleware.py Cleanup DNS Middleware 2023-07-26 09:25:16 +02:00
dnsutils.py Cleanup DNS Middleware 2023-07-26 09:25:16 +02:00
exceptions.py Add hacking check for line continuation backslash 2023-02-21 20:12:04 +00:00
heartbeat_emitter.py Enable H306 check and fix import ordering 2021-11-18 00:30:05 +00:00
i18n.py Update email addresses hp.com to hpe.com 2016-01-11 14:29:33 +00:00
loggingutils.py Add Decorator to log RPCAPI Calls 2016-04-21 14:11:35 +01:00
notifications.py Enable H306 check and fix import ordering 2021-11-18 00:30:05 +00:00
plugin.py Enable H306 check and fix import ordering 2021-11-18 00:30:05 +00:00
policy.py Add oslo.policy.enforcer entry point 2023-01-31 19:05:25 +00:00
rpc.py Use new get_rpc_client API from oslo.messaging 2023-01-19 20:36:43 +00:00
schema.py Simplify schema implementation 2023-08-20 22:13:28 +02:00
service.py Improve DNS Service test coverage 2023-07-23 12:36:07 +02:00
utils.py Move to a batch model for incrementing serial 2023-04-04 03:48:34 +00:00
version.py Switch to oslo.reports 2015-11-05 10:55:29 +01:00