summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removed unsupported test B309 from banditstable/ussuriErik Olof Gunnar Andersson2023-04-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 Ussuri grenade job to use zuulv3Michael Johnson2023-04-203-95/+34
| | | | Change-Id: I3fe5895eeee727f53d1c9202d4d0930963435aaa
* CI: Move queue configuration into project-templateDr. Jens Harbott2022-10-231-3/+1
| | | | | | | | | | | | | | | | With this it can be reused by the other designate repos and we can reduce the replication everywhere. Conflicts: .zuul.yaml Change-Id: I1fe73145e4a4699939244bc857600efa264f2340 (cherry picked from commit c907cfa1e68249c21e8cad9f58ff3dc3d9cea6df) (cherry picked from commit 96d788c6733b3e3f78fab96ebc5e0aae2203842a) (cherry picked from commit 5f921b78896e68e473ab0c139d534f02a4105840) (cherry picked from commit 019b1ae9cb54f06f7b754024687e9f0fdfad9534) (cherry picked from commit 12453a34b385646bfc0dd16cac7203c4c587798a) (cherry picked from commit 59ef8361466817c9485a311080c8c2f88667bbc5)
* Fix zone update when adding new Bind9 target to pool.Dmitry Galkin2022-06-243-1/+43
| | | | | | | | | | | | | | | When a new Bind9 is added to the pool, Designate will trigger 'modzone' rndc command that will fail, unless zone is already present on the backend. This change will first verify that the zone is present on the backend, before an update attempt. If zone is not present - zone creation will be triggered. Closes-Bug: 1958409 Co-authored-by: Kiran Pawar <kinpaa@gmail.com> Change-Id: I782bf38a68f24a2e7133ff2afad7c96e2ae6b7f0 (cherry picked from commit 66cc876eadd9a4ded3afa35aed675c15c60f149d)
* Merge "Checks for invalid denylist regex patterns" into stable/ussuriZuul2022-06-014-2/+85
|\
| * Checks for invalid denylist regex patternsdekehn2022-02-034-2/+85
| | | | | | | | | | | | | | | | | | Adds new field check method DenyListFields to validate the pattern string. in addition, check for a zero length string as well. Closes-Bug: #1934252 Change-Id: I2b69025fc11125bb73a4e0f8c0dedad951399cbf
* | Pin designate-tempest-plugin for stable/ussuri jobsGhanshyam Mann2022-05-281-2/+4
|/ | | | | | | | | | | | | | | | | As stable/victoria are in EM phase, and QA team pinning tempest 26.1.0 for stable/ussuri - https://review.opendev.org/c/openstack/devstack/+/838051 To have compatible designate-tempest-plugin version with Tempest 26.1.0, we need to pin designate-tempest-plugin 0.8.0 version. master designate-tempest-plugin is not comaptbile with Tempest 26.1.0 - https://zuul.opendev.org/t/openstack/build/2929fb6cdbe149adb9c29e7fffcfaedc Depends-On: https://review.opendev.org/c/openstack/devstack/+/838051 Depends-On: https://review.opendev.org/c/openstack/devstack-gate/+/843689 Change-Id: I9c2616153c4a7431c04e8d19780429477d828ddc
* Fix pool update with duplicate mastersussuri-em10.0.2Mark Goddard2021-11-232-5/+45
| | | | | | | | | | | | If any zones exist that belong to a pool that has any duplicate masters among all targets, currently updating the pool will fail. This change fixes the issue by ensuring the pool target master list does not contain duplicates. Change-Id: I72bae79b4f8e0bab739875d6f783abdb4868950b Closes-Bug: #1897936 (cherry picked from commit 4e86bc2a58f00371a2f22217cb8a79e5ac33677c)
* Support filtering on zone import/export listMichael Chapman2021-11-192-7/+15
| | | | | | | | | | | | | List operations should add the task_type criterion to the user provided criterion. This patch also fixes the neutron-tempest-plugin-designate-scenario job to use the ussuri version neutron-tempest-plugin-designate-scenario-ussuri. This is required for this patch to merge. Change-Id: I983d930f975c109cce24a9587bba6db563b3f19f Launchpad: 1926058 (cherry picked from commit fb9f0b33d338037365f5c9dae20f4f795b119d13)
* Update zones masters using pool target masters.10.0.1Jorge Niedbalski2021-02-265-0/+147
| | | | | | | | | | | | | | | | | | | | This change enforces the update of the zone masters for all zones that belongs to a particular pool, using the pool's defined target(s) masters and forcing a update_zone call. This change also, moves the backend base class update_zone method as an abstract method, allowing to each backend implementation to create its own update logic. For the case of bind9 its extended to allow running a rndc modzone with the new given masters for the zone fixing the behavior exposed on LP: #1879798. Fixes-Bug: #1879798 Change-Id: I9dddd4130a0cbb29311eeb52e077e216c8c03f3a Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com> (cherry picked from commit 3756fc51e71aaf0ba7cfb9155ca5d1de26ab78bc)
* Fix pdns4 devstack pluginJens Harbott2021-02-161-21/+1
| | | | | | | | | | | | | 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 (cherry picked from commit 6f17fe10bb37d71944e16a422606ccf0f78c6771)
* Drop lower-constraints testNicolas Bock2021-02-153-181/+0
| | | | | | | | This change drops the lower-constraints test. Change-Id: I2b32cec8d6570e990d19046dbbbd764cb4c4e5cc Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com> (cherry picked from commit d08dd621c988fe13b9844c5c44e143907aa74d0c)
* Merge "fix database sync always get the wrong value" into stable/ussuriZuul2020-11-191-1/+3
|\
| * fix database sync always get the wrong valuewu.chunyang2020-09-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | we create a default pool when exec database sync, and get the default_pool_id from designate.conf, but we did not register this opt before using it, so we always get the default value which is wrong Change-Id: I500c932a502db24332aad95c54713b7056bc1df4 Closes-Bug: 1881277 Related-Bug: https://bugs.launchpad.net/kolla-ansible/+bug/1855877 (cherry picked from commit 609437e73deff55e9f5548538f093d01f0addd1b)
* | pdns4 backend: check if zone exists before attempting deleteAndrew Bogott2020-10-152-7/+40
| | | | | | | | | | | | | | | | | | | | This should prevent us from obsessing over zones that are in the designate DB but not in the pdns backend due to races/incomplete transactions/etc. Bug: 1880230 Change-Id: I00ae6227edf21007c39a7d55221898ae5c10dda2 (cherry picked from commit 5acba9443e2fc1f6e78f9a32cd85eb168d2a7cb2)
* | Fix lower-constraints test not constraining properlyErik Olof Gunnar Andersson2020-10-151-0/+4
|/ | | | | | | | | | When running the lower-constraints test we are currently using pip install -e . to install the source. This caused python libraries to unintentionally getting upgraded beyond the intended constraints. Change-Id: Ie05efab2f52fe3e1641c9863f6f85c813158e748 (cherry picked from commit 568b559b67b0d9a663172d681fe887bf06feea0a)
* Merge "Update TOX_CONSTRAINTS_FILE for stable/ussuri" into stable/ussuriZuul2020-05-081-4/+4
|\
| * Update TOX_CONSTRAINTS_FILE for stable/ussuriOpenStack Release Bot2020-04-231-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/ussuri branch, tests will continue to use the upper-constraints list on master. Change-Id: I48094fc85c679aee5dd4179aacc53f16091b3ad7
* | Fix designate-sink shutdown issue10.0.0.0rc210.0.0Erik Olof Gunnar Andersson2020-05-061-7/+11
|/ | | | | | | | | | | | If no notification handler is configured the designate-sink may not shutdown properly. This is because the listener was created but never started. This caused oslo.messaging to hang on waiting for a successful start before stopping. Closes-Bug: #1877201 Change-Id: Ie51f7c3d64cbb48ae359256b6fa5a0196fb3f248 (cherry picked from commit 40cbc9bd43d3b43d6cdc4daeb5a089df96603ed7)
* Update .gitreview for stable/ussuriOpenStack Release Bot2020-04-231-0/+1
| | | | Change-Id: I4e76127eb0bcdff6ea7acfdc55c49e38f916b53b
* Imported Translations from Zanata10.0.0.0rc1OpenStack Proposal Bot2020-04-191-4/+4
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I6cf36dbe8cd2c2e5c36deec011e38f32e7f3c55d
* Imported Translations from ZanataOpenStack Proposal Bot2020-04-161-4/+4
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I099aada4f6842cffecb278187255b22917cc2aea
* Merge "Community Goal: Project PTL & Contrib Docs Update"Zuul2020-04-152-10/+42
|\
| * Community Goal: Project PTL & Contrib Docs UpdateNicolas Bock2020-04-142-10/+42
| | | | | | | | | | | | | | | | | | | | This patch standardizes the CONTRIBUTING.rst file and adds information from the required doc/source/contributor/contributing.rst. Change-Id: I4a47ef22c70c6f6b225ea779227627d7f3078f4e Story: #2007236 Task: #38520 Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
* | Imported Translations from ZanataOpenStack Proposal Bot2020-04-111-4/+4
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I3d135b12c89bfbdde530d05dfcff23f8e1a8b49f
* Merge "Imported Translations from Zanata"Zuul2020-04-081-4/+28
|\
| * Imported Translations from ZanataOpenStack Proposal Bot2020-04-081-4/+28
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I1dd50848a1f02fc858f262d27ad429a612613f6c
* | Merge "Adding distributed locking to central"Zuul2020-04-084-5/+35
|\ \ | |/ |/|
| * Adding distributed locking to centralErik Olof Gunnar Andersson2020-04-084-5/+35
| | | | | | | | | | | | | | | | | | | | | | The current locking implementation is limited to the running process. This introduces distributed locking that will help prevent race conditions when there are many instances of designate-central running. Closes-Bug: #1871332 Change-Id: I98f7f80ce365cdee33528f9964c03274f62a795a
* | Stop setting version specific basepython binariesDr. Jens Harbott2020-04-064-21/+11
|/ | | | | | | Tox should be smart enough to figure out the correct python version on its own, avoid having to follow-up for every new python release. Change-Id: If515467fd4c9e678d54d4e8551b52611fec786ff
* Cleanup py27 supportAndreas Jaeger2020-04-053-17/+4
| | | | | | | | | | | | | | Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete sections from setup.cfg: * Wheel is not needed for python 3 only repo * Some other sections are obsolete - Update classifiers - Update requirements, no need for python_version anymore Change-Id: Ia739f33b3db2c15a8c2eb6143134587f31591cfd
* Update hacking for Python3Andreas Jaeger2020-04-0132-111/+124
| | | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Update local hacking checks for new flake8. # to unbreak gate: Depends-on: https://review.opendev.org/715835 Change-Id: Icc2f4368cc90689d74510ce36fe77d2346aec625
* Clean up api middlewaresErik Olof Gunnar Andersson2020-03-161-35/+29
| | | | Change-Id: I40755c3ccf6e0e8b354a3646715f04d57801f929
* Merge "Fix issue with neutron_api tests"Zuul2020-03-154-53/+142
|\
| * Fix issue with neutron_api testsErik Olof Gunnar Andersson2020-03-114-53/+142
| | | | | | | | | | | | | | | | | | | | | | There is a potential race condition when running the unit tests with how eventlet is loaded. This patch changes the neutron api implementation to use GreenThreadPoolExecutor to make sure that it does not fail depending on when eventlet applies it's monkey patching. Change-Id: I051d3ad8cd5af9b52d90dc28ebe99a3f0c8a17f2
* | Merge "Re-factored Heartbeat implementation"Zuul2020-03-1515-246/+176
|\ \
| * | Re-factored Heartbeat implementationErik Olof Gunnar Andersson2020-03-0915-246/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of this code path is very limited at the moment, and this patch further simplifies the code to make it easier to either deprecate or extend it in the future. * Renamed service_status.py -> heartbeat_emitter.py. * Merged HeartbeatEmitter and Heartbeat. Change-Id: I68a4a49dd3e6bbc123c3ed5d3d3661aa08ad0bbb
* | | Merge "Make the postgres job experimental"Zuul2020-03-121-1/+3
|\ \ \ | |_|/ |/| |
| * | Make the postgres job experimentalDr. Jens Harbott2020-02-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work on fixing the postgres job has stalled for more than half a year now, so stop running this known-broken job on every patch. This can be reverted once the job is fixed. [0] https://review.opendev.org/668493 Change-Id: I6e958d0a61e0b8327be719d312f1b990ff9fe2e8
* | | Imported Translations from ZanataOpenStack Proposal Bot2020-03-091-9/+3
| |/ |/| | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I962bc0df768e88c262c837c0e93dd34f01af587c
* | Cleanup docs buildingAndreas Jaeger2020-02-235-37/+7
| | | | | | | | | | | | | | * Switch to newer openstackdocstheme version and remove settings that are default now Change-Id: Iec8791077aa7f1cb8edfa64235fb718a98aaba90
* | Merge "Update the Akamai DNS Driver matrix information"Zuul2020-02-144-1/+94
|\ \
| * | Update the Akamai DNS Driver matrix informationGraham Hayes2020-02-134-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Mark Akamai v2 as untested * Mark Akamai eDNS as known broken due to the API being removed * Add basic docs for Akamai v2 Change-Id: I4f6c6c1c96251bfc4f7ad3bb6b0bd2025397fa03 Signed-off-by: Graham Hayes <gr@ham.ie>
* | | Merge "Updated reno for dropping Python 2 support"Zuul2020-02-131-1/+2
|\ \ \
| * | | Updated reno for dropping Python 2 supportErik Olof Gunnar Andersson2019-12-241-1/+2
| | | | | | | | | | | | | | | | Change-Id: I1a9d8dd2aecfe095550041a21bc4efe46adb295f
* | | | Merge "Implement create/delete zone for Akamai v2 API"Zuul2020-02-127-0/+897
|\ \ \ \ | | |/ / | |/| |
| * | | Implement create/delete zone for Akamai v2 APISergey Kraynev2020-01-167-0/+897
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Use Tempest 'all' tox envGhanshyam2020-02-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tempest recently moved tox default to py3 including all-plugin env. -https://review.opendev.org/#/c/703011/ This will fail the py2 jobs which are using all-plugin tox env. Because tox all-plugin env var enable the sitepackages=True. Py2 jobs install the tempest plugins on py2 and all-plugin tox try to find the installed plugins on py3 which cause no test to run and fail the job. tox all-plugin has been deprecated since long and not supposed to use for plugins who already in migrated to separate repo in queens cycle. Using tox 'all' env to fix the issue. Change-Id: Ib1a2be90c0b3dbacc6daf52f0fc6f326ab47fc98 Closes-Bug: 1862240
* | | Remove unused legacy playbooksGhanshyam Mann2020-02-094-178/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Legacy jobs except grenade job has been migrated to zuulv3 in - https://review.opendev.org/#/c/644586 But legacy playbooks has been left to remove. Those are unused now and can be removed from master and train branch. Change-Id: I1f432c8c99d6a7e695d00baddb9aab795d8685bb
* | | Merge "Fixing services getting stuck on shutdown"Zuul2020-01-3012-56/+63
|\ \ \