summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove unused test code for coordination"HEADmasterZuul2023-05-111-24/+0
|\
| * Remove unused test code for coordinationErik Olof Gunnar Andersson2023-05-061-24/+0
| | | | | | | | Change-Id: I382250784be7dd9c20245cb90b4a19a9e7e313a5
* | Merge "Clean up test imports"Zuul2023-05-1115-95/+31
|\ \
| * | Clean up test importsErik Olof Gunnar Andersson2023-05-0715-95/+31
| |/ | | | | | | Change-Id: I665f9d3a5bb8ceeace0bdedac2b64c9dc6205668
* | Merge "Fix shared zones missing project ID error"Zuul2023-05-101-0/+2
|\ \
| * | Fix shared zones missing project ID errorMichael Johnson2023-04-171-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
* | | Merge "Use monotonic time to protect from system time jumps"Zuul2023-05-094-10/+10
|\ \ \
| * | | Use monotonic time to protect from system time jumpsErik Olof Gunnar Andersson2023-05-074-10/+10
| | |/ | |/| | | | | | | Change-Id: I44a51bef79109600a3f93844ac51a1f5738508b9
* | | Imported Translations from ZanataOpenStack Proposal Bot2023-05-092-23/+97
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If6fe98647dd5564b29bae025ea3880e0d66bba1d
* | Fix invalid fallback value for BaseAddressHandlerErik Olof Gunnar Andersson2023-04-302-5/+89
|/ | | | | | | Domain no longer exists and this patch replaces domain with the correct value zone. Change-Id: I4cd88d30882d8966acc811ccb100aa1a1df89a3e
* Merge "Use ids when removing sink managed records"Zuul2023-04-143-10/+109
|\
| * Use ids when removing sink managed recordsErik Olof Gunnar Andersson2023-04-133-10/+109
| | | | | | | | | | | | | | | | If the record status changes during the removal process, the current implementation will fail. Closes-Bug: 2015762 Change-Id: Iebe609e5f365d03e99f2a4580671175b4642763c
* | Merge "Use ids when removing ptr records"Zuul2023-04-131-9/+17
|\ \
| * | Use ids when removing ptr recordsErik Olof Gunnar Andersson2023-04-091-9/+17
| |/ | | | | | | | | | | | | If the record status changes during the removal process, the current implementation will fail. Change-Id: I02b5d7499440154160c89ed63a2f70652fe72145
* | Secondary zone loops AXFR transfer during zone creationMitya_Eremeev2023-04-073-2/+40
|/ | | | | | | | | | When we create a secondary zone, AXFR transfer loops indefinitely. Normally, only one xfr should be performed. Due to AXFR loop the zone changes status from active to pending all the time. Co-Authored-By: ZhouHeng <zhouhenglc@inspur.com> Closes-Bug: 1856442 Change-Id: I0e0d138049e6d4c31dea3cc6768cc15e59a5942c
* Merge "Move to a batch model for incrementing serial"Zuul2023-04-0621-189/+517
|\
| * Move to a batch model for incrementing serialErik Olof Gunnar Andersson2023-04-0421-189/+517
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix sharing a zone with the zone owner"Zuul2023-04-043-0/+19
|\ \ | |/ |/|
| * Fix sharing a zone with the zone ownerMichael Johnson2023-03-313-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
* | Merge "Update designate for RBAC "direction change""Zuul2023-04-0331-359/+551
|\ \
| * | Update designate for RBAC "direction change"Michael Johnson2023-03-3131-359/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RBAC goal has changed[1] and system scope is no longer going to be used. This patch updates Designate to align to this change in direction by removing the system scope from the policies. It also updates the functional tests to be ready for the switch to using the new keystone roles by default. [1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#direction-change Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/879111 Change-Id: I1937e215dbd072b0a095df659c75f17a3f48c937
* | | Merge "Use SDK instead of neutronclient"Zuul2023-03-315-86/+139
|\ \ \ | |_|/ |/| |
| * | Use SDK instead of neutronclientelajkat2023-03-255-86/+139
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Removed unnecessary import in sql code"Zuul2023-03-281-2/+1
|\ \ | |/ |/|
| * Removed unnecessary import in sql codeErik Olof Gunnar Andersson2023-03-261-2/+1
| | | | | | | | Change-Id: I62fe1cd22e17a67f3d3f95578def14880933c67b
* | Restart neutron on grenade client updateMichael Johnson2023-03-241-0/+6
|/ | | | | | | | | | During a grenade upgrade the Designate grenade plugin updates the python-designateclient. This can cause the installation location to change to under the /opt/stack/new path. This patch makes sure we restart neutron q-svc after this update to make sure it can still find the client. Change-Id: I5ce96268cb39ae4a4a8d82a75ac192b2310455a1
* Merge "Update for sqlalchemy v2.x compatibility"Zuul2023-03-2016-345/+403
|\
| * Update for sqlalchemy v2.x compatibilityErik Olof Gunnar Andersson2023-03-1116-345/+403
| | | | | | | | | | | | | | 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
* | [coordination] backend_url should be secretTakashi Kajinami2023-03-201-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
* Removed unsupported test B309 from banditErik Olof Gunnar Andersson2023-03-101-1/+1
| | | | | | | B309 was removed with this patch and breaks the CI. https://github.com/PyCQA/bandit/commit/130a467434ff6b8f9bbd83100e409bc1fcb6f407 Change-Id: I15864a76c8913f151154e2398ae86aea71883498
* Imported Translations from ZanataOpenStack Proposal Bot2023-03-072-9/+18
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Id3eecf26bc0147d8b190634ad5e83310b915418b
* Update master for stable/2023.1OpenStack Release Bot2023-03-062-0/+7
| | | | | | | | | | | | 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
* 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