The Werkzeug package was included in the designate requirements.txt, but it is
not used by designate.
This patch removes this requirement.
Change-Id: I29b1aba0e8aa455eed7977a5efe887f201963a3c
With this set, if any one of the voting jobs fails, zuul
will report a build failure immediately and abort the remaining
jobs.
This patch enables fail-fast on the gate pipeline as any one
failing job means the patch will not merge.
Change-Id: Ib1872ed973079224f8245eef826399a0b0850f0b
We should not use set_class(), which is deprecated. This fixes it,
by using the element['classes'] directly, as recommended upstream.
Change-Id: I815bc2e8700438f768197337b7afb695a31308d0
This patch marks the agent framework and drivers as deprecated in the Antelope release for removal in the "C" release.
Please see the announcement on the OpenStack discuss mailing list for more information about the deprecation:
https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031803.html
Change-Id: I3a90243dc323a2815ce7d973a5e52248ed1c2ad6
this will allow usage of many oslo.policy scripts, e.g.
to generate current effective policy, or to list redundant polices
defined in policy files.
Change-Id: I1de9b6cc16be2896136c7e99cf150c4b8e4603e9
Closes-Bug: #2004421
The dnspython module >= 2.3.0 now validates the opcodes used when building DNS messages. This breaks Designate because designate is using an "unassigned"[1] opcode 14 for command/control messages inside the backend agents framework.
This patch adds a workaround to override the dnspython opcode enum to include
opcode 14. This will give us time to either remove the agent framework via deprecation or to change the agent framework protocol to not rely on unassigned opcode values.
[1] https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5
Partial-Bug: #2002950
Change-Id: If10443b2e361aa1b467fb64124ad3c82540bcddd
With the minimal Designate deployment with devstack, keystone module
doesn't load proxy_http so Designate API requests may fail. Explicitly
enable the module to make sure the apache2 setup always works for
Designate.
Closes-Bug: #1999019
Change-Id: I1fc02225b6676b68137245df2279340f215221f4
tox.ini started failing with Tox4 which had some
incompatible changes. One is allowlist_externals which now needs to be
explicitly set for each testenv.
Other failure is due to the skipsdist = True.
Fixing tox.ini for tox4 changes.
Change-Id: I7ef284a07866d99cbc34b391295efbae261af7c6
This patch removes the get_migration_manager function from the sqlalchemy
utils module. It doesn't appear to be used anywhere in the code.
Change-Id: I3cc77e6a2607e57ce071078157a7853a03eea021
There was a configuration leak in the agent based bind 9 tests, where if
you have a /etc/designate/designate.conf file with settings other than
the default the tests would fail.
This patch adds a configuration fixture setting override for the two
tests to ensure consistent testing.
Change-Id: I44dc0499e03431261d5b596206858d94cc4803f9
If you delete a zone using the Infoblox backend
the zone will be deleted from Infoblox but the
zone within OpenStack will go into an ERROR state
unless an operator manually logs into Infoblox
and issues a reload of the running configuration.
This commit fixes this bug by issuing a 'restart
if needed' after deleting the zone. This does not
happen when creating zones as 'restart if needed'
can be passed through as a param into that API call.
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Change-Id: I296c5f085cce27033461be81ca58c85f095df89a
Closes-Bug: #1840253
Designate does not delete the zone-files on the back-end when zone is
deleted. This results in thousands leftover zone files on backend e.g.
bind. Add option in designate zone delete API to force clean/delete
zone-files on the back-end. This option is restricted for admin or
owner roles.
Closes-Bug: 1966517
Change-Id: Ic7b8fee4d4702b0632774d32542b23d7d2a8c253
With this it can be reused by the other designate repos and we can
reduce the replication everywhere.
Change-Id: I1fe73145e4a4699939244bc857600efa264f2340
Jsonschema has changed the type of a parameter from a simple
tuple to a pyrsistent map object. Since we were passing in the
defaults anyway, this patch removes those parameters from the
jsonschema call. This makes designate compatible with
jsonschema >= 4.16.0.
Closes-Bug: #1992677
Change-Id: I9cc94506a63371ad78b204030e5e87339982e9e7