summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use ids when removing ptr records" into stable/2023.1stable/2023.1Zuul2023-04-201-9/+17
|\
| * Use ids when removing ptr recordsErik Olof Gunnar Andersson2023-04-131-9/+17
| | | | | | | | | | | | | | | | If the record status changes during the removal process, the current implementation will fail. Change-Id: I02b5d7499440154160c89ed63a2f70652fe72145 (cherry picked from commit b3161ece234b5e2ee7658060aaa936af625bef38)
* | Merge "Use ids when removing sink managed records" into stable/2023.1Zuul2023-04-203-10/+109
|\ \
| * | Use ids when removing sink managed recordsErik Olof Gunnar Andersson2023-04-143-10/+109
| |/ | | | | | | | | | | | | | | | | If the record status changes during the removal process, the current implementation will fail. Closes-Bug: 2015762 Change-Id: Iebe609e5f365d03e99f2a4580671175b4642763c (cherry picked from commit 2cb42ac9f6e5273ad64e697919b62e029466078f)
* | Fix shared zones missing project ID errorMichael Johnson2023-04-191-0/+2
|/ | | | | | | | | Previously if you tried to create a zone share with a scoped token that does not have a project ID, you would receive a 500 error. This patch corrects that to return a proper error describing that a project ID is required when creating zone shares. Change-Id: Ibeb7154a4c300f59dfa25737736f59609b938bcc
* Fix sharing a zone with the zone ownerMichael Johnson2023-04-043-0/+19
| | | | | | | | | | | | 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 (cherry picked from commit edcd2e09989852da94dd1333fcab0eab244d09d7)
* [coordination] backend_url should be secretTakashi Kajinami2023-03-211-0/+1
| | | | | | | | | | | | | | The backend_url option can sometimes contain secrets. For example when redis coordination backend is used and authentication is enabled in redis, the plain redis password is put as an URL element. [coordination] backend_url=redis://:password@127.0.0.1:6379 Closes-Bug: #2012246 Change-Id: I0ee95fc56130e51bf5c799d252e79a469492b7db (cherry picked from commit 541395c42414c40d105ce206e2f200456bbc375f)
* Removed unsupported test B309 from banditErik Olof Gunnar Andersson2023-03-201-1/+1
| | | | | | | | B309 was removed with this patch and breaks the CI. https://github.com/PyCQA/bandit/commit/130a467434ff6b8f9bbd83100e409bc1fcb6f407 Change-Id: I15864a76c8913f151154e2398ae86aea71883498 (cherry picked from commit 758956d5b9321c72d63cbf3d8a1987d5dc6e6bb3)
* Update TOX_CONSTRAINTS_FILE for stable/2023.1OpenStack Release Bot2023-03-061-4/+4
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/2023.1 branch, tests will continue to use the upper-constraints list on master. Change-Id: I757fe656aa1954841beeeb93a47bc513ec3ffe56
* Update .gitreview for stable/2023.1OpenStack Release Bot2023-03-061-0/+1
| | | | Change-Id: I591cebedd758823e0bafc8161fb888dd4ad7ff83
* Add hacking check for line continuation backslash16.0.0.0rc116.0.0Michael Johnson2023-02-2128-135/+147
| | | | | | This patch adds a hacking check for line continuation backslashes and fixes the occurences that existed in the code. Change-Id: I1d1269de231f6e747248a9d816a1d64e3968c69b
* [CI] Reduce workers and disable cinder to save on memoryErik Olof Gunnar Andersson2023-02-181-1/+4
| | | | Change-Id: I677ac79047286fb92343d3d895c38cf1a1076556
* Merge "Remove unused werkzeug requirement"Zuul2023-02-171-1/+0
|\
| * Remove unused werkzeug requirementMichael Johnson2023-02-171-1/+0
| | | | | | | | | | | | | | | | 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
* | Merge "Enable fail-fast on the gate queue"Zuul2023-02-171-0/+1
|\ \ | |/ |/|
| * Enable fail-fast on the gate queueMichael Johnson2023-02-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Do not use Docutil's set_class()"Zuul2023-02-161-22/+22
|\ \ | |/ |/|
| * Do not use Docutil's set_class()Thomas Goirand2023-02-151-22/+22
| | | | | | | | | | | | | | We should not use set_class(), which is deprecated. This fixes it, by using the element['classes'] directly, as recommended upstream. Change-Id: I815bc2e8700438f768197337b7afb695a31308d0
* | Merge "Implement sharing of zones"Zuul2023-02-1646-331/+2887
|\ \
| * | Implement sharing of zonesIgor Malinovskiy2023-02-1446-331/+2887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix mdns deprecation warning and minor improvementsErik Olof Gunnar Andersson2023-02-113-6/+7
| | | | | | | | | | | | | | | | | | | | | - Fix deprecation warning. - Fix minor code warnings. Change-Id: I7bab00649ca7c797d0fd6b2c6b518cd9af1e0544
* | | Merge "Deprecate the agent framework and drivers"Zuul2023-02-1118-29/+191
|\ \ \
| * | | Deprecate the agent framework and driversMichael Johnson2023-02-0518-29/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Imported Translations from ZanataOpenStack Proposal Bot2023-02-101-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I74a03900e1cf3e386e9c999d246ba81ebbd81c69
* | | | Fix dns.resolver import for mdnsErik Olof Gunnar Andersson2023-02-071-1/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | We are currently failing with module 'dns' has no attribute 'resolver'. Closes-Bug: #2006537 Change-Id: I31a1b1892a7112018b1261f956f51ed4eaa7cfb9
* | | Imported Translations from ZanataOpenStack Proposal Bot2023-02-041-4/+4
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I82a3d8e15869847ce097b6ada4f580758c1390f7
* | Merge "Fix missing default for hard_delete and bump rpc version"Zuul2023-02-012-4/+5
|\ \
| * | Fix missing default for hard_delete and bump rpc versionErik Olof Gunnar Andersson2023-02-012-4/+5
| | | | | | | | | | | | Change-Id: Ic80228697374c67a0c16fd3574fc0cd0f52dc680
* | | Add oslo.policy.enforcer entry pointPavlo Shchelokovskyy2023-01-312-0/+11
|/ / | | | | | | | | | | | | | | | | 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
* | Imported Translations from ZanataOpenStack Proposal Bot2023-01-271-6/+24
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I167c204b6a0f537ceb5b3b28e32dfbc7c617cff2
* Merge "Use new get_rpc_client API from oslo.messaging"Zuul2023-01-222-2/+2
|\
| * Use new get_rpc_client API from oslo.messagingTobias Urdin2023-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new API that is consistent with the existing API instead of instantiating the client class directly. This was introduced in release 14.1.0 here [1] and added into oslo.messaging here [2] [1] https://review.opendev.org/c/openstack/requirements/+/869340 [2] https://review.opendev.org/c/openstack/oslo.messaging/+/862419 Change-Id: Ibc2147fb08beae7a2190b9860e3342150c43dfab
* | Merge "Bump minimum dnspython to 2.2.1 for python 3.10"Zuul2023-01-212-1/+6
|\ \ | |/ |/|
| * Bump minimum dnspython to 2.2.1 for python 3.10Michael Johnson2023-01-192-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Workaround issue with dnspython >= 2.3.0Michael Johnson2023-01-175-1/+73
|/ | | | | | | | | | | | | 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
* Fix missing space IllegalChildZoneJayce Houtman2023-01-041-1/+1
| | | | Change-Id: I347748b1a31d757eff0376a87db75ab4e23512f3
* Merge "Make sure proxy_http is always loaded for devstack"Zuul2023-01-031-0/+2
|\
| * Make sure proxy_http is always loaded for devstackNobuto Murata2023-01-031-0/+2
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "Remove unused get_migration_manager function"Zuul2023-01-031-10/+0
|\ \ | |/ |/|
| * Remove unused get_migration_manager functionMichael Johnson2022-12-021-10/+0
| | | | | | | | | | | | | | 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
* | Fix tox4 errorliyou012022-12-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Imported Translations from ZanataOpenStack Proposal Bot2022-12-111-12/+27
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8e40a36761cd2ad3641ee184e83d069190602caa
* Merge "Fix configuration leak in unit tests"Zuul2022-11-231-3/+9
|\
| * Fix configuration leak in unit testsMichael Johnson2022-11-231-3/+9
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add option to force delete zone-files in delete API."Zuul2022-11-2327-33/+190
|\ \ | |/ |/|
| * Add option to force delete zone-files in delete API.Manish Honap2022-10-2027-33/+190
| | | | | | | | | | | | | | | | | | | | | | 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
* | Cleaned up and optimized sqlalchemy baseErik Olof Gunnar Andersson2022-11-194-116/+140
| | | | | | | | | | | | | | | | - Cleaned up sql syntax. - Fixed minor inconsistencies. - Improved test coverage. Change-Id: I5986dc9fdd1607119a71872637f836d211186c1e
* | Merge "Add basic api version test coverage"Zuul2022-11-191-0/+78
|\ \
| * | Add basic api version test coverageErik Olof Gunnar Andersson2022-10-271-0/+78
| | | | | | | | | | | | Change-Id: Idb04e81ce5954ca8b5e387dc7c0776fdf7d08779
* | | Merge "Improved Zone Lock coverage"Zuul2022-11-193-3/+111
|\ \ \