Commit Graph

218 Commits

Author SHA1 Message Date
OpenStack Release Bot 2db9b9377d Update master for stable/2024.1
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
2024-03-15 09:55:59 +00:00
Zuul 018c7ee862 Merge "reno: Update master for unmaintained/xena" 2024-03-05 23:02:48 +00:00
Zuul 6cba532831 Merge "reno: Update master for unmaintained/wallaby" 2024-03-05 23:02:46 +00:00
OpenStack Release Bot 2be754cb5c reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Icbd0dd4b4d06f12be4877b9b8d65a69f68cef85f
2024-03-05 18:42:01 +00:00
OpenStack Release Bot f258d0f05e reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I9a0eeb1c6913a71d990a3e29bcbf80d0066d39df
2024-03-05 18:41:16 +00:00
OpenStack Release Bot 3215f42e9e reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I9ccb2a934ae1d23ef9b5e5185ee609ea53e68207
2024-03-05 18:40:27 +00:00
Zuul 91f7d7d3fb Merge "Add support for catalog zones" 2024-02-14 20:16:54 +00:00
OpenStack Release Bot f540b8795c reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ia1b9291e45ef067ccd213f4ff83877f571742ffb
2024-02-05 14:06:13 +00:00
Jan Hartkopf 60a6ceed09 Add support for catalog zones
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>
2024-01-22 15:22:13 +01: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
kpdev 8733f8f85b Add new API for zone move
The new API would be v2/zones/<zone_id>/tasks/move
Only POST would be allowed on this API.
This move zone from existing pool and add it in new pool. After zone
pool_id field will be updated in DB, clone-zone will be created on
target pool backend servers. The zone transfer(AXFR/IXFR) will happen
and the zone on target pool gets synced with the Designate DB.
This command serve as replacement to "zone export + zone delete + zone
import" procedure.

Added following things in pool move operation:
  - Add/Update NS servers of new pool in the zone

Implements: blueprint zone-move
Change-Id: I5307de429114b20efd9785c3c0cdb33977418423
2023-12-15 22:31:27 +00:00
Erik Olof Gunnar Andersson f83ebe6a0e Remove unused rpc calls
These RPC calls were only used internally and does not
need to be exposed as RPC calls.

The following rpc calls were removed.
- find_records
- find_recordset
- update_zone_import

Change-Id: I0dd7c77def9a9d41a518b92b9a662a0e1fce1e3e
2023-12-06 14:00:57 +00:00
Brent Eagles 1f045ee64a Add charset and engine parameters to alembic create tables
This patch enforces utf8 and InnoDB when creating tables in
mariadb/mysql.

Closes-Bug: #2043701

Change-Id: I7afb533bd2d19dfaa900e3b946dc1e3563cc5198
2023-11-17 15:56:28 +00:00
Zuul e4e09a7c1d Merge "Removed unused storage_driver config" 2023-10-31 16:12:30 +00:00
Erik Olof Gunnar Andersson d7e6368e6b Add missing newline in mdns release note
It does not render the list properly without this newline.

Change-Id: I044a4552e1b4a6c3a3ecbad8c5a3b870d554d17e
2023-10-31 12:14:27 +00:00
Erik Olof Gunnar Andersson ef4640347a Removed unused storage_driver config
Change-Id: Idecbaebe2a85d2c5f65e83b542b47e535067c47f
2023-10-29 08:05:14 -07:00
Erik Olof Gunnar Andersson 329e292c87 Removed deprecated mdns config
- Additionally removed unused topic config.

Change-Id: I552373e99fc184c5da3193d0a44a08da6dcf3e51
2023-10-29 05:21:19 -07:00
Zuul ac556c65b5 Merge "Remove deprecated designate-agent" 2023-10-14 15:31:05 +00:00
Michael Johnson b22803885f Add release note about max_request_body_size
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
2023-10-10 16:12:21 +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
OpenStack Release Bot d6de3cf4f0 Update master for stable/2023.2
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
2023-09-15 14:16:51 +00:00
OpenStack Proposal Bot 4ba42190af Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I90badecde1f32fc89ef4910ad65723ec6757fc5c
2023-09-10 03:43:12 +00:00
Michael Johnson 0648250388 Fix DB upgrade with using SQLAlchemy 2.x
Sqlaclhemy metadata bind is deperecated from version 1.4 and will
be removed in SQLAlchemy 2.0 [1]. It can be easily replaced with
metadata reflect which works for SQLAlchemy 2.0.

Also current metadata.bind does not result in fetching all tables from
the database, so metadata.tables is an empty mapping, which leads
to db_sync failures.

[1] https://docs.sqlalchemy.org/en/14/core/metadata.html#sqlalchemy.schema.MetaData.bind
[2] https://docs.sqlalchemy.org/en/14/core/reflection.html#reflecting-all-tables-at-once

Co-Authored-By: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
Change-Id: I8c721722eeb36de64b8c8a79d4fdcec0e92388fa
2023-08-23 14:36:48 +00:00
OpenStack Proposal Bot c447225084 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iec6ffe07a86c2b4dac3a9a19563757d478733c22
2023-07-20 04:20:22 +00:00
OpenStack Proposal Bot 963751f2b4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7c30db493111107aba79de6c5361ab0726046704
2023-07-08 02:53:29 +00:00
Michael Johnson 011ebe2e7c Fix list zones if shared with multiple projects
This patch fixes a bug when listing zones or updating recordsets in
zones that are shared with more than one project.

Closes-Bug: #2025295
Change-Id: I8af9b5cf8c1473bbf7db71a1fb848fb64509db84
2023-06-30 18:53:40 +00:00
OpenStack Proposal Bot 3621b9d1b1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id9c796081ba9b0ed87135f473859720a77879cb4
2023-06-18 04:02:14 +00:00
Michael Johnson 5b7ee8899d Fix zone list/show for shared zones
Previously projects that had a zone shared with them were unable to view the
shared zone. This patch corrects that issue.

Change-Id: Ia3ede57ac2249a1bcd49512aa36452b2b9ffd827
2023-05-31 20:18:30 +00:00
OpenStack Proposal Bot f194b33bd3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If6fe98647dd5564b29bae025ea3880e0d66bba1d
2023-05-09 03:40:48 +00:00
Erik Olof Gunnar Andersson 2cb42ac9f6 Use ids when removing sink managed records
If the record status changes during the removal process,
the current implementation will fail.

Closes-Bug: 2015762
Change-Id: Iebe609e5f365d03e99f2a4580671175b4642763c
2023-04-13 23:19:20 +00:00
Zuul f4ce71c8f8 Merge "Move to a batch model for incrementing serial" 2023-04-06 22:51:09 +00:00
Zuul 6591b53e50 Merge "Fix sharing a zone with the zone owner" 2023-04-04 04:57:15 +00:00
Erik Olof Gunnar Andersson fb9c2da977 Move to a batch model for incrementing serial
This patch moves the responsibility of incrementing the
serial on a zone from central to the producer. This also
means that NOTIFY is triggered by the producer after the
serial has been incremented. The advantage of this approach
is that we can now batch requests which means less work
for the DNS servers, and it removes the risk of
race-conditions when updating the serial. Finally, the
producer is sharded and is easy to scale which means that
this approach should scale well with many zones.

The disadvantage is that it may take up to 5 seconds longer
for the DNS record to be updated on the DNS server. This
can be lowered by increasing the frequency of the task
that is responsible for incrementing the serial.

Depends-On: https://review.opendev.org/#/c/871266/
Change-Id: I5e9733abaaa40c874e1d80d7b57e563df0f12cee
2023-04-04 03:48:34 +00:00
Michael Johnson edcd2e0998 Fix sharing a zone with the zone owner
There was a bug that allowed users to create a zone share with the zone
owner. This would then cause issues deleting the zone share as the zone
owner owns the NS and SOA recordsets in the zone.
This patch raises a BadRequest if the user attempts to create a zone
share for the zone owner.

Closes-Bug: #2011585
Change-Id: I1b56c492436821f650d1ba669614d92595d2f476
2023-03-31 21:02:24 +00:00
elajkat fd09a0cfc3 Use SDK instead of neutronclient
The python-neutronclient has been deprecated for the CLI since Ocata and
the python bindings "neutronclient" has been deprecated for removal as
of the 2023.1 (Antelope) release[1] in favor of using openstacksdk.
This patch migrates Designate from using the neutronclient to using the
openstacksdk for communicating with neutron.

[1] https://docs.openstack.org/releasenotes/python-neutronclient/2023.1.html

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I0198f38afe3d5c32ea06d9e674ab0ff849f360e6
Related-Bug: #1999774
2023-03-25 06:06:30 +00:00
Erik Olof Gunnar Andersson 05a112177d Update for sqlalchemy v2.x compatibility
This patch updates Designate to be compatible with SQLAlchemy 2.x.

Depends-On: https://review.opendev.org/c/openstack/oslo.db/+/874858
Change-Id: I5b9cfb4b86bd7c342fd50d1b50dd12dce0c8e81a
2023-03-11 03:50:19 +00:00
OpenStack Proposal Bot dd2a945c78 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id3eecf26bc0147d8b190634ad5e83310b915418b
2023-03-07 03:23:33 +00:00
OpenStack Release Bot 0d735bbecd Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: If35c26f7a55ba18b262d6c3a6cf597a6f17bc9e8
2023-03-06 09:14:13 +00:00
Zuul 60edc59ff7 Merge "Implement sharing of zones" 2023-02-16 06:06:52 +00:00
Igor Malinovskiy f39704dcd8 Implement sharing of zones
Author: Igor Malinovskiy <u.glide@gmail.com>
Co-Authored-By: Sergey Drozdov <sergey.drozdov.dev@gmail.com, sergey.drozdov93@thehutgroup.com>
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>

Change-Id: Ibd780f3c695a95be00ff97d7736d5a0bebea79b9
Closes-Bug: #1714088
Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/872069
2023-02-14 01:54:15 +00:00
Zuul d958a72064 Merge "Deprecate the agent framework and drivers" 2023-02-11 00:54:35 +00:00
OpenStack Proposal Bot 54aaa295a0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I74a03900e1cf3e386e9c999d246ba81ebbd81c69
2023-02-10 04:11:03 +00:00
Michael Johnson 63ca389755 Deprecate the agent framework and drivers
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
2023-02-05 00:29:55 +00:00
OpenStack Proposal Bot 0e58c3d757 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I82a3d8e15869847ce097b6ada4f580758c1390f7
2023-02-04 02:58:41 +00:00
OpenStack Proposal Bot a9cf887da1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I167c204b6a0f537ceb5b3b28e32dfbc7c617cff2
2023-01-27 04:09:24 +00:00
Zuul 766d089c46 Merge "Bump minimum dnspython to 2.2.1 for python 3.10" 2023-01-21 21:10:17 +00:00
Michael Johnson 969e80491c Bump minimum dnspython to 2.2.1 for python 3.10
This patch proposes bumping the minimum dnspython version to 2.2.1 to support
python 3.10 which is part of the antelope (2023.1) tested runtimes[1].

2.2.0 had a bug[2] and has been blocked in global requirements.

[1] https://governance.openstack.org/tc/reference/runtimes/2023.1.html
[2] https://github.com/rthalley/dnspython/issues/766

Change-Id: I43617fcf29e404bf58b1a3467f2aaf23c5acd460
2023-01-19 17:21:42 +00:00
Michael Johnson 41bf7dd319 Workaround issue with dnspython >= 2.3.0
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
2023-01-17 17:46:27 +00:00
OpenStack Proposal Bot e6bf93a80a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8e40a36761cd2ad3641ee184e83d069190602caa
2022-12-11 03:58:36 +00:00
Zuul 4ecd1089f1 Merge "Add option to force delete zone-files in delete API." 2022-11-23 01:23:51 +00:00