Commit Graph

32 Commits

Author SHA1 Message Date
Zuul 54e3ece623 Merge "Add catalog zone support to devstack plugin" 2024-02-27 16:44:15 +00:00
Michael Johnson 4258633ae5 Add catalog zone support to devstack plugin
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>
2024-02-20 18:24:36 +00:00
Takashi Kajinami cb47b4e00e Make edgegrid-python optional
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
2024-01-22 21:47:31 +09:00
Zuul 21b266b070 Merge "Remove devstack support for suse" 2023-11-22 02:46:19 +00:00
Michael Johnson efaeb9085e Remove devstack support for suse
Devstack has removed support for suse[1], so we need to remove our usage of
functions from devstack that no longer exist (is_suse).

[1] https://review.opendev.org/c/openstack/devstack/+/871641

Change-Id: Ib136de0ee6cf5884918a29abd8b281d3b4cccf85
2023-11-14 18:02:01 +00:00
Michael Johnson 5809159e4a Add clean_zonefile to BIND9 pool.yaml doc
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
2023-10-24 03:13:18 +00:00
Erik Olof Gunnar Andersson 2868db4f66 Remove deprecated designate-agent
This patch completely removes the designate-agent service
and all agent related plugins.

Change-Id: Ibe4011fb85797282fa44742d4b9c9b7c00e78622
2023-10-04 14:39:57 +00:00
Erik Olof Gunnar Andersson 0b162a4c48 Add Ubuntu 22.04 CI support
Change-Id: I04a3a48c7e72797092fd1c3bdc6252085eff04df
2022-10-23 20:08:49 -07:00
Juan Pablo Suazo c230ddb8c5 Adds api_ca_cert configuration variable to pools.yaml
Adds a configuration variable that allows a user to
declare the CA certificate to be used to verify
traffic with a PowerDNS API endpoint.

Closes-Bug: #1971856
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: I57f3d5a1d1f79186cc5b38e76d30f62e01b60482
2022-05-13 11:21:47 -04:00
Gunju Kim 771197c2f3 Remove Akamai (eDNS SOAP API) backend
The Akamai eDNS SOAP API this backend uses no longer exists at Akamai.

Related-Bug: 1946340
Change-Id: I6545781f263c6a3d124364785aedcf2518116485
2021-10-12 16:32:49 +00:00
Michael Hood 5aac48f08b Add NS1 backend
Introduce an NS1 backend.

Signed-off-by: Michael Hood <mhood@ns1.com>
Change-Id: I80fe08238005a94161e2dbcc89e77c90cde0a715
2021-03-08 10:55:06 -08:00
Jens Harbott 6f17fe10bb Fix pdns4 devstack plugin
We no longer need to deal with xenial or older distro versions, so we
can assume that we can always install pdns4 from the distro directly
and don't need the distro version check any longer.

Drop a config option that was removed in pdns 4.2.x.

Use mysql credentials correctly.

Change-Id: I90af3a092296f943509833608f25522b6f8e9ab6
2020-09-28 08:59:24 +00:00
Sergey Kraynev 318b8d0319 Implement create/delete zone for Akamai v2 API
- Ignore duplicate Zone error
- Handle error when contractId or gid is missed
- Ignore port for masters servers, because Akamai uses only 53 port and
does not allow to specify any port in list of masters servers.
- Added timeout and retries for soft Zone Delete
- Added handling errors on the delete zone action
- Added Log info message with RequestId on soft zone delete
- Added processing for TsigKey during creation zone
- Added devsatck_plugin for akamai_v2 backend

Depends-On: https://review.opendev.org/#/c/692819/4

Change-Id: Ib221f4cf0371e70fc6900582d826ffc1bdfc12b9
2020-01-16 18:54:30 +00:00
Erik Olof Gunnar Andersson 660eacbce4 Removed deprecated powerdns 3 driver
This driver was replaced by the pdns 4 driver
many cycles ago and is being permanently removed.

Change-Id: Ic34cee5fde21f838b6dd6b54fcdd767ec8b0bc18
2019-09-24 04:26:19 -07:00
Erik Olof Gunnar Andersson 2ad08a6a05 Fix ipv6 bugs with devstack and pdns4 driver
* Change dns backends and pools.yaml to use
  ipv6 addresses not wrapped in brackets.

* Changed MySQL backends to use MYSQL_HOST.

* Fixed bug in pdns4 driver not allowing
  masters to use an ipv6 address.

Depends-On: https://review.opendev.org/#/c/678324/
Change-Id: I8f469e732618732f5417c1b5e6c2049eaa83ea78
2019-08-29 08:12:38 -07:00
Zuul f65ce40c9a Merge "Update vagrant config" 2019-07-01 16:33:42 +00:00
Graham Hayes 3734f2a13f
Update vagrant config
* Move to bionic
* Add openSUSE Leap 15
* * Update Bind devstack backend plugin to work on Leap
* Remove port mapping
* Rmove the .gitconfig copy into the VM

Change-Id: I99d228f850e03045febf196f12eef5927f7605b9
Signed-off-by: Graham Hayes <gr@ham.ie>
2019-06-19 14:44:37 +01:00
Erik Olof Gunnar Andersson 4eed31a99f Remove KS v2 support and add region support
Keystone V2 is no longer supported and is removed
from the D2D driver in this patch. In addition
we also add support to pass a region_name on to the
driver.

Change-Id: Ia3d2951f4e90817782bf959a6b2402eac26dbc7f
2019-05-25 21:04:55 -07:00
Graham Hayes 59d8cab9bb
Allow non localhost connections to pdns api
PowerDNS 4.1.0 changed the default value of `webserver-allow-from` from
`0.0.0.0/0` to `127.0.0.1` which blocked designate-worker and
pool-manager from connecting to the API [1]

Updated the allowed list of IPs to include the service host.

1 - https://doc.powerdns.com/authoritative/settings.html#setting-webserver-allow-from

Change-Id: I655ba3264507ba0f4fc30ba8a7c3b35d216a9acd
Signed-off-by: Graham Hayes <gr@ham.ie>
2019-03-13 18:03:09 +00:00
hamzah alqtaishat 91fb85429e Add devstack VENV build support
Change-Id: I7bccb19b9d629ccddac1dc2808f8a8b89ed5c7a7
2019-02-25 14:21:00 -08:00
Jens Harbott 48335d5868 Start replacing designate legacy jobs
Add a designate-base job to replace the legacy designate-devstack-base.

Add test job on bionic with py36.

Change-Id: I7c92b5b4464b585b0c9f64408507d8a2143f99d8
2018-05-16 14:18:58 +00:00
Graham Hayes 26a7ad4c2d Remove lowercase constarint for pgsql
Change-Id: Ifcb43803be2ad836a87cb925fa8910e8fd9ea8cf
2016-12-12 16:01:49 +00:00
Graham Hayes f5a9fbe617 Add pGSQL support for pdns4 driver in devstack
Change-Id: Iae8c8cd2d599aa3e5756786f5844231ea0e366ae
2016-12-07 16:20:34 +00:00
Graham Hayes aa23d86835 Add PowerDNS 4 driver
Fixes-Bug: #1590429

Change-Id: I1f6017ce83a49dc0c3827c540ac18186bb14f72b
2016-09-16 17:33:13 +01:00
Alin Balutoiu 95f451dc8a Add support for Microsoft DNS Server backend
Currently, there is no support for Microsoft DNS
in designate. This patch addresses this issue
by adding support for Microsoft DNS Server using
an agent backend in designate.

Change-Id: I8db1906e17e5fb20fa6f3e5d1f13b2d701f0c032
Implements: blueprint msdns-backend-support
Depends-On: I029747555a58e0a8e362b65e6c0c470cf2774e42
2016-08-22 12:19:54 +03:00
Federico Ceratto 5d328f07aa Add Knot DNS backend
Change-Id: I885c003afc2496ba4aa9631568be02e7d4654e52
2016-05-17 11:59:27 +01:00
Kiall Mac Innes 620fc6ec97 Add Agent DevStack Backend
* Add a new backend for DevStack allowing the Agent
  backend to be configured.
* Change the agent to choose a sane port by default, it's extremely
  unlikely anyone is exposing the agent on port 53 intentionally.
* The agent itself is not yet configured, this will come later as it
  involves refactoring most of the BIND non-agent backend into a lib.
* Fail when the user asks for the agent backend, without also enabling
  the agent service.

Change-Id: Iedde58f4f5a2ea89cb9da78aaec1853208af8fc9
2016-04-14 20:58:06 +01:00
Jenkins f65d7e3138 Merge "Fix devstack/fedora/bind9 support" 2016-03-18 19:13:13 +00:00
Kiall Mac Innes e612a3974f Enable use of Pools YAML
This change adds the tooling to use the DB Tables created for pool
config data and the tooling to migrate the config info itself.

Change-Id: If99dbf527ef1ac0f05f15fe77f68f64e357fe0a5
2016-03-17 19:13:31 +00:00
Kiall Mac Innes 6211b7d2e1 DevStack: Explicitly install libcap2-bin and don't fail without AA
Change-Id: I2806041fc798f17c49671143cfa63ac3780a1450
2016-03-17 00:14:24 +00:00
Attila Fazekas cdeaaf29d8 Fix devstack/fedora/bind9 support
The package name is 'bind', it was bind even in el6.
Also the bind9 was hardoded instead of using the $BIND_SERVICE_NAME.

Change-Id: I4a02800e5b527f0887c02e9541dc34ac04f5b517
2016-03-16 15:16:13 +01:00
Christian Berendt bb1b24c25a Migrate existing Devstack integration into a Devstack plugin
This patch will not remove the existing Devstack integration
in contrib/devstack.

Change-Id: I23ef00bb136e92abc5e69a9bbe1093cad9d2a362
Closes-bug: #1504214
2015-11-27 16:38:12 +01:00