So far, using YAMLAdapter in pools.yaml context, without providing all
of the pools.yaml attributes altogether, failed because of YAMLAdapter.
An example could be an end user who wouldn't like to deploy catalog
zones in its pools and therefore would drop that attribute from the
pools.yaml file, like in
designate/tests/resources/pools_yaml/multiple-pools.yaml.
Running any designate-manage pool command on a file without all of the
pools.yaml attributes will fail with the following error message:
designate.exceptions.AdapterNotFound:
Adapter for None to format YAML not found
This patch fixes it.
Closes-Bug: #2064720
Change-Id: I214cfc05a834d97a61d0236ab223470631bfc405
This implementation replaces the existing Infoblox driver,
and is based on the official Infoblox Python client.
The following new configuring options are now available.
- wapi_host, wapi_version, cert and key
The original wapi_url option still works, but can now be
alternatively replaced by wapi_host and wapi_version.
Finally, the deprecated configuration options for designate.conf
was removed, and all Infoblox configuration now happens in the pools
configuration.
Depends-On: https://review.opendev.org/c/openstack/requirements/+/905764
Change-Id: I35e03b9818851487686153bc68ad90c081e61966
Two unit tests loaded dns-python code that reads from /etc/resolv.conf on the
test host. If there are no nameservers listed in that file, the test would fail
even though it is not needed for the test.
This patch mocks out the calls dns-python makes that read the resolver records.
Closes-bug: #2064916
Change-Id: Id1949eab3ff9d02150527725c5d305e914942fa8
Use add_timer_args with stop_on_exception=False to avoid hard stop of
periodic task during exception.
Closes-Bug: #2064574
Change-Id: If5cb6ddcac114addc99f0e025d517b010a3ec739
Remove the deprecated [service:api] options because these were
deprecated several cycles ago[1][2] and have had no effect for long
time.
[1] 1a4ace8a9adf1a938c7f465e8f5666fc8cd21c16
[2] 79c61e46f367a9e6606490a716bce97534a0173f
Change-Id: Ibdea583c6e96731158ee412f11c08c6ac1962c60
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: Ic67e02b74367697ae67f86cff60539fcff046be2
This patch adds the ability to configure devstack to use catalog zones
when using the BIND9 backend.
It also adds a test job "designate-bind9-catalog-zones" that uses catalog zones
with a BIND9 backend.
Change-Id: Ib618d7850b0a86a8eb10eaa52b0e330cf908883a
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
This implements the spec to introduce support for providing catalog zones.
Co-Authored-By: Nico Keller <nico.keller@inovex.de>
Change-Id: Ic9e593d661f2eb1db59a5b235521e0746489f9bb
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
The edgegrid-python library is not necessary unless akamai backend is
used, so this library should be an optional dependency to avoid pulling
unnecessary packages.
Note that akamai backend hasn't been updated since it was added 4 years
back. Probably we can deprecate and remove it assuming it's not really
used(or at least it's not maintained).
Change-Id: If13e722e5ec3cdcd11461201ea20b2dc022cce10
The zake driver in tooz was deprecated[1] because the zake library has
been archived[2].
[1] 9acbc5391521155b04aa6654fb91c90b467b5750
[2] https://github.com/yahoo/Zake
Change-Id: I0fabc466c045c2dc20c88932b061422612c48005
hacking 3.0.x is too old. This also removes the note about old behavior
of pip which has been changed in recent versions.
Notes:
- A few errors newly detected are also fixed.
- This also fixes the compatibility with flake8 >= 3.0 because flake8
is also bumped when we bump hacking.
- pretty_flake8 tool is removed because it's not commonly used but
needs maintenance effort to keep it in sync with newer releases
Change-Id: I8e91b06199bfbed1d6e9f8d62ddf52fafd60b7f9
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: Id074752fede10b9422e1e47739ff3ec28f65738b
This code should never be used in production, but it is always
good to have basic test coverage either way to make it easier
to understand the implementation.
Change-Id: I17e74223e5c68fe9d0799dedd94c88e399ff21ba
- Moved all functional tests to dedicated folder.
- Updated a few tests to use faster oslo tests.
- Renamed fixtures.py to base_fixtures.py.
Change-Id: Ie8c5591dd12a91350173bec2b418b6c9ddea79fe