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
When designate-manage pool update is used we trigger an AFXR and
use that information to rebuild the zone. This is however only valid
for secondary zones, as the AXFR does not contain all the internal
information required for a primary zone and that causes designate to
lose important internal record data.
Closes-Bug: #2036750
Change-Id: I77a5d05cd8f55e975a16cb386221d53b63131886
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I31fd30ad48540b201850cd7acbc90e46833a989a
Shared_zones tables is the only table not defining the options
`mysql_engine` and `mysql_charset`, leading into an error if database
default charset is different from the one defined in the other tables.
Change-Id: I1d254553d40a50be264d67e1a8e81fa31f7a4c9f
There is no legit reason to have the producer running
if there are no tasks running.
Also improved the test coverage.
Change-Id: I05a69cf80785c912aaef2e29bfc0a1e5d57ceb6c
Removes all unused components of the schema code and
simplified the schema class.
Closes-Bug: #2031922
Change-Id: Ia5e4a8760161424851eda22051385695ec2c7a9b
- Moved record regexes to constants.
- Moved floating ip regex to constants.
- Moved valdiation regex to constants.
- Added additional floating ip tests around regexes.
Change-Id: I3cb738f2775f770deda30253b91f148b593314bc
This ensures the options for oslo.versionedobjects library are
included in the file generated by oslo-config-generator.
Change-Id: Icc60e155c88efdb2a2c59637b35b19c3e92918c0
This is one of the tests that pretty frequently
fails due to a race condition. Simplify it a bit
to remove the risk of a race condition.
Change-Id: I1a17a24f644c8dc28c4744baf7e05f4e011c47f7
The python blockdiag module is unmaintained and will likely be removed from distros.[1]
This patch replaces blockdiag with graphviz diagrams.
[1] https://github.com/blockdiag/blockdiag/pull/171
Change-Id: I3a902c60b59071b466e1bf1ec6bda205e58b378c
We never provide any extra parameters in any
of these code paths and instead of adding missing
testing coverage it's better to just remove these
code paths.
Change-Id: Iab105ec5f45083a9026718572d77870fd908d660
A recent patch[1] introduced an incompatibility with sqlalchemy 2.x.
Unfortunately the upper-constraint of oslo.db < 13.0.0 blocks us from properly
testing with sqlalchemy 2.x, so this issue was not caught.
[1] https://review.opendev.org/c/openstack/designate/+/880514
Change-Id: Ibc0569235997ea1feb2341adc1e942ecb3fc6dcb