Result of running
$ pyupgrade --py38-plus $(git ls-files | grep ".py$")
This was inspired by Nova [1] and Octavia [2]
Fixed PEP8 errors introduced by pyupgrade by running:
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place designate
and manual updates.
[1]: https://review.opendev.org/c/openstack/nova/+/896986
[2]: https://review.opendev.org/c/openstack/octavia/+/899263
Change-Id: Idfa757d7ba238012db116fdb3e98cc7c5ff4b169
Made some changes to make the api base_uri code easier
to test and standardized the implementation.
Change-Id: Ie2fc0dda13e455dc2cda10c4e09fb58e549c229f
- Split adapters test into separate file.
- Renamed test_yaml_adapters to test_adapters_yaml.
- Minor change to code to remove redundant if check.
Change-Id: Idabe1930c70d4a304bc0f74b3fe1fc42d6d6e254
Fixed a minor bug where a timeout could be passed as either
a string or a int, but didn't handle the conversion properly.
Change-Id: Idbe15d59299d363305dd4404080400157cf90d2c
The direct dependency to python-memcached was removed when pool-manager
was removed[1]. Now python-memcached is not directly required by
designate and it's part of indirect dependencies.
[1] 52ad1c4c13d1fead646435634e4b07bb32c68d28
Change-Id: Iaf3a5e3c92d5eec53aa9dcf5ef52636cd39b4362
This library is no longer used since designate-agent implementation was
cleaned up by [1].
[1] 2868db4f66282a9ab85abeb7e4a451a08d96547e
Change-Id: I11e55be43020eb314356c9bafe209307ae0e5e8e
The os-win library was used by designate-agent to manage Microsoft DNS
but the implementation was removed when designate-agent was removed[1].
The os-win library is part of the WinStackers project which was already
retired, so it will no longer be maintained.
[1] 2868db4f66282a9ab85abeb7e4a451a08d96547e
Change-Id: I66acc3c88da395e912f6336b5ba87e4de81de8ad
This patch adds an example of the "clean_zonefile" option in the BIND9 targets in the pools.yaml file. The option has existed in the code, but was not documented in any way.
It also enables this feature in the bind9 devstack plugin for testing and to reduce the storage utilization during test runs.
Change-Id: I70b92b400cfeb059d1a1889ffa72621e0011d8c6
With the updated example api-paste.ini, deployments may need to adjust the
max_request_body_size setting to accommodate zone imports.
This patch adds a release note to highlight this setting.
Change-Id: I3a27100d073af5833155ea169abd71638c498ffc
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